SPI device needs LSBit First


Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 7133
Posted: 07:55am 01 Feb 2023      

I wouldn't worry about the MOSI pin as its level is undetermined except at the relevant clock edge.

My advice FWIW is to bit bang the interface in Basic using subroutines that interface like the inbuilt commands. That way you have total control of the signals. Once you have that working you can go back to the H/W interface
Edited 2023-02-01 18:03 by matherp