AnsweredAssumed Answered

Example of adc16 with hardware trigger

Question asked by David Pfaltzgraff on Aug 7, 2015
Latest reply on Aug 10, 2015 by David Pfaltzgraff

I would like like to use a hardware input to trigger an ADC conversion. As I understand the manual, this could be either through the PDB or directly with the ADHWT input, but I'm not able to make the full connection.

 

My design has a front end with a peak detector that gives a rising edge when the peak is found. I know I could use that edge as an interrupt to generate a software trigger and achieve the same result. But, if possible, I'd like the hardware to initiate that process and thus save the interrupt latency time.

 

Is there an example that would show me the way?

 

Thanks

Outcomes