Communicate Two or More ARM devices through SPI protocol

An area to discuss ARM specific problems and examples

Moderator: Benj

Post Reply
karthickefy
Posts: 74
Joined: Thu Nov 30, 2017 3:21 am
Has thanked: 4 times
Been thanked: 9 times
Contact:

Communicate Two or More ARM devices through SPI protocol

Post by karthickefy »

Hi,
I would like to communicate two ARM/AVR devices through SPI protocol. But Flowcode7 has only SPI Master. I couldn't find the SPI Slave option in components. Please guide me how to build SPI Slave.

Karthick.

karthickefy
Posts: 74
Joined: Thu Nov 30, 2017 3:21 am
Has thanked: 4 times
Been thanked: 9 times
Contact:

Re: Communicate Two or More ARM devices through SPI protocol

Post by karthickefy »

Dear Benj,
Is it possible to use SPI Master mode in both chips for SPI communication between Chip to chip? Or is there any other option for SPI Slave? Please guide.

Thanks.
Karthick

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Communicate Two or More ARM devices through SPI protocol

Post by Benj »

Hi Karthick,

SPI slave is a hard one to do across many devices using a generic component.

Would a UART connection via a RS485 transceiver be an option. There are some really nice RS485 transceivers out there that do the data direction switching for you.

Post Reply