Bidirectional SPI - only slave communication works

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

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hi,

   

I am currently using the PSoC 5 development kit (CY8CKIT-050).

   

I am unable to communicate in both directions. I wrote a simple program where the master reads the slave data, subtract one and writes it so the slave and the slave reads the master data, add one and writes it so the master. So I got two loops. One loop should count up and the other should count down. When I display both values, both are the same and both loops are counting down.

   

Thanks

0 Likes
1 Solution
5 Replies