Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cf36457

Browse files
author
whitequark
committedJul 6, 2016
Revert "spi: do not shift when starting a xfer, closes #495"
This reverts commit 71921de. It appears to prevent the comms CPU from booting. I do not understand why.
1 parent 906db87 commit cf36457

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎artiq/gateware/spi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def __init__(self, data_width, clock_width, bits_width):
125125
NextState("WAIT"),
126126
)
127127
).Else(
128-
self.reg.shift.eq(~self.start),
128+
self.reg.shift.eq(1),
129129
NextState("SETUP"),
130130
)
131131
)

0 commit comments

Comments
 (0)
Please sign in to comment.