SRM32G030C6T6 : Delay in ADC conversion (Scan mode with DMA)
Folks,
I have setup the ADC to operate in scan mode, there are two analog channels to be converted. The CPU is running at 64 MHz and the ADC is running at 32 MHz. I am using the void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef* hadc) to start processing the ADC data.
The ADC is triggered of the timer3 interrupt, which is on a 70 uS cadence. I do a little bit of work in the timer ISR for a few uS. The callback happens 30 uS after the timerIsr invocation ! I expected it to be much shorter in the order of a uS. What am I missing ?
The code is bare metal.
Appreciate any pointers.
Thanks.
-Bhaktha
