News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

Simultaneous sampling via DMA with PIC24HJ128GP202

Started by Wimax, Feb 17, 2023, 06:08 PM

Previous topic - Next topic

Wimax

Hello Everybody !  ;D

I have some experience in using the ADC of the PIC24FJ64GA202 to acquire, via interrupt, blocks of 2x8 samples @ high-speed from two inputs in alternating mode.   

Now, I would like to try migrating to the PIC24HJ128GP202, which offers higher clock frequencies and higher ADC performance with pin-to-pin compatibility. However, the converter has only the ADC1BUF0 and assumes the use of DMA to handle multiple sampling.
Does anyone have experience using the ADC of the PIC24FJ128GP202 with high-speed multiple sampling handled in DMA with Positron16 ?
Reading the compiler's manual there is provision for handling variables declared in the micro's DMA memory, so by setting the micro's registers appropriately it should be possible, but if anyone has experience to share I would really appreciate it.

 :)