AnsweredAssumed Answered

ADC in KL03 config sample code

Question asked by raff5184 on Dec 7, 2017
Latest reply on Feb 5, 2018 by Mark Butcher

Has anyone a guide/sample code of how to initialize/configure the ADC  receiving a voltage input from PTA12?


I'm having a hard time understanding:

1. How to configure the PTA12 in this case;

2. if, for the ADC, I need to initialize something else apart from ADC0_CFG1, ADC0_CFG2, ADC0_SC1A (?), ADC0_SC2

3. Where exactly in the code I am supposed to configure the ADC


Thank you