Unit 5: Serial Communication & Industrial Interfaces - Subjective Questions

ECE140 — Workshop On Iot For Digital Society • Practice Questions with Detailed Answers

20 questions

1

Define UART and explain the structure of a UART data frame.

2

Explain baud rate in UART communication. Calculate the approximate time required to transmit 100 bytes using the 8N1 format at 9600 baud.

3

Describe the I2C serial communication protocol and explain the functions of the SDA and SCL lines.

4

Explain the START, STOP, ACK, NACK, and repeated START conditions used in I2C communication.

5

Describe the SPI protocol, its signal lines, and the process of full-duplex data transfer.

6

Compare UART, I2C, and SPI with respect to clocking, wiring, addressing, speed, duplex operation, and typical applications.

7

Explain clock polarity and clock phase in SPI. Describe the four SPI modes.

8

What is bus arbitration? Explain arbitration in a multi-controller I2C bus.

9

Explain addressing methods used in I2C and discuss possible causes of address conflicts.

10

What is a protocol analyzer? Explain how a logic analyzer can be used to debug UART, I2C, and SPI communication.

11

Describe common serial communication faults and explain systematic methods for diagnosing them.

12

Explain RS485 communication, including differential signaling, topology, termination, and biasing.

13

Distinguish between RS232, RS485, and UART. Why is an RS485 transceiver required when connecting a microcontroller UART to an industrial RS485 network?

14

Describe the Modbus RTU frame format and explain the purpose of each field.

15

Explain how a microcontroller can interface with an industrial sensor using Modbus RTU over a two-wire RS485 network.

16

Explain the operation of the CRC-16 error-detection method used in Modbus RTU and outline the procedure for validating a received frame.

17

Describe how an I2C character LCD is interfaced with a microcontroller using an I/O expander.

18

Explain how an I2C OLED display is interfaced with a microcontroller. Discuss initialization, addressing, framebuffer use, and display updating.

19

Distinguish between an I2C character LCD and an I2C OLED display in terms of operation, memory, graphics capability, visibility, power, and applications.

20

Design a high-speed data logging system for multiple sensors. Explain throughput calculation, buffering, timestamping, storage, and techniques for preventing data loss.