How to use SPI in KL05Z

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

How to use SPI in KL05Z

1,429 次查看
northgod
Contributor I

I'm new to Freescale mcus. I want to control an LCD with the SPI connector. But I don't know how to begin. Can anyone give me a simple guide or a document on where I can find something about this? Thanks a lot.

标签 (1)
0 项奖励
回复
3 回复数

1,265 次查看
Paul_Tian
NXP Employee
NXP Employee

Hi, Xuanwu

Please reference attached basic function code of SPI.

Hope it can help you.

Best Regards

Paul

0 项奖励
回复

1,265 次查看
northgod
Contributor I

Thanks for you response. I have read the driver code of spi. What I am

confused about now is the spi0_ss_b pin. Will I connect it to the CS pin of

slave device of leave it unconnected?

2013/12/2 Zhe Tian <admin@community.freescale.com>

<https://community.freescale.com/> How to use SPI in KL05Z

reply from Zhe Tian<https://community.freescale.com/people/Paul.Tian?et=watches.email.thread>in *

Kinetis Microcontrollers* - View the full discussion<https://community.freescale.com/message/366063?et=watches.email.thread#366063>

0 项奖励
回复

1,265 次查看
Paul_Tian
NXP Employee
NXP Employee

Hi, Xuanwu

Pin SPI0_SS_b is slave selection pin, so you need to connect to slave chip selection pin(CS pin).

Hope my reply can help you.

Best Regards

Paul

0 项奖励
回复