gratefulfrog
Posts: 5
Joined: Fri Aug 18, 2017 7:38 pm

SPI Data corruption

Fri Aug 18, 2017 7:43 pm

Hi,

I'm trying to communicate via SPI using wiringPiSPI in C++ with an arduino slave.

I find that after a while the incoming data becomes corrupt, even though the outgoing data from the arduino is ok. (I monitor both.)

I am wondering if the the multi-tasking on the RPI could cause interruptions in the SPI Clock that would cause the corruption?

Any ideas or thoughts would be most welcome!

Ciao,
Bob

Return to “General discussion”