SPI example

cancel
Showing results for 
Search instead for 
Did you mean: 

SPI example

Jump to solution
696 Views
juliancox
Contributor V

Does anyone know where I can download an example project for the S08 MCU using SPI. In my case I am trying to communicate with a TI ADS1120. BTW. Why is the Processor Expert component shown as a SynchroMaster while its property (Channel) is shown as SPI? Can this component be anything other than a SPI?

Labels (1)
Tags (2)
0 Kudos
1 Solution
445 Views
vicentegomez
NXP TechSupport
NXP TechSupport

For the QE the sample code I believe was created on code warrior 6.x 

For the P family was used code warrior 10.x so for these samples you should not have any problem to open it on CW 11

Regards

View solution in original post

0 Kudos
4 Replies
445 Views
juliancox
Contributor V

Thanks for your help

0 Kudos
445 Views
vicentegomez
NXP TechSupport
NXP TechSupport

Can you tell me the S08 that you are using?

You can check some code for the spi on the following link

https://www.nxp.com/docs/en/user-guide/HCS08QRUG.pdf 

https://www.nxp.com/docs/en/user-guide/QE128QRUGSW.zip 

Also for a news S08 like the S08P family, you can check the following link:

Please check the lab 6

https://www.nxp.com/docs/en/supporting-information/TWRS08PT60LAB.pdf 

https://www.nxp.com/docs/en/supporting-information/TWR-S08PT60-LABS.zip 

I hope this will help you

regards

0 Kudos
445 Views
juliancox
Contributor V

Thanks for the information, but I cannot import any of the projects into CW 11.0. Which IDE was used to create them? FYI - I am using an S08 QE8, but I also have  DEMOQE 128 board.

So far I have managed to confirm that I can send data (ProcessorExpert SendChar), but when I try to receive data (ProcessorExpert RecvChar) there is no serial clock and the operation returns a overflow error. Any ideas?

0 Kudos
446 Views
vicentegomez
NXP TechSupport
NXP TechSupport

For the QE the sample code I believe was created on code warrior 6.x 

For the P family was used code warrior 10.x so for these samples you should not have any problem to open it on CW 11

Regards

View solution in original post

0 Kudos