~ruther/vhdl-spi

ref: 85f97d0167f3a30cad8eddd2d89dd634b5343169 vhdl-spi/src/spi_transmit.vhd -rw-r--r-- 5.4 KiB
85f97d01 — František Boháček 1 year, 10 months ago
feat: simplify spi_transmit, send data without delay

The transmit entity did contain a lot of states that
were dependent on each other, it was simply too chaotic.

The entity is rewritten to have only one important state variable
with few different states.

There were also changes to change the bit output on falling edge
rather than rising edge to comply with t_su and t_hold of the
device on the other end.

The entity now also sends data right away on the first clock cycle,
that did not work before. It may also align to send only every WIDTH
bits, to be in sync with the spi_recv if used together.
f38c6a3c — František Boháček 1 year, 10 months ago
feat: add spi transmit and receive
Do not follow this link