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

PSoC™ 5, 3 & 1 Forum Discussions

or10000
Level 1
First question asked Welcome!
Level 1

I need to transmit data from usb-to-spi-elite  (rom) as a master to psoc5 cy8c5888lt-lp097 as a slave in spi protocol.

where can i find the address slave?

for exemple : i want to blink the blue led p2.1  

what the data that i need to transmit?

thanks .

0 Likes
1 Solution
Len_CONSULTRON
Level 9
1000 replies posted 750 replies posted 500 likes received
Level 9

or10000,

Normally SPI doesn't use slave addresses.  If you have multiple slaves on the same SPI CLK and Data lines you use different CSs (Chip Selects).

If you want to control the Blue LED on the CY8CKIT-059 board, it is easy.  You control it directly.  There are example programs to do just that.

If you start a new project, you can pick the "CE195352_PSoC_5LP_Blinking_LED" example project.

Len_CONSULTRON_0-1657720383615.png

 

Len
"Engineering is an Art. The Art of Compromise."

View solution in original post

0 Likes
1 Reply
Len_CONSULTRON
Level 9
1000 replies posted 750 replies posted 500 likes received
Level 9

or10000,

Normally SPI doesn't use slave addresses.  If you have multiple slaves on the same SPI CLK and Data lines you use different CSs (Chip Selects).

If you want to control the Blue LED on the CY8CKIT-059 board, it is easy.  You control it directly.  There are example programs to do just that.

If you start a new project, you can pick the "CE195352_PSoC_5LP_Blinking_LED" example project.

Len_CONSULTRON_0-1657720383615.png

 

Len
"Engineering is an Art. The Art of Compromise."
0 Likes