S12X Tutorials

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

S12X Tutorials

Jump to solution
1,085 Views
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.

Labels (1)
0 Kudos
1 Solution
561 Views
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

View solution in original post

0 Kudos
3 Replies
562 Views
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 Kudos
561 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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

0 Kudos
561 Views
rayhall
Contributor V

I am using the MC9S12XET256MAG.

Ray.

0 Kudos