Hello everybody!
I want to trigger an ADC measurement with a timer event (OnCounterRestart) and actually it should be straight forward, but I do not get it working.
I'm working with Kinetis Design Studio, because my MCU isn't supported by the newer IDEA from NXP. Attached you can find a processor expert project with the minimal amount of components which should do the job. The code is based on the "Typical Usage" examples in the help window of the ADC-component. I set the Trigger input to Flex_timer_0 and created a new TimerUnit_LDD component which should initiate the ADC-measurement. Do i need to setup the timer in a specific way too?
I'm grateful for any help! Thank you in advance.
Solved! Go to Solution.
Hello,
Unfortunately, the KDS IDE does not have support, I recommend using the MCUXpresso and you can download de SDK from TWRK21D50 to see the example and export it to your device.
Best regards,
Pavel
Hello,
Unfortunately, the KDS IDE does not have support, I recommend using the MCUXpresso and you can download de SDK from TWRK21D50 to see the example and export it to your device.
Best regards,
Pavel