Page 1 of 1

SPI, H or S ?

Posted: 30 Nov 2023, 20:18
by uxhamby
Hi,

Does RPIeasy use hardware or software SPI?

Thanks,

Brian H.

Re: SPI, H or S ?

Posted: 30 Nov 2023, 23:23
by Ath
A, quite similar, return-question is: does it matter? Most important is: Does it work? ;)

Re: SPI, H or S ?

Posted: 04 Dec 2023, 03:22
by uxhamby
Well, no it does not appear to work, and here is why it matters:

As I understand things, if RPiEasy uses hardware SPI, then the correct physical GPIO pins to connect to are fixed and well documented.

In my previously posted question, I have indicated that, in my setup, H/W SPI demonstrably works via a Python test routine executed at the RPi command console. That is to say, it works, independent of RPiEasy but I get only read errors when I try SPI from within RPiEasy.

If, within RPiEasy software SPI prevails, then the correct GPIO pins are specified within its code and are unknown to me (despite cursory examination of the code). Since I have set up for H/W SPI, then in this instance, I am physically connected to the wrong GPIO pins.

My hypothesis is that RPiEasy is using S/W SPI and I am connecting to the incorrect GPIO pins.

My next question of course will be, which pins should I be connecting to?

Thoughts? Thanks.

Brian H.