05-07-2019, 01:22 PM
Hello,
I am confused about why it seems like the same FIFO or buffer, data_d/data_q, is being used for both MISO and MOSI communication. On the rising edges of the SPI clock, data_d is reading bits in from MOSI. On the falling edges, these bits are being output on MISO. I would think each would have its own FIFO to read data in and data out from the slave device. Let me know if I am incorrect in assuming this buffer is considered a FIFO.
Also, why is it necessary to output the MSB to MISO when the SS signal is not pulled low?
Thanks in advance!
I am confused about why it seems like the same FIFO or buffer, data_d/data_q, is being used for both MISO and MOSI communication. On the rising edges of the SPI clock, data_d is reading bits in from MOSI. On the falling edges, these bits are being output on MISO. I would think each would have its own FIFO to read data in and data out from the slave device. Let me know if I am incorrect in assuming this buffer is considered a FIFO.
Also, why is it necessary to output the MSB to MISO when the SS signal is not pulled low?
Thanks in advance!