S12ZVCA input capture example code

cancel
Showing results for 
Search instead for 
Did you mean: 

S12ZVCA input capture example code

119 Views
Contributor II

Hello,


I bought the DEVKIT-S12ZVC for development.
I am trying to create an input capture function using S12ZVCA TIM0.
Please provide example code related to input capture of S12ZVCA.

That is all.
thanks.

0 Kudos
1 Reply

98 Views
NXP TechSupport
NXP TechSupport

Hello, 

You can refer to the below links and attachment:

S12ZVC Getting Started Exercises where TIM example can be found:

https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SW-examples-for-MagniV-S12ZVC-and-S12ZVL-de...

S12Z Frequency Measurement at PT0 (IOC0_0) by TIM module in input capture mode:

https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVL-TIM-FrequencyMeasurement-V1-0-CW106-...

In the attachment, see the example which uses the Input-capture function of the Timer module for duty-cycle measurement.

 

Other MagniV examples and application notes are available here:

https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Documents-and-Examples-for-S12-X-and-S12-Ma...

https://community.nxp.com/t5/S12-MagniV-Microcontrollers/List-of-MagniV-S12-X-Application-notes/ta-p...

 

I hope ti helps.

Best regards,

Diana