S12XE Output Compare

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

S12XE Output Compare

778 Views
rayhall
Contributor V

Is there documentation on the Output Compare for the S12XE. The datasheet does not give you the information on settings and using the timers. Also there is no good example I can find.

 

Ray.

Labels (1)
0 Kudos
Reply
1 Reply

600 Views
iggi
NXP Employee
NXP Employee

Hi Ray,

I am not aware of any specific document describing Timer's Output Compare functionality except device reference manual.

The Output Compare functionality is provided in Functional Description of the module having that feature. Specifically in S12XE ref.manual v1.25, the chapter is 22.4.3 Output Compare.

At the link below you can find couple of SW example demonstrating functionality of ECT and PIT modules on S12XE:

S12X Examples Pack 

Further you can go and check lama's unofficial examples link provided in above document page.

If you would like SW example for TIM module, then you can re-use the code from the SW example made for S12G device. The TIM module is very much the same on S12XE and S12G.

https://community.nxp.com/docs/DOC-93792 

I hope the information helps.

Regards,

iggi

0 Kudos
Reply