Skip to content

WIP: SPI Transfer Improvements#226

Open
sjkelly wants to merge 3 commits intomainfrom
sjk/spi2
Open

WIP: SPI Transfer Improvements#226
sjkelly wants to merge 3 commits intomainfrom
sjk/spi2

Conversation

@sjkelly
Copy link
Collaborator

@sjkelly sjkelly commented Aug 11, 2021

This makes several improvements to the SPI Bus. The result is that SCK frequency may now be 1/4 the base clock rather than 1/8. This is accomplished by removing the cycle delay in multi-byte word handling through pipelining. There are also some improvements to the idioms used. We do not need to explicitly tribuf the SPI SCK/CS lines and synchronize. We use the implicit Verilog idioms for this, which makes it a little bit easier to read. Utilization and clock frequency is around the same +/- 0.5% or so.

@sjkelly
Copy link
Collaborator Author

sjkelly commented Aug 24, 2021

The output channel also needs a pipelined endian swap path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant