I'm using keaz128.
I want to use ftm0 to capture the rising and falling edges of pwm, then calculate the duty cycle.
Is there any sample code?About KEAZ128's FMT0 input capture in Rising edge and falling edge.
Hi zhiyong,
Customer should download the FRDM-KEA Quick start package (REV 8 ) from FRDM-KEAZ128: KEA Freedom Evaluation Board.
But the FRDM-KEA Quick start package (REV 8 ) download from that link was broken at the moment. Maybe you can get this package from your colleague. He once download it from: How to download SDK for S9KEAZ64AMLH
You can refer this example: FRDM_KEA128_FTM_DualEdge
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------