iCEstick-UART-Demo icon indicating copy to clipboard operation
iCEstick-UART-Demo copied to clipboard

The SPI pins are flipped

Open maloneymr opened this issue 1 year ago • 0 comments

You have:

#set_io SPI_SCK 70
#set_io SPI_SI 68
#set_io SPI_SO 67
#set_io SPI_SS_B 71

But after several hours of debugging and wondering why my SPI flash memory wasn't working , I happened to notice that it should be:

set_io SPI_SCK 70
set_io SPI_SI 67
set_io SPI_SO 68
set_io SPI_SS_B 71

with the SO and SI pins flipped.

maloneymr avatar May 05 '23 07:05 maloneymr