EOC running even after stopping ADC

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 We were working on a simple project wherein the DMA was used to transfer the sampled value from ADC to SRAM. Interestingly even after the ADC_StopCovert() and ADC_Stop() functions were called we were able to receive the sampled data at the SRAM.

   

On multiple test we were able to figure out that ADC_StopConvert and ADC_Stop() doesnt look for EOC signal to be available but halts the ADC conversion the next time. Current sample will be available without any error

0 Likes
1 Reply
Anonymous
Not applicable

 This problem was found in SAR ADC of PSoC5. If you are using DMA to transfer and you get a DRQ even afetr stopping the DMA, this DRQ will trigger the DMA transaction the very next time when you start the DMA....

0 Likes