S32K312 use ADC to measure external input PWM

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

S32K312 use ADC to measure external input PWM

578 Views
FRIDAY618
Contributor II

Hi NXP community:

I can't find the PDB module when using the s32k312?

What should I do if I want to measure the amplitude of an external input PWM with a 5us delay after the rising edge of the PWM or at the high center point of the PWM?

Tags (3)
0 Kudos
Reply
1 Reply

508 Views
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

I must admit that your request is a bit strange, since normally the amplitude of an external PWM signal is known and at the same time it tends to be fixed.

However, you can implement a GPIO interrupt to start the eMIOS, acting as time base and perform an Analogue data capturing like in AN13767 (4.2.4 section).

Hope it helps you.

Have a nice day!

0 Kudos
Reply