odroid C1+ as SPI slave

Post Reply
barakp
Posts: 11
Joined: Tue Dec 25, 2018 6:51 am
languages_spoken: english
ODROIDs: C1+
Has thanked: 1 time
Been thanked: 0
Contact:

odroid C1+ as SPI slave

Unread post by barakp » Sun Mar 31, 2019 7:45 pm

Hi!

it's possible to ise Odroid C1+ as a SPI Slave?
I have two C1+ boards and want to transferdata between them while one board act like master and the other one as a slave.

Thanks,
Barak.

User avatar
odroid
Site Admin
Posts: 32146
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 119 times
Been thanked: 297 times
Contact:

Re: odroid C1+ as SPI slave

Unread post by odroid » Mon Apr 01, 2019 9:18 am

We have no experience of SPI slave mode programming.
I think SPI slave clock input mode might not be available.
If your target transfer rate is not so high, consider using the UART for communication between two C1+ boards.

barakp
Posts: 11
Joined: Tue Dec 25, 2018 6:51 am
languages_spoken: english
ODROIDs: C1+
Has thanked: 1 time
Been thanked: 0
Contact:

Re: odroid C1+ as SPI slave

Unread post by barakp » Mon Apr 01, 2019 8:26 pm

what is the maximun bitrate that I can get usimg UART?
I need to transfer data with 3-5 Mbps.

User avatar
odroid
Site Admin
Posts: 32146
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 119 times
Been thanked: 297 times
Contact:

Re: odroid C1+ as SPI slave

Unread post by odroid » Mon Apr 01, 2019 8:58 pm

1~2Mbps only probably.

User avatar
mad_ady
Posts: 6554
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 169 times
Been thanked: 128 times
Contact:

Re: odroid C1+ as SPI slave

Unread post by mad_ady » Wed Apr 03, 2019 2:14 pm

Since it's C1+ you should be able to use a usb cable (one of them connected as microusb) and use usb networking. Should give you at least 100Mbps.

User avatar
odroid
Site Admin
Posts: 32146
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 119 times
Been thanked: 297 times
Contact:

Re: odroid C1+ as SPI slave

Unread post by odroid » Wed Apr 03, 2019 3:11 pm

Right! "Ethernet over USB" g_ether driver must be a better solution.
https://magazine.odroid.com/wp-content/ ... df#page=14

barakp
Posts: 11
Joined: Tue Dec 25, 2018 6:51 am
languages_spoken: english
ODROIDs: C1+
Has thanked: 1 time
Been thanked: 0
Contact:

Re: odroid C1+ as SPI slave

Unread post by barakp » Wed Apr 17, 2019 4:37 pm

Thanks guys!

Post Reply

Return to “Hardware and peripherals”

Who is online

Users browsing this forum: No registered users and 0 guests