Quantcast
Channel: General PIC32 Topics
Browsing all 8987 articles
Browse latest View live

USB msd_basic and cdc_com_port_single examples for PIC32MZ2048ECM144. (vezes6)

I trying use msd_basic and cdc_com_port_single examples with adaptation for my board. My board have PIC32MZ2048ECM144 (A5).But my MPLABX v3.26, with MHC v1_07_01 and XC32 1.40, have very, very slow...

View Article


USB HID with larger than 64 byte transfer--what to change in descriptor? (bsder)

I've currently got a working HID USB stack that we've been using for several years. However, we've finally outgrown the 64-bytes of a single transfer. So, I need something larger. Now, I am under the...

View Article


PIC32MZ + SST26VF in SPI and SQI mode (Johnny0099)

I'm going to use an SST26VF serial flash with PIC32MZ. I've already developed drivers for SST26VF in SPI mode for Harmony, and actually Harmony 1.7.0.1 doesn't support SST26VF is SQI. My idea is to...

View Article

Microchip going back on assurances of fixed I2C module in PIC32MZ...

Hi, I just noticed that microchip has done something really deceptive with the PIC32MZ errata documents. They've just recently (12 April 2016) released an updated PIC32MZ errata document that adds new...

View Article

PIC32MZ2048EFM100 ADC Configuration (Johnny0099)

Hi Everybody,does anyone have experience with PIC32MZ EF ADC in configuration with dedicated + multiplexed channels? I have several signals that need to read with ADC, here some details: Group 1 - 4x...

View Article


How to output PBCLK to external logic in PIC32MX795F512L chip (8 MHz crystal,...

Hello, I use the Ethernet Starter Kit with PIC32MX795F512L microcontroller. This microcontroller has an oscillator circuit connected to it. The main oscillator uses an 8 MHz crystal and functions as...

View Article

Watch Dog timer to control LED (RA)

I am learning the watch dog timer programming in PIC32MX795F12L. As written in document, after enabling the wdt, it will automatically clear and reset the MCU based on the postscaler value. WDT uses...

View Article

Making a .h file error (btb4198)

ok I keep getting these : multiple definition of `last_motor_current' error but I have this :/* ************************************************************************** *//** Descriptive File Name...

View Article


Using NVM Media, Probems with Writing or Reading.. (mrpackethead)

I am attempting to use a peice of NVM to store some configuration data, and are running into problems with this small example, which i am using to learn how this works. There is a little complexity in...

View Article


Using NVM (cmlopez48)

Hello.I am using PIC32MZ0512EFK064MPLABX 3.26Harmony 1.07.01 In MHC I selected NVM, File system, and other stuff.According with the information of harmony help, I can read bytes, but I only can write...

View Article

When to use IPL7, SRS and SOFT? (akael)

Hi, I'm trying to understand how a interruption is implemented in pic32, but i don't understand when to use them, according to the information the difference is on the latency, additionally why to use...

View Article

Few PMP bits resetting immediately after transfer completes (austingeorge)

Hi all, I am using the PMP module on a PIC32MX570F512L to drive an SSD1963 display driver IC. The PMP module is operating correctly with only one issue. When a transfer is initiated that sets the bits...

View Article

PIC32 and Input Capture ReadCapture gives too high values (akael)

Hi everyoneI use PIC32MX320 with the PBCLK equal 8MHz, I generate a PWM (OC1) signal 400Hz with 20% duty cycle (the signal is generated correctly) using the timer 2, and at te same time i use the Input...

View Article


PIC32 FMR CRC code sample: "don't poll in tight loop". Why? (carlopallini)

In the sample code while(true) { register int pollCnt; // don?t poll in a tight loop int dmaFlags=DCH0INT; if (dmaFlags & 0x3) { // CHERIF (DCHxINT<0>) or CHTAIF (DCHxINT<1> set...

View Article

PIC32MZ EC Starter Kit LEDs conflict with Ethernet (uaz)

Hi,I am currently working on this starter kit. I found out that LED 1 and 2 can't be use when Ethernet is active. I have searched this forum and found that apparently this issue is documented in the...

View Article


ADC not trigger DMA (static code). (vezes6)

Hi!I am using DMA_TRIGGER_ADC1_DATA10 to start DMA transfer data from ADC inputs.I am using static code for DMA.But DMA_TRIGGER_ADC1_DATA10 not trigger my DMA channel.Anybody have similar...

View Article

PIC32MZ halt @PC=0xBFC00000 (xpicolo)

Hi,My first try with MPLAB X v3.26, Harmony v1.07.01PIC32MZ2048ECH064FWDTEN = OFFFDMTEN = OFF code is very simple, not using any INT. int main(void){ long i; SYS_Initialize(NULL); TRISCbits.TRISC15=0;...

View Article


Fonts for displaying graphical characters on S1D13700 using PIC32MX795F512L...

Hello,I am using PIC32MX795F512L and trying to display graphic characters on S1D13700 graphical LCD.Compiler: MPLAB C32 C compiler.I would like to use different fontsets of varying sizes for the...

View Article

Recommendations for PIC and RTOS for sports timing product (sabia)

Hi I'm makig a PIC based product that is a sports timer, where I need to measure time in 1 ms resolution. The accuracy must be better than 5ms when measured over a 5 minute interval. I'm thinking of...

View Article

Programmaticly disabling USBID in PIC32MZ2048EFH144 (NKurzman)

I need to disable the USBID pin Programmaticly. I want to ignore a USB OTG Cable.Any Ideas on this? USBIDOVEN, USBIDVAL, PHYIDEN ?..

View Article
Browsing all 8987 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>