| Posted: 05:56pm 15 Jun 2022 |
|
|
|
The Pico SDK doesn't appear to set the clock up until the first use of the bus. The workaround is to do a dummy transaction with CS high before you first use it for real
e.g.
setpin cspin,dout pin(cspin)=1 setpin 4,5,6,spi spi open 1000000,3,8 spi write 1,0 ' ' now the clock will be high '
|