Recall & Review
beginner
What does SPI stand for and what is its main use?
SPI stands for Serial Peripheral Interface. It is mainly used for fast communication between microcontrollers and peripherals like sensors or memory chips.
Click to reveal answer
beginner
What does UART stand for and what is its main use?
UART stands for Universal Asynchronous Receiver/Transmitter. It is used for simple serial communication between devices, often for debugging or connecting to computers.
Click to reveal answer
intermediate
Name one advantage of SPI over UART.
SPI is faster than UART because it uses a clock signal to synchronize data transfer, allowing higher speeds.
Click to reveal answer
intermediate
What is one disadvantage of SPI compared to UART?
SPI requires more wires (at least 4) and more pins on the microcontroller, making it less simple than UART which only needs two wires.
Click to reveal answer
intermediate
Why might UART be preferred for long-distance communication?
UART uses asynchronous communication and fewer wires, which can be easier to manage over longer distances and simpler wiring setups.
Click to reveal answer
Which communication method uses a clock signal to synchronize data?
✗ Incorrect
SPI uses a clock line to synchronize data transfer, while UART does not use a clock signal.
Which interface typically requires fewer wires?
✗ Incorrect
UART usually requires only two wires (TX and RX), while SPI needs at least four wires.
Which communication method is generally faster?
✗ Incorrect
SPI is generally faster because it uses a clock signal to synchronize data transfer.
Which interface is asynchronous?
✗ Incorrect
UART is asynchronous, meaning it does not use a clock signal for timing.
Which interface is simpler to wire for basic communication?
✗ Incorrect
UART requires fewer wires and is simpler to set up for basic serial communication.
Explain the main trade-offs between SPI and UART communication interfaces.
Think about speed, wiring complexity, and synchronization.
You got /4 concepts.
Describe scenarios where you would choose SPI over UART and vice versa.
Consider device needs and wiring constraints.
You got /3 concepts.