SPI, H or S ?

Moderators: grovkillen, Stuntteam, TD-er, enesbcs

Post Reply
Message
Author
User avatar
uxhamby
Normal user
Posts: 132
Joined: 29 Dec 2016, 18:13
Location: Toronto Canada

SPI, H or S ?

#1 Post by uxhamby » 30 Nov 2023, 20:18

Hi,

Does RPIeasy use hardware or software SPI?

Thanks,

Brian H.

User avatar
Ath
Normal user
Posts: 3519
Joined: 10 Jun 2018, 12:06
Location: NL

Re: SPI, H or S ?

#2 Post by Ath » 30 Nov 2023, 23:23

A, quite similar, return-question is: does it matter? Most important is: Does it work? ;)
/Ton (PayPal.me)

User avatar
uxhamby
Normal user
Posts: 132
Joined: 29 Dec 2016, 18:13
Location: Toronto Canada

Re: SPI, H or S ?

#3 Post by uxhamby » 04 Dec 2023, 03:22

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests