S12X Tutorials

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,155件の閲覧回数
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 解決策
631件の閲覧回数
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 返答(返信)
632件の閲覧回数
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 件の賞賛
返信
631件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信
631件の閲覧回数
rayhall
Contributor V

I am using the MC9S12XET256MAG.

Ray.

0 件の賞賛
返信