Guided lab · ECE 2
Serial protocols 3: SPI modes and chip select
Four wires, four modes: CPOL, CPHA, MOSI, MISO and CS
- Time
- 45 min
- Bench
- Emona kit bench
Free. The lab opens after Google sign-in, which also keeps your progress.

What you do in this lab
You will send words over SPI in modes 0 to 3, decode MOSI and MISO at the same time, see what happens when the analyser uses the wrong mode, and change the word size and the bit order.
Objectives
- State CPOL and CPHA for modes 0, 1, 2 and 3.
- Find the sampling edge from the mode.
- Explain the roles of CS, MOSI and MISO, including the one-word delay of MISO in this lab.
- Predict what a mode mismatch does to the data.
- Decode 16-bit words and LSB-first data.
Inside the lab
Step-by-step instructions with wiring checks, the readings you should get, questions with model answers and a short quiz. Sign in to open it.
Related labs

Serial protocols 1: UART frames and errors
Generate real 8N1, 8E1 and 7O2 frames, decode them, then break them on purpose
45 minEmona kit bench

Source-measure unit: force, measure, compliance and 4-wire sensing
Force V or force I, protect the DUT with compliance, and see why low resistances need Kelvin connections
50 minCircuit bench

Real-time spectrum analysis: persistence, spectrogram, POI and the mask trigger
Catch a 30 µs burst that a swept analyser misses, find the minimum event duration for 100 % probability of intercept, watch a frequency hopper on the spectrogram and trap a rare interferer with a frequency mask trigger.
55 minEmona kit bench

DC electronic load: CC/CV/CR/CP, battery capacity and power-supply load regulation
Load a source in four modes, discharge a Li-ion cell to its cut-off, and measure how well a supply holds its voltage
60 minCircuit bench
Unofficial, free student project. Not affiliated with Emona Instruments or with any university. Emona and ETT-101 are trademarks of their owner.