S12X Tutorials

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

S12X Tutorials

跳至解决方案
1,109 次查看
rayhall
Contributor V

Is there documentation or a book that covers the really simple things in relation to the Freescale S12X.

 

For example....

 

1. How to work with ports.

2. How to configure the clocks to get the required mHz.

3. How to setup RS232 Comms to the required baud rate.

4. How to setup a pin interrupt.

5. etc....

 

Has to be with C code examples. I have a book, but it is all in assembly.

 

I know there is processor expert, but I would rather write my own code.

 

With the AVR I used in the past, some of the more experienced uses wrote tutorials on the AVR Freaks forum. These were written for beginners in mind and were very helpful.

 

Ray.

标签 (1)
0 项奖励
1 解答
585 次查看
TICS_Fiona
NXP Employee
NXP Employee

You can download the sample code on the webpage for the product. Eg. the driver like PWM, LCD, SCI... for S12XE can be downloaded from: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=S12XE&fpsp=1&tab=Documentation_Tab And you can also get S12XE NVM Standard Software Driver from: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=S12XE&fpsp=1&tab=Design_Tools_Tab

在原帖中查看解决方案

0 项奖励
3 回复数
586 次查看
TICS_Fiona
NXP Employee
NXP Employee

You can download the sample code on the webpage for the product. Eg. the driver like PWM, LCD, SCI... for S12XE can be downloaded from: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=S12XE&fpsp=1&tab=Documentation_Tab And you can also get S12XE NVM Standard Software Driver from: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=S12XE&fpsp=1&tab=Design_Tools_Tab

0 项奖励
585 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

what chip do you work with? maybe we can help to find some c sample for you.

0 项奖励
585 次查看
rayhall
Contributor V

I am using the MC9S12XET256MAG.

Ray.

0 项奖励