Read Frequency and Dudy Cycle of an eTPU Channel

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

Read Frequency and Dudy Cycle of an eTPU Channel

874 次查看
ronlewis
Contributor III

Looking for some guidance on reading frequency and pulse width on an ETPU Channel.  I am targeting the MPC5644a.  It does not appear the function sets allow both at the same time.

标签 (1)
0 项奖励
4 回复数

635 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Which function is this question related to? PPA? FPM? Other?

0 项奖励

635 次查看
ronlewis
Contributor III

I have looked at FPM and PPA.  It looks like the FPM handles the frequency and PPA will handle the pulse width/dudy cycle, but is there a method to do both?

0 项奖励

635 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

You can use two PPA instances and measure period and duty or FPM and PPA function and measure frequency and duty. Note that by duty I mean pulse width.

0 项奖励

635 次查看
ronlewis
Contributor III

It does not appear that you can add two functions to a single channel.  So how would I use a PPA and an FPM on a single channel/pin?  

0 项奖励