MPC5746 emios function consultation

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

MPC5746 emios function consultation

ソリューションへジャンプ
1,462件の閲覧回数
Anony
Contributor II

I am using the emios module of mpc5746 to develop the PWM incoming signal acquisition function. How can I use a single channel to collect the frequency and duty cycle of PWM signal at the same time?Is there a corresponding example project for reference?

0 件の賞賛
返信
1 解決策
1,453件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if you want to use single channel then you will probably need to utilize SAIC mode to capture both edges and read consecutive 3 edges to be able to get period/duty. But a polarity could be issue, unless UCIN is read with saved value.
If 2 channels can be used then you can refer to below code 
https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5646C-eMIOS-frequency-measurement-CW2...

BR, Petr

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,454件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if you want to use single channel then you will probably need to utilize SAIC mode to capture both edges and read consecutive 3 edges to be able to get period/duty. But a polarity could be issue, unless UCIN is read with saved value.
If 2 channels can be used then you can refer to below code 
https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5646C-eMIOS-frequency-measurement-CW2...

BR, Petr

0 件の賞賛
返信