You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In spi.py, i read the following in the class SPI command interface
# Once CS is low, we'll shift in our command.withm.State('RECEIVE_COMMAND'):
# If CS is de-asserted early; our transaction is being aborted.withm.If(~spi.cs):
m.next='IDLE'
But it should be, something like the following.
# Once CS is low, we'll shift in our command.withm.State('RECEIVE_COMMAND'):
m.d.sync+=spi.sdo.eq(0)
# If CS is de-asserted early; our transaction is being aborted.withm.If(~spi.cs):
m.next='IDLE'