eTPU code samples

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

eTPU code samples

1,516件の閲覧回数
snehakalkhair
Contributor III


Hi,

Please help me with a few eTPU code samples.

eTPU to raise an interrupt.

eTPU , eMIOS interaction.eg. generate PWM with eTPU and measure the generated PWM using eMIOS.

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 返信

1,270件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

To eTPU part:

First I would recommend to read general response I have recently answered on our community:

https://community.freescale.com/thread/371589

Here you can example procedure how to use eTPU PWM function, step by step:

http://cache.freescale.com/files/soft_dev_tools/doc/app_note/AN4687.pdf

To eMIOS part:

eMIOS functionality should be understandable from reference manual.

I am attaching example showing you half of the task that is IPWM function (for duty cycle measurement) - note this is not my code, no warranty.

For period measurement you would then use IPM function.

Also I would recommend taking a look on EB651, chapters 2.1 and 2.2:

http://cache.freescale.com/files/32bit/doc/app_note/EB651.pdf

0 件の賞賛
返信