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.
Communicate Two or More ARM devices through SPI protocol
Moderator: Benj
-
- Posts: 74
- Joined: Thu Nov 30, 2017 3:21 am
- Has thanked: 4 times
- Been thanked: 9 times
-
- Posts: 74
- Joined: Thu Nov 30, 2017 3:21 am
- Has thanked: 4 times
- Been thanked: 9 times
Re: Communicate Two or More ARM devices through SPI protocol
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
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
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel