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.
To eTPU part:
First I would recommend to read general response I have recently answered on our community:
Here you can example procedure how to use eTPU PWM function, step by step:
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:
Retrieving data ...