Announcements

Ever wondered how you could shape the future in collaboration with others? Join us at OktoberTech Asia Pacific and get inspired. Click here to sign up FREE of charge.

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

PSoC™ 5, 3 & 1 Forum Discussions

Ant_ony123
Level 1
First question asked Welcome!
Level 1

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
1000 replies posted 750 replies posted 500 likes received
Level 9

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
1000 replies posted 750 replies posted 500 likes received
Level 9

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