Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "spi: do not shift when starting a xfer, closes #495"
Browse files Browse the repository at this point in the history
This reverts commit 71921de.

It appears to prevent the comms CPU from booting. I do not
understand why.
whitequark committed Jul 6, 2016
1 parent 906db87 commit cf36457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artiq/gateware/spi.py
Original file line number Diff line number Diff line change
@@ -125,7 +125,7 @@ def __init__(self, data_width, clock_width, bits_width):
NextState("WAIT"),
)
).Else(
self.reg.shift.eq(~self.start),
self.reg.shift.eq(1),
NextState("SETUP"),
)
)

0 comments on commit cf36457

Please sign in to comment.