Other Parts Discussed in Thread: SYSCONFIG
Hello,
I am trying to trigger both ADC channels on the falling edge of a 3V3 500kHz digital signal with 51 pulses in each burst, but only a single sample is converted per burst.
The 500kHz signal is going into an input GPIO pin which publishes an event upon the falling edge to a channel subscribed to by the ADC channels.
Both ADC channels are configured to be in Single Repeat mode, Trigger mode set to "Valid trigger will step..." (TRIG=1), and have set DMA to copy the output result into an array upon "MEM0 result loaded" interrupt.
The DMA is configured in Repeat Single mode with DestAddress Increment.
When I make ADC1 publish an event upon "MEM0 result loaded" to a channel subscribed to by an output GPIO which toggles upon an event trigger I get the correct number of toggle events, suggesting the ADC is indeed sampling for each pulse, but I only get one converted value per burst of 50 pulses copied into the output array by DMA.
Am I misunderstanding how the event triggering works?
Any help would be appreciated!
Thanks,
Alex