Communicate between one PSoC 5LP board to another PSoC 5LP board

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

cross mob
Ant_ony123
Level 1
Level 1
First question asked Welcome!

Hi,

I am trying to communicate with two PSoC 5LP MCUs using the fast method so that current functions won't be affected by the latency that happens due to the communication. 

So could you please suggest a method to communicate between to MCUs?

Thank you

0 Likes
1 Solution
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

Ant_ony,

As long as the distance between PCBs are kept below 10cm. you could use SPI.   SPI allows for 4Mbps comm.

SPI is Master/Slave so one board will have to be assigned as master.

IF you don't mind a 1Mbps, you can use UART.  Try 1Mbps 8N1 full duplex.   The advantage of UART is it can be done as peer-to-peer.

If you kept the distances between PCBs below 10cm, you can use GPIO to GPIO wiring without external buffering.

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

View solution in original post

0 Likes
1 Reply
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

Ant_ony,

As long as the distance between PCBs are kept below 10cm. you could use SPI.   SPI allows for 4Mbps comm.

SPI is Master/Slave so one board will have to be assigned as master.

IF you don't mind a 1Mbps, you can use UART.  Try 1Mbps 8N1 full duplex.   The advantage of UART is it can be done as peer-to-peer.

If you kept the distances between PCBs below 10cm, you can use GPIO to GPIO wiring without external buffering.

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