I'm using KV31F FTM1 ch1, FTM2 ch0, FTM3 ch1 as an input capture on both edges. The channels are generating interrupts, however the CnV value is only loading 0's. Is there a required command to start the CNT with input capture mode or a required way to read the Cnv?
Please see attached FTM1 ch1 Initialization code.
Hello Perry Jagger,
I strongly recommend you first check the input capture demo under MCUXpresso SDK.
Download from https://mcuxpresso.nxp.com/en/select ,
it support MCUXpresso IDE, IAR and KEIL.
There is a demo named "ftm_input_capture" under "driver_examles" folder:
Hope it helps,
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------