SPI example

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

SPI example

跳至解决方案
3,723 次查看
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?

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
3,472 次查看
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

在原帖中查看解决方案

0 项奖励
回复
4 回复数
3,472 次查看
juliancox
Contributor V

Thanks for your help

0 项奖励
回复
3,472 次查看
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 项奖励
回复
3,472 次查看
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 项奖励
回复
3,473 次查看
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

0 项奖励
回复