Hi Okamies:
How can i capture PWM duty cycle? Does SDK have the associated calling function? If yes, could you tell me which one?
Besides, I have another question:
How do I modify the bootloader and APP momery addresses?
Hi,
Regarding the SDK, there is FTM_DRV_GetInputCaptureMeasurement() function that returns a value calculated from Channel (n, n+1) Value Registers based on the timer configuration.
This function returns Rising Edge Period Measurement in the example in Design Studio (S32K144_FTM_Signal_Measurement). This can be changed to Period On Measurement.
There is also an application note for the FlexTimer: Features and Operation Modes of FlexTimer Module on S32K
with software.
Regards,
Daniel
Hi,Daniel Martynek
This"AN5303SW.zip" is invalid, can you share it again.thank you
You can find all the S32K1xx application notes here:
32-bit Automotive General Purpose MCUs | NXP
Regards,
Daniel