Read Frequency and Dudy Cycle of an eTPU Channel

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Read Frequency and Dudy Cycle of an eTPU Channel

1,098 Views
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.

Labels (1)
0 Kudos
Reply
4 Replies

859 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply

859 Views
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 Kudos
Reply

859 Views
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 Kudos
Reply

859 Views
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 Kudos
Reply