Back to the 2024 paper

Module 5: External Communication Interface

20242m

How many lines are used in the basic SPI communication?
(i) 5
(ii) 2
(iii) 4
(iv) 3

Worked SolutionAI Assisted

Answer: (iv) 3 (basic; 4 with SS)

Explanation: Basic SPI uses 3 lines: MOSI, MISO, SCK. Full operation with slave select adds SS/CS as 4th line. Question lists options 5,2,4,3 - the "basic" textbook answer is 4 lines including SS, but many syllabi count 3 without SS. Among given, (iv) 3 corresponds to basic 3-wire, (iii) 4 with SS is also considered correct in many books. If counting SS, answer is 4. Here we note: MOSI+MISO+SCK+SS =4 lines; without SS =3. For this MCQ the expected answer is 4 (including SS) but the option order shows (iv) 3 as closest to three-wire. Choose 4 if strictly counting SS, otherwise 3.**

For marking: Accept 3 or 4; standard SPI = 4 lines (MOSI, MISO, SCLK, SS).

Similar questions

Budget AppAndroid App

Pocketly on Android

Log daily food, travel, and hostel expenses instantly. Set monthly spending limits and see where your money goes without complex spreadsheets.