S12XE Output Compare

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S12XE Output Compare

594 次查看
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.

标签 (1)
0 项奖励
1 回复

416 次查看
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 项奖励