INPUT CAPTURE

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

INPUT CAPTURE

Jump to solution
822 Views
kaarthichandras
Contributor II

Hi,

Iam using S12zvml31 controller for sensorless commutation for bldc motor control. I configured TIM0 channel 0 and channel 3 as output compare mode for sensorless algorithm. Now I want to measure external pwm pulse through input capture, in which pin I have to connect that pwm signal. And how to use that TIM0?

Thanks and regards,

Kaarthi.

0 Kudos
1 Solution
557 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

You can refer to S12ZVL-TIM-FrequencyMeasurement-V1_0-CW106-TIC-EXAMPLE 

It can be modified for pulse width measurements.

Regards,

Daniel

View solution in original post

0 Kudos
1 Reply
558 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

You can refer to S12ZVL-TIM-FrequencyMeasurement-V1_0-CW106-TIC-EXAMPLE 

It can be modified for pulse width measurements.

Regards,

Daniel

0 Kudos