Jitter in ADC+DMA mode
Hi,
I've configured 3 ADC channels (IN2, IN3,IN4) in DMA mode (device=STM32L475RCTX running at 80MHz) as shown:
I want to set a sample time of 6400Hz (156.25ms) so here's the TIM4 configuration
In order to test the sample time I toggle an output pin in the irq callback:
Everything is okay except for the jitter on this output:
This jitter is about of 5us. Why? How can avoid this? I've tried to change the DMA priority interrupt without success.
thanks in advance,
gaston