AnsweredAssumed Answered

FRDM-KL25Z ADC OnMeasurementComplete() never gets called

Question asked by Stephen Langstaff on Mar 26, 2015

I'm trying to setup a single channel of an ADC on a FRDM-KL25Z board to use hardware triggering from a PIT (to get periodic samples delivered to an MQX-lite task, but I hope that is not relevant).

 

I can see my PIT interrupt going off (TU1_OnCounterRestart() is called), but my ADC's OnMeasurementComplete() event is never called.

 

I have also tried with software triggering instead of the PIT but that does not appear to work either, so I'm pretty sure it's an issue with the ADC.

 

Any ideas?

Original Attachment has been moved to: Test.zip

Outcomes