How can i capture PWM duty cycle?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How can i capture PWM duty cycle?

1,541件の閲覧回数
eautopower
Contributor IV

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?

pastedImage_1.png

0 件の賞賛
返信
3 返答(返信)

1,181件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

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.

pastedImage_1.png

There is also an application note for the FlexTimer: Features and Operation Modes of FlexTimer Module on S32K

with software.

Regards,

Daniel

0 件の賞賛
返信

1,181件の閲覧回数
1462993357
Contributor I

Hi,Daniel Martynek

This"AN5303SW.zip" is invalid, can you share it again.thank you

0 件の賞賛
返信

1,181件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi 1462993357@qq.com,

You can find all the S32K1xx application notes here:

32-bit Automotive General Purpose MCUs | NXP 

pastedImage_3.png

Regards,

Daniel

0 件の賞賛
返信