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'
The text was updated successfully, but these errors were encountered:
hstarmans
changed the title
sdi not defined during receival of sdi command
sdo not defined during receival of sdi command
Feb 17, 2021
hstarmans
changed the title
sdo not defined during receival of sdi command
sdo not defined during receive command state in SPI Commandinterface
Feb 17, 2021
In spi.py, i read the following in the class SPI command interface
But it should be, something like the following.
In the current code, sdo is ill defined if a command is received. This can change depending upon whether a word is sent back.
A description of current behavior is here;
https://github.com/hstarmans/FPGAG/blob/master/test/FPGAG/test_luna.py
The text was updated successfully, but these errors were encountered: