Recall & Review
beginner
What does SPI stand for and what is its main purpose?
SPI stands for Serial Peripheral Interface. It is used to transfer data between microcontrollers and peripheral devices quickly and efficiently.
Click to reveal answer
beginner
List the four main signals used in SPI communication.
The four main signals are:<br>1. SCLK (Serial Clock)<br>2. MOSI (Master Out Slave In)<br>3. MISO (Master In Slave Out)<br>4. SS (Slave Select)
Click to reveal answer
beginner
Describe the sequence of steps in an SPI data transfer.
1. Master pulls SS low to select the slave.<br>2. Master generates clock pulses on SCLK.<br>3. Data is sent bit-by-bit from master to slave on MOSI.<br>4. Data is simultaneously received from slave to master on MISO.<br>5. After all bits are transferred, master releases SS high to end communication.
Click to reveal answer
intermediate
Why is SPI considered full-duplex communication?
Because data is sent and received at the same time on separate lines (MOSI and MISO), allowing simultaneous two-way communication.
Click to reveal answer
beginner
In SPI, what role does the Slave Select (SS) line play during data transfer?
The SS line tells the slave device when it should listen and respond. Pulling SS low activates the slave, and releasing it high ends the communication.
Click to reveal answer
Which SPI signal carries data from the master to the slave?
✗ Incorrect
MOSI stands for Master Out Slave In, so it carries data from the master to the slave.
What happens when the master pulls the SS line low?
✗ Incorrect
Pulling SS low tells the slave device to listen and prepare for data transfer.
SPI communication is considered full-duplex because:
✗ Incorrect
Full-duplex means data flows both ways at the same time, which SPI supports using MOSI and MISO lines.
Which signal provides the timing for data transfer in SPI?
✗ Incorrect
SCLK is the serial clock generated by the master to synchronize data transfer.
During SPI transfer, when is the data considered fully sent?
✗ Incorrect
Data is fully sent after all bits have been shifted out on MOSI and received on MISO.
Explain the step-by-step sequence of an SPI data transfer from start to finish.
Think about how the master controls the communication and how data flows both ways.
You got /5 concepts.
Describe why SPI is called full-duplex and how its signals support this.
Consider how data moves on MOSI and MISO at the same time.
You got /4 concepts.