PEX component available for variable frequency generation on multiple FTM outputs?

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

PEX component available for variable frequency generation on multiple FTM outputs?

983 次查看
0815
Contributor II

I need to generate different waveforms with at runtime changeable periods on 10 different FTM channel outputs simultaneously. The period can be in the range from ~100µs to ~50ms.

While I'm nearly sure the FTM hardware could do this job in Output Compare Mode, I can't find any capable Processor Expert Component.

Could somebody point me to such component if available, please? Otherwise I would need to write the code manually...

My controller is a Kinetis KEA128.

Thanks in advance!

标记 (3)
0 项奖励
回复
2 回复数

837 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

For the kea128, if you want use 10 Output compare channel , you need add the  all of the three FTM modules ,

it can use the component of "TimerOut_LDD" as this :

pastedImage_0.png

Hope it helps



-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

Have a great day,
Alice Yang

0 项奖励
回复

837 次查看
0815
Contributor II

I already tried this component. But I was not able to change the signal frequency at runtime because I couldn't enable the SetPulseWidthUS() method:

pastedImage_0.png

Sorry, I didn't mention this before.

0 项奖励
回复