Skip to content

Commit

Permalink
Send Bonus Clocks after Done goes high
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeeter committed Sep 26, 2024
1 parent e973fa8 commit bc97a8f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drv/grapefruit-seq-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,11 @@ impl<S: SpiServer + Clone> ServerImpl<S> {
ringbuf_entry!(Trace::WaitForDone);
hl::sleep_for(2);
}

// Send 64 bonus clocks to complete the startup sequence (see "Clocking
// to End of Startup" in UG470).
seq.write(&[0u8; 8]).map_err(SeqError::SpiWrite)?;

ringbuf_entry!(Trace::Programmed);

let server = Self {
Expand Down

0 comments on commit bc97a8f

Please sign in to comment.