S12ZVCA input capture example code

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

S12ZVCA input capture example code

Jump to solution
756 Views
s_kim1
Contributor III

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 Solution
733 Views
dianabatrlova
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

View solution in original post

1 Reply
734 Views
dianabatrlova
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