Regarding the measurement of the PWM output and duty cycle as well as frequency input of the FTM of

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Regarding the measurement of the PWM output and duty cycle as well as frequency input of the FTM of

261 次查看
abyssnone
Contributor II

Hello!

I control one FTM to output PWM, and another FTM to measure the output PWM. When the frequency exceeds 10 kHz, the deviation between the measured frequency and duty cycle value and the actual value will increase as the input frequency increases. Moreover, why the PWM I output cannot be less than 25 Hz? Below 25 Hz, there is no output.

Please help me answer this question. Thank you very much!

0 项奖励
回复
4 回复数

106 次查看
abyssnone
Contributor II
Sorry, I'm not able to provide the entire code. I can only offer the relevant parts mentioned above.
0 项奖励
回复

69 次查看
Celeste_Liu
NXP Employee
NXP Employee

Hello @abyssnone ,

Could you tell me which MCU you are using? Specifically, I’m referring to its part number. Additionally, are you using a custom board or our FRDM board?
Which demo based on which SDK version are you using for testing?

BRs

Celeste

0 项奖励
回复

50 次查看
abyssnone
Contributor II
References the input_capture, dual_edge_capture, and simple_PWM engineering files. The chip is MKE13z.
0 项奖励
回复

222 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Abyssnone,

Would you please confirm which MCU you are using and if it's an NXP board or a Custom board? If you would please also include IDE and SDK version it would help us.

Regards,
Gustavo

0 项奖励
回复