Replies: 2 comments
-
Oh, sorry, never test other SPI devices :( have you test it with the python test tool ?
maybe its simpler in python !?!? in rio.c, you have also to change the cs pin (not set by the spi driver)
maybe this is the problem ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I made a new board so i'll close this as unsolved |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Ok, so... for lots of reasons, none of which are good, i setup a SPI connector board from the pi to a tango 9k and foolishly chose SPI4.
Been poking at it in rio.c. Very confusing how the pin mapping works, but for those interested there is a map here:
https://www.airspayce.com/mikem/bcm2835/group__constants.html#gga63c029bd6500167152db4e57736d0939afd1fa88cacdbd77188a7fe743e0d34fa
if you are using a pi 2 or 3 then there is this
https://elinux.org/RPi_BCM2835_GPIOs
and for pi4 there is this
https://elinux.org/RPi_BCM2711_GPIOs
So, for my pi4 i'm trying
which looks odd but that seems to be the mapping of the pins but i can't really tell and it doesn't work.
Beta Was this translation helpful? Give feedback.
All reactions