Recall & Review
beginner
What does SPI stand for and what is its main use?
SPI stands for Serial Peripheral Interface. It is mainly used to connect fast peripherals like sensors, memory, and displays to microcontrollers or Raspberry Pi for quick data transfer.
Click to reveal answer
intermediate
Why is SPI faster than I2C for peripheral communication?
SPI uses separate lines for sending and receiving data, allowing full-duplex communication. It also runs at higher clock speeds without complex addressing, making it faster than I2C.
Click to reveal answer
intermediate
How does SPI's use of multiple data lines help speed?
SPI uses separate lines for data out (MOSI) and data in (MISO), so data can be sent and received at the same time. This full-duplex mode speeds up communication compared to single data line protocols.
Click to reveal answer
beginner
What role does the clock line (SCLK) play in SPI speed?
The clock line (SCLK) synchronizes data transfer between devices. SPI can run at high clock speeds, allowing fast and reliable data exchange with peripherals.
Click to reveal answer
beginner
Why is SPI preferred for devices like displays and memory chips?
SPI is preferred because it supports fast data rates and simple wiring. This helps devices like displays and memory chips quickly send and receive large amounts of data without delays.
Click to reveal answer
What makes SPI faster than I2C?
✗ Incorrect
SPI uses separate lines for sending (MOSI) and receiving (MISO), allowing full-duplex communication which speeds up data transfer.
Which SPI line controls the timing of data transfer?
✗ Incorrect
SCLK is the clock line that synchronizes data transfer between the master and slave devices.
Why is SPI good for fast peripherals like displays?
✗ Incorrect
SPI supports high clock speeds and full-duplex communication, making it ideal for fast peripherals.
What does MOSI stand for in SPI?
✗ Incorrect
MOSI means Master Out Slave In, the line where the master sends data to the slave.
Which feature of SPI allows sending and receiving data at the same time?
✗ Incorrect
SPI supports full-duplex communication, meaning data can be sent and received simultaneously.
Explain why SPI is chosen for fast peripherals on Raspberry Pi.
Think about how SPI sends and receives data and how fast it can run.
You got /4 concepts.
Describe the role of the clock line in SPI and how it affects speed.
Consider how devices agree on when to send and read data.
You got /3 concepts.
