Hi All,
I need to send (not necessarily receive) data from Teensy 4.1 to Raspberry Pi 4B and to be more specific... about 100 bytes 10 times a second.
I tried using SPI but cannot make it working... (I followed this thread but failed at some point...). I was able to set RPi4 as SPI Master (wiringPi JAVA) and Teensy 4.1 as SPI Slave (C)... and exchange the data till the point of sending/receiving 3 bytes. When I tried sending more bytes from Teensy, I received data in incorrect order as described in SPISlave_T4 thread - and the solution that was introduced there, did not work for me.
My question is... is there a way to send the data as described above other than SPI... I think here of I2C or serial interface (USB wont work in my case).
Has anyone succeed with such a data transfer - if so, could you please share the source code?
Thanks in advance for your help.
I need to send (not necessarily receive) data from Teensy 4.1 to Raspberry Pi 4B and to be more specific... about 100 bytes 10 times a second.
I tried using SPI but cannot make it working... (I followed this thread but failed at some point...). I was able to set RPi4 as SPI Master (wiringPi JAVA) and Teensy 4.1 as SPI Slave (C)... and exchange the data till the point of sending/receiving 3 bytes. When I tried sending more bytes from Teensy, I received data in incorrect order as described in SPISlave_T4 thread - and the solution that was introduced there, did not work for me.
My question is... is there a way to send the data as described above other than SPI... I think here of I2C or serial interface (USB wont work in my case).
Has anyone succeed with such a data transfer - if so, could you please share the source code?
Thanks in advance for your help.