SPI Communication sample source

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hello..

Now.. I'm beginner for XC2364B microprocessor.

I don't know how to use a SPI communication for MASTER.
Please give me the sample source such as initialize, transmit, receive, register setting for C code

This is pin number..
P2.2 SPI CS
P2.3 SPI_MOSI
P2.4 SPI_MISO
P2.5 SPI_SCK

Firstly, I used DAVE but I can't understand source.
Please send me simply source.
Thank you so much.
0 Likes
0 Replies