How to use SPI in KL05Z

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

How to use SPI in KL05Z

899 Views
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.

Labels (1)
0 Kudos
Reply
3 Replies

735 Views
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 Kudos
Reply

735 Views
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 Kudos
Reply

735 Views
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 Kudos
Reply