ADC Timer Trigger

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ADC Timer Trigger

Jump to solution
638 Views
SimonS
Contributor I

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.

0 Kudos
1 Solution
632 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

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

View solution in original post

1 Reply
633 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

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