cancel
Showing results for 
Search instead for 
Did you mean: 

SPI shift register

ajimathew
Associate III

      In the block diagram of SPI ,There were 2 FIFOs (Rx and Tx) but only one shift register . In case of Full- duplex communication simultaneous transmission and reception will happen. How one shift register handles both transmitting and recieving??spi.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

You shift a bit out at the same time you shift a new one in. For an 8-bit register, it would initially store 8 TX bits, then 7 TX bits and 1 RX bit, etc, until it eventually stores all 8 RX bits and shifts those into the RX FIFO and grabs a new byte from the TX FIFO.

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

1 REPLY 1
TDK
Guru

You shift a bit out at the same time you shift a new one in. For an 8-bit register, it would initially store 8 TX bits, then 7 TX bits and 1 RX bit, etc, until it eventually stores all 8 RX bits and shifts those into the RX FIFO and grabs a new byte from the TX FIFO.

If you feel a post has answered your question, please click "Accept as Solution".