Migating from dsPIC33EP to PIC32MX with Framed SPI and DMA (Vuko)
Hi, I don't know what happened witch my previous thread so I'm writing it again.I'm reading data from ADS1601 in SPI Framed Mode using DMA (2 ping-pong buffers) and then I'm writing data to SD...
View ArticlePIC32MX575F256L can't program - boot config memory?? address: ffffffff...
Hi, I'm trying to program some new boards with a PIC32MX575F256L via an ICD 3 It reads out a Device ID but is failing to program We're using PGC1 and PGD1 config bits are:// DEVCFG3// USERID = No...
View ArticlePIC32 doesn't run without ICD3 (matthack)
I've been working on my project with a PIC32MX450, debugging with the ICD3. I thought, "I'd better check that everything still works without the debugger." And I found that it doesn't. I've got the...
View Articlemips_fft32 code can saturate and give misleading results (JohnyGing)
Hi All As per the title, I have been using the mips_fft32 routine to create FIR filters by defining the frequency response and reconfiguring the input data to get the ifft. If I define my pass-band as...
View Article[Bootloader] Save old program before erase and load a new program (clement_44)
Hello, I use the bootloader given with the AN1388 and it work fine, my app is flashed, a new one is load and verification is successfull. However, because this method erase the program before to load a...
View ArticleHow fast is highest priority DMA transfer from ram to ram? (s.virojanadara)
Situation: 1. DMA bus priority set to highest. 2. Transfer is from RAM to RAM. 3. Ram is 0 Wait state. 4. No CRC module used. For interrupt trigger DMA. After interrupt source is triggered how much...
View ArticleI2C Receive PIC not generating stop condition? (KTrenholm)
Hi all, I've got a possible issue with my I2C receive routine and I can't seem to find the reason. I'm communicating with a MCP9800 based temperature sensor. I'm able to send configuration to it...
View ArticlePIC32MX795H: 24bit SPI (PhreakShow)
Hey guys, I want to drive a bunch of adafruit neopixel LEDs with a PIC32. I am using SPI3 with transfer interrupts. The SPI module is configured for 32bit width, but every LEDs needs 3x 8bit. This...
View ArticleProblem with External Interrupt + PIC 32 Ethernet Starter Kit (ingenia)
Hi! I use MPLAB X, with XC 32 in the PIC 32 Ethernet Starter Kit. My problem is that isn't working the External Interrupt 1. The curiosity is that the int0 is working perfect. The configuration is the...
View ArticleUART FIFO Buffer? (veryevil)
I was just wanting to check how I use the UART FIFO buffer. Do I just do something like: ..... while ((U2STAbits.UTXBF != 1)){ U2TXREG = *DataPtr++; } ..... Or do I have to write it to some other...
View ArticleHow can I make this SPI peripheral works with the PIC32 SPI ? (aminos)
Hello, I have a chip (a beamformer created by my workmate) which is interfaced with a PIC32 and communicates via SPI, the problem is the SPI of that chip is a simple "shift register", in a rising edge,...
View ArticleICSP PIC32 (Afelio)
Hi all, Looking at the schematic (in this case the chipKIT Uno 32), the ICSP, I have several questions: Zenner diodes D3, What is the role? Diodes D2 And, What is the role? Thank you very much. Best...
View ArticlePIC32MX430 SPI1BUF issue, writes cause RXBUFELM to increase? (sm2012)
Hello, I have made a board using a PIC32MX430F04H. I am trying to use SPI1 to communicate with some SPI SRAMS. I had no issue to do this with PIC32MX1xx/2xx in the past, but cannot seem to get it to...
View ArticlePIC32 PMP ------ [Chip Select] (sunchensunchen)
Hi all, The following code is from "Microchip\xc32\v1.21\examples\plib_examples". I found "PMP_CS2_CS1_EN" marco but I couldn't find where "chip select" was executed actually or I had difficulty in...
View ArticlePIC32MZ ADC with DMA (JoTNS)
I have the PIC32MZ2048ECH064, MPLAB X 2.05, XC32 1.31. I've got the 12bit pipe line ADC triggered on a Timer 5 match and use an interrupt on ADC channel 4 data ready to read the data and put it into a...
View ArticleUSB Bootloader and Code Protect (prinz3nroll3)
Hello,with pic18 i can set the code protect and use the usb bootloader to program the flash,but i cant read the memory with the programmer if i set the code protect bit in the pic32, i cant program the...
View ArticleADC capture problem (TomerFadlon)
Hi all,I have a problem using my ADC, I use pic32MX664F128H. There is no response when I collect the data in the buffer. The code I use is:...
View ArticlePIC32 ADC: can't set up timing (datasheet and peripheral lib definitions...
I use PIC32MX440F512H, I'm trying to set up ADC for fast auto-sampling (1000 ksps).I have examined DS61104 ( http://ww1.microchip.com/downloads/en/devicedoc/61104e.pdf ), and I see the difference in...
View ArticlePIC32MX795F512L - Critical Sections (cgiordan)
Probably a real simple question and sorry if this was already asked, but I was curious if all that would be needed to encapsulate some execution within a critical section boundary -...
View ArticleUsing UART1 with PIC32MX795F512L plugged on the Explorer 16 Dev Board (Pierre...
Hello, I am working with a PIC32MX795F512L plugged on the explorer 16 dev board, and I would like to use simultaneously the UART 1 and UART 2. I am using the PICTAIL connector on the side of the board...
View Article