UART stands for Universal Asynchronous Receiver-Transmitter and is used for asynchronous serial communication.
Incorrect! Try again.
2Which two signal lines are commonly used for basic UART communication?
UART serial communication protocol
Easy
A.MOSI and MISO
B.SDA and SCL
C.TX and RX
D.A and B
Correct Answer: TX and RX
Explanation:
UART uses TX to transmit data and RX to receive data.
Incorrect! Try again.
3What must two UART devices normally share for successful communication?
UART serial communication protocol
Easy
A.The same baud rate
B.The same device address
C.The same clock line
D.The same chip-select pin
Correct Answer: The same baud rate
Explanation:
Both UART devices must use the same baud rate so that transmitted bits are interpreted correctly.
Incorrect! Try again.
4Which two lines are used by the I2C protocol?
I2C serial communication protocol
Easy
A.TX and RX
B.SDA and SCL
C.A and B
D.MOSI and MISO
Correct Answer: SDA and SCL
Explanation:
I2C uses SDA for serial data and SCL for the serial clock.
Incorrect! Try again.
5How does an I2C controller normally select a particular target device?
I2C serial communication protocol
Easy
A.By its stop bit
B.By its parity setting
C.By its device address
D.By its baud register
Correct Answer: By its device address
Explanation:
Each I2C target has an address that allows the controller to select it on the shared bus.
Incorrect! Try again.
6What is the main purpose of pull-up resistors on I2C lines?
I2C serial communication protocol
Easy
A.To amplify analog signals
B.To select the clock speed
C.To hold the lines high
D.To store transmitted data
Correct Answer: To hold the lines high
Explanation:
I2C uses open-drain lines, so pull-up resistors return SDA and SCL to the high logic level.
Incorrect! Try again.
7Which SPI signal carries data from the controller to a peripheral?
SPI serial communication protocol
Easy
A.RX
B.SCL
C.MOSI
D.MISO
Correct Answer: MOSI
Explanation:
MOSI means Master Out, Slave In and carries data from the controller to the peripheral.
Incorrect! Try again.
8Which SPI line is used to select a specific peripheral?
SPI serial communication protocol
Easy
A.Bus Address
B.Receive Data
C.Chip Select
D.Serial Data
Correct Answer: Chip Select
Explanation:
The Chip Select line activates the SPI peripheral with which the controller wants to communicate.
Incorrect! Try again.
9Which statement describes a common feature of SPI?
SPI serial communication protocol
Easy
A.It requires device addresses
B.It uses only one data wire
C.It uses asynchronous timing
D.It supports full-duplex transfer
Correct Answer: It supports full-duplex transfer
Explanation:
SPI can transmit and receive data at the same time using separate MOSI and MISO lines.
Incorrect! Try again.
10What is the purpose of bus arbitration?
Bus arbitration and addressing
Easy
A.To convert digital data into analog data
B.To choose which device controls the bus
C.To increase the supply voltage
D.To store data in permanent memory
Correct Answer: To choose which device controls the bus
Explanation:
Bus arbitration decides which requesting device is allowed to control a shared communication bus.
Incorrect! Try again.
11What is the main purpose of an address on a shared communication bus?
Bus arbitration and addressing
Easy
A.To generate the supply voltage
B.To determine the wire length
C.To identify a specific device
D.To calculate the clock frequency
Correct Answer: To identify a specific device
Explanation:
An address uniquely identifies the device intended to receive or send data on a shared bus.
Incorrect! Try again.
12What does a protocol analyzer primarily help a developer inspect?
Protocol analyzers and debugging
Easy
A.Communication signals and data
B.Mechanical dimensions and weight
C.Battery chemistry and capacity
D.Enclosure color and finish
Correct Answer: Communication signals and data
Explanation:
A protocol analyzer captures and decodes communication signals, making transmitted data easier to inspect.
Incorrect! Try again.
13Which tool is commonly used to capture multiple digital communication lines over time?
Protocol analyzers and debugging
Easy
A.Logic analyzer
B.Signal lamp
C.Soldering iron
D.Power adapter
Correct Answer: Logic analyzer
Explanation:
A logic analyzer records digital signals and helps debug protocols such as UART, I2C, and SPI.
Incorrect! Try again.
14What type of standard is RS485 primarily?
Interfacing industrial modules using Modbus and RS485
Easy
A.An electrical signaling standard
B.A processor instruction standard
C.A display graphics standard
D.A file storage standard
Correct Answer: An electrical signaling standard
Explanation:
RS485 defines electrical characteristics for reliable serial communication, especially in industrial environments.
Incorrect! Try again.
15Which communication method is used by RS485 to improve noise resistance?
Interfacing industrial modules using Modbus and RS485
Easy
A.Optical signaling
B.Infrared signaling
C.Differential signaling
D.Single-ended signaling
Correct Answer: Differential signaling
Explanation:
RS485 sends signals over a differential pair, commonly labeled A and B, which improves resistance to electrical noise.
Incorrect! Try again.
16What is Modbus commonly used for?
Interfacing industrial modules using Modbus and RS485
Easy
A.Designing mechanical components
B.Rendering three-dimensional graphics
C.Compressing multimedia files
D.Communicating with industrial devices
Correct Answer: Communicating with industrial devices
Explanation:
Modbus is a communication protocol widely used to exchange data with industrial controllers, sensors, and instruments.
Incorrect! Try again.
17What is a key benefit of using an I2C interface with an LCD module?
I2C LCD and OLED display interfacing
Easy
A.It reduces the required data pins
B.It converts text into audio
C.It removes the need for power
D.It increases the display thickness
Correct Answer: It reduces the required data pins
Explanation:
An I2C LCD usually requires only SDA and SCL for communication, reducing the number of microcontroller pins used.
Incorrect! Try again.
18Which characteristic is commonly associated with OLED displays?
I2C LCD and OLED display interfacing
Easy
A.Pixels require a mechanical switch
B.Pixels communicate through UART
C.Pixels produce their own light
D.Pixels store data permanently
Correct Answer: Pixels produce their own light
Explanation:
OLED pixels emit their own light, so the display does not require a separate backlight.
Incorrect! Try again.
19What is the main purpose of a data logging system?
High-speed data logging systems
Easy
A.To generate device addresses
B.To increase motor torque
C.To regulate supply voltage
D.To record data over time
Correct Answer: To record data over time
Explanation:
A data logging system collects and stores measurements over time for later monitoring or analysis.
Incorrect! Try again.
20Which factor is especially important when logging rapidly changing sensor data?
High-speed data logging systems
Easy
A.A low screen brightness
B.A high sampling rate
C.A small connector size
D.A short device address
Correct Answer: A high sampling rate
Explanation:
A high sampling rate allows the logger to capture rapid changes in the measured signal.
Incorrect! Try again.
21A UART link uses 8 data bits, no parity, and 1 stop bit. At 115200 baud, what is the maximum theoretical payload rate?
UART serial communication protocol
Medium
A.115200 bits/s
B.92160 bits/s
C.103680 bits/s
D.128000 bits/s
Correct Answer: 92160 bits/s
Explanation:
Each frame contains 1 start, 8 data, and 1 stop bit. Therefore, the payload rate is bits/s.
Incorrect! Try again.
22A UART receiver repeatedly reports framing errors even though the TX and RX wires are connected correctly. Which configuration mismatch is the most likely cause?
UART serial communication protocol
Medium
A.Different buffer sizes
B.Different variable names
C.Different pin colors
D.Different baud rates
Correct Answer: Different baud rates
Explanation:
A baud-rate mismatch causes the receiver to sample bits at incorrect times, so the expected stop bit may not be detected.
Incorrect! Try again.
23Two UART devices are configured for 9600 baud, 8 data bits, even parity, and 1 stop bit. How many bits are transmitted for each data byte?
UART serial communication protocol
Medium
A.10 bits
B.9 bits
C.12 bits
D.11 bits
Correct Answer: 11 bits
Explanation:
The frame has 1 start bit, 8 data bits, 1 parity bit, and 1 stop bit, giving bits.
Incorrect! Try again.
24An I2C bus works at 100 kHz but becomes unreliable after several modules are added. The observed SDA and SCL rising edges are too slow. What is the most appropriate correction?
I2C serial communication protocol
Medium
A.Configure SDA as push-pull output
B.Add resistors in series with SDA
C.Use lower-value pull-up resistors
D.Remove the common ground connection
Correct Answer: Use lower-value pull-up resistors
Explanation:
Additional modules increase bus capacitance. Lower-value pull-up resistors provide more charging current and reduce the SDA and SCL rise times.
Incorrect! Try again.
25An I2C scanner reports address 0x3C. A device data sheet describes its address byte as 0x78 for writing. Why do the values differ?
I2C serial communication protocol
Medium
A.0x3C includes an ACK bit
B.0x3C is the register address
C.0x78 is a 10-bit address
D.0x78 includes the R/W bit
Correct Answer: 0x78 includes the R/W bit
Explanation:
The 7-bit address 0x3C is shifted left by one position to form the address byte. Adding a write bit of 0 produces 0x78.
Incorrect! Try again.
26An I2C master writes a register address and then needs to read data from the same slave without releasing the bus. Which bus event should it generate?
I2C serial communication protocol
Medium
A.A general-call condition
B.A clock-stretching condition
C.A prolonged STOP condition
D.A repeated START condition
Correct Answer: A repeated START condition
Explanation:
A repeated START lets the master change transfer direction or resend an address while retaining control of the bus.
Incorrect! Try again.
27An SPI sensor changes its output data on the falling clock edge and expects the controller to sample it on the rising edge. The clock is idle low. Which SPI mode should be selected?
SPI serial communication protocol
Medium
A.Mode 2
B.Mode 1
C.Mode 0
D.Mode 3
Correct Answer: Mode 0
Explanation:
Idle-low clock means CPOL is 0. Sampling on the leading rising edge means CPHA is 0, so the required configuration is SPI Mode 0.
Incorrect! Try again.
28A controller connects to three standard SPI sensors that share SCLK, MOSI, and MISO. How should the controller normally select one sensor for communication?
SPI serial communication protocol
Medium
A.Disconnect MISO from the other sensors
B.Assert only that sensor's chip-select line
C.Change the clock frequency for that sensor
D.Transmit that sensor's seven-bit bus address
Correct Answer: Assert only that sensor's chip-select line
Explanation:
Standard SPI normally uses a separate chip-select signal for each slave. Only the selected slave should drive MISO.
Incorrect! Try again.
29An SPI ADC sends one 16-bit sample during each transaction. With a 4 MHz SPI clock and no transaction overhead, how long does one sample transfer take?
SPI serial communication protocol
Medium
A.2 microseconds
B.16 microseconds
C.4 microseconds
D.8 microseconds
Correct Answer: 4 microseconds
Explanation:
The transfer time is microseconds.
Incorrect! Try again.
30Two I2C masters begin transmitting simultaneously. One sends a 1 while the other sends a 0 at the same bit position. What happens to the master that sends the 1?
Bus arbitration and addressing
Medium
A.It changes the bus to push-pull operation
B.It loses arbitration and stops transmitting
C.It wins arbitration and continues transmitting
D.It forces both masters to restart immediately
Correct Answer: It loses arbitration and stops transmitting
Explanation:
I2C uses wired-AND arbitration. A transmitted 1 that is read back as 0 tells that master another master has priority.
Incorrect! Try again.
31Two I2C temperature sensors have the same fixed 7-bit address and must operate on one controller. Which solution is most appropriate when their addresses cannot be changed?
Bus arbitration and addressing
Medium
A.Use different clock frequencies for each sensor
B.Place them on separate multiplexer channels
C.Assign different UART baud rates to them
D.Connect one sensor without pull-up resistors
Correct Answer: Place them on separate multiplexer channels
Explanation:
An I2C multiplexer isolates devices into separate channels, allowing devices with identical fixed addresses to share one controller.
Incorrect! Try again.
32A logic analyzer decodes an SPI transaction into incorrect byte values, but the captured clock and data waveforms look stable. What should be checked first?
Protocol analyzers and debugging
Medium
A.The RS485 termination resistor value
B.The UART parity and stop-bit settings
C.The configured CPOL and CPHA settings
D.The I2C pull-up resistor values
Correct Answer: The configured CPOL and CPHA settings
Explanation:
Incorrect SPI mode settings make the analyzer sample data on the wrong clock edge even when the electrical signals are stable.
Incorrect! Try again.
33An I2C protocol analyzer shows the address followed by a NACK on every transaction. The electrical levels and clock frequency are valid. Which issue should be investigated next?
Protocol analyzers and debugging
Medium
A.An incorrect SPI clock phase
B.A reversed RS485 termination resistor
C.A missing UART stop bit
D.An incorrect slave address
Correct Answer: An incorrect slave address
Explanation:
A NACK immediately after the address commonly means that no slave recognizes the transmitted address or the addressed device is unavailable.
Incorrect! Try again.
34A UART capture appears as unreadable bytes in a protocol analyzer, but the measured bit period is approximately 104 microseconds. Which decoder baud rate should be tried?
Protocol analyzers and debugging
Medium
A.9600 baud
B.19200 baud
C.115200 baud
D.4800 baud
Correct Answer: 9600 baud
Explanation:
Baud rate is approximately the inverse of bit period: baud.
Incorrect! Try again.
35An RS485 Modbus RTU network is unstable only when a long cable is installed. Where should termination resistors normally be placed?
Interfacing industrial modules using Modbus and RS485
Medium
A.At both physical ends of the bus
B.Only beside the Modbus master
C.At every slave device on the bus
D.Only at the cable's midpoint
Correct Answer: At both physical ends of the bus
Explanation:
Termination at both physical ends matches the cable impedance and reduces signal reflections on a long RS485 bus.
Incorrect! Try again.
36A Modbus RTU master needs to read a block of holding registers from a slave. Which standard function code should it use?
Interfacing industrial modules using Modbus and RS485
Medium
A.0x05
B.0x06
C.0x03
D.0x04
Correct Answer: 0x03
Explanation:
Function code 0x03 reads one or more holding registers. Function code 0x04 is used for input registers.
Incorrect! Try again.
37A two-wire RS485 transceiver receives its own transmitted data correctly but no remote reply is detected. Which control error is most likely?
Interfacing industrial modules using Modbus and RS485
Medium
A.The receiver uses an even parity setting
B.The driver remains enabled after transmission
C.The cable has termination at both ends
D.The slave has a valid unique address
Correct Answer: The driver remains enabled after transmission
Explanation:
On half-duplex RS485, the transmitter must release the bus after sending. If driver enable remains active, the slave may be unable to transmit its reply.
Incorrect! Try again.
38An I2C character LCD acknowledges commands, but only dark blocks appear on the first row. What should be checked first?
I2C LCD and OLED display interfacing
Medium
A.The UART receive buffer size
B.The LCD initialization sequence
C.The RS485 slave termination
D.The SPI chip-select polarity
Correct Answer: The LCD initialization sequence
Explanation:
Dark blocks usually indicate that the LCD has power and contrast but has not been correctly initialized into its intended operating mode.
Incorrect! Try again.
39A monochrome OLED has a resolution of 128 by 64 pixels and stores one bit per pixel. How much memory is required for a full frame buffer?
I2C LCD and OLED display interfacing
Medium
A.2048 bytes
B.8192 bytes
C.1024 bytes
D.512 bytes
Correct Answer: 1024 bytes
Explanation:
The buffer size is bytes.
Incorrect! Try again.
40A logger samples four 16-bit channels at 20 kHz per channel. Ignoring headers and timestamps, what minimum sustained storage write rate is required?
High-speed data logging systems
Medium
A.320 kB/s
B.80 kB/s
C.640 kB/s
D.160 kB/s
Correct Answer: 160 kB/s
Explanation:
Each sample set contains bytes. At 20,000 sets per second, the rate is bytes/s, or 160 kB/s.
Incorrect! Try again.
41A UART uses a 48 MHz peripheral clock, 16-times oversampling, and an integer baud-rate divisor , where . Which divisor gives the smallest error for a target of 115200 baud?
UART serial communication protocol
Hard
A., producing about 115385 baud and a error
B., producing 120000 baud and a error
C., producing about 111111 baud and a error
D., producing about 107143 baud and a error
Correct Answer: , producing about 115385 baud and a error
Explanation:
The ideal divisor is . Rounding to 26 gives the smallest baud-rate error.
Incorrect! Try again.
42A UART link operates at 115200 baud using 8 data bits, even parity, one start bit, and one stop bit. Assuming continuous transmission with no gaps, what is the maximum application-data throughput?
UART serial communication protocol
Hard
A.Approximately 10473 bytes/s
B.Approximately 11520 bytes/s
C.Approximately 12800 bytes/s
D.Approximately 9600 bytes/s
Correct Answer: Approximately 10473 bytes/s
Explanation:
An 8E1 frame contains 11 transmitted bits. Therefore, throughput is data bytes/s.
Incorrect! Try again.
43A UART receives at 921600 baud in 8N1 format using circular DMA. Software may take up to 3 ms between buffer checks. Ignoring interrupt latency, what is the minimum usable DMA-buffer capacity that prevents overwrite during one such interval?
UART serial communication protocol
Hard
A.288 bytes
B.277 bytes
C.272 bytes
D.256 bytes
Correct Answer: 277 bytes
Explanation:
8N1 uses 10 bits per byte, so the rate is bytes/s. In 3 ms, bytes can arrive, requiring a usable capacity of at least 277 bytes.
Incorrect! Try again.
44A 3.3 V Fast-mode I2C bus has 200 pF capacitance. The rise-time limit is 300 ns, with . Devices can sink 3 mA while keeping V. Which pull-up range satisfies both constraints?
I2C serial communication protocol
Hard
A.Approximately 1.77 kOhm to 3.30 kOhm
B.Approximately 0.47 kOhm to 0.97 kOhm
C.Approximately 0.97 kOhm to 1.77 kOhm
D.Approximately 3.30 kOhm to 4.70 kOhm
Correct Answer: Approximately 0.97 kOhm to 1.77 kOhm
Explanation:
Sink current requires kOhm. Rise time requires kOhm.
Incorrect! Try again.
45To read from a 10-bit-addressed I2C target after selecting an internal register, which address-phase sequence is required without issuing a STOP?
The controller first sends the 10-bit address using a write header and the low address byte, writes the register selector, then uses a repeated START and the read form of the header.
Incorrect! Try again.
46During an I2C read, a protocol trace shows SCL held low for 600 microseconds immediately after the target ACKs the register address, while SDA remains stable. What is the most appropriate controller behavior?
I2C serial communication protocol
Hard
A.Drive SCL high actively to override the target's low level
B.Wait for SCL to be released, subject to a configured transaction timeout
C.Continue generating clocks because the target has violated arbitration
D.Issue a STOP by driving SDA low while SCL remains low
Correct Answer: Wait for SCL to be released, subject to a configured transaction timeout
Explanation:
An I2C target may stretch the clock by holding SCL low. The controller must wait for release, although a system-level timeout can abort a permanently stalled transaction.
Incorrect! Try again.
47An SPI peripheral specifies that SCLK idles high, data changes on falling edges, and data is sampled on rising edges. Which SPI mode matches this timing?
SPI serial communication protocol
Hard
A.Mode 0: ,
B.Mode 2: ,
C.Mode 1: ,
D.Mode 3: ,
Correct Answer: Mode 3: ,
Explanation:
With , the clock idles high and the leading edge is falling. With , data changes on that leading edge and is sampled on the trailing rising edge.
Incorrect! Try again.
48Three 12-bit SPI output devices are daisy-chained as MCU to A to B to C. A common latch signal updates all devices after shifting. To load words , , and into A, B, and C respectively, what sequence is required?
SPI serial communication protocol
Hard
A.Shift , pulse the latch, then shift and
B.Shift , pulse the latch, then shift and
C.Shift , , using 36 clocks, then pulse the latch
D.Shift , , using 36 clocks, then pulse the latch
Correct Answer: Shift , , using 36 clocks, then pulse the latch
Explanation:
The bits shifted first propagate to the farthest device. Therefore, C's word is sent first, followed by B's and then A's, before one common latch pulse.
Incorrect! Try again.
49Two I2C controllers begin simultaneously and transmit identical address and data bits until one sends a logic 1 while the other sends a logic 0. What happens at that bit?
Bus arbitration and addressing
Hard
A.Both controllers abort because any simultaneous transmission is invalid
B.The controller sending 0 loses because dominant-low indicates a collision
C.Both controllers continue because arbitration ends after the address byte
D.The controller sending 1 loses because it observes 0 while SCL is high
Correct Answer: The controller sending 1 loses because it observes 0 while SCL is high
Explanation:
I2C uses wired-AND arbitration. A controller that releases SDA for a 1 but observes the dominant 0 has lost arbitration and must stop transmitting.
Incorrect! Try again.
50A datasheet lists an I2C device's write address as 0xA0 and read address as 0xA1. What 7-bit address should be passed to an API that accepts the address separately from the read/write direction?
Bus arbitration and addressing
Hard
A.0xA0
B.0x51
C.0x50
D.0xA1
Correct Answer: 0x50
Explanation:
The listed values include the read/write bit. Shifting either address right by one gives the 7-bit device address 0x50.
Incorrect! Try again.
51A logic analyzer decodes an I2C NACK, but the controller reports that an ACK was received. An oscilloscope shows SDA rising slowly and crossing the analyzer threshold before crossing the controller's guaranteed input-high threshold. What is the most likely cause?
Protocol analyzers and debugging
Hard
A.The bus pull-up is too weak for its total capacitance
B.The controller is losing multi-controller arbitration
C.The analyzer is interpreting a repeated START as a STOP
D.The target is using an unsupported 10-bit address
Correct Answer: The bus pull-up is too weak for its total capacitance
Explanation:
A slow SDA rise can be interpreted differently by instruments with different thresholds. Reducing pull-up resistance or bus capacitance improves rise time and logic-level margin.
Incorrect! Try again.
52Rare RS485 frame failures occur only when a nearby motor starts. A digital analyzer shows syntactically valid bytes but occasional CRC errors. Which measurement is most useful for identifying the physical-layer cause?
Protocol analyzers and debugging
Hard
A.Measure differential voltage and common-mode voltage at the receiver
B.Measure the controller's CPU utilization during each failed frame
C.Measure only the transmitter-enable signal with respect to logic ground
D.Measure only decoded byte timing with a deeper digital capture
Correct Answer: Measure differential voltage and common-mode voltage at the receiver
Explanation:
Motor switching can create differential noise or excessive common-mode shifts that a digital decoder hides. Analog measurements at the receiver reveal signal margin and transceiver-limit violations.
Incorrect! Try again.
53A Modbus RTU link runs at 9600 baud with 11 transmitted bits per character. Using the 3.5-character frame-separation rule, what minimum silent interval is required?
Interfacing industrial modules using Modbus and RS485
Hard
A.Approximately 4.01 ms
B.Approximately 3.65 ms
C.Approximately 1.56 ms
D.Approximately 2.01 ms
Correct Answer: Approximately 4.01 ms
Explanation:
One character takes seconds. Thus, ms.
Incorrect! Try again.
54A Modbus RTU implementation computes a CRC value of 0x4B37 for a frame. In what order must the CRC bytes be transmitted?
Interfacing industrial modules using Modbus and RS485
Hard
A.0x73 followed by 0xB4
B.0x37 followed by 0x4B
C.0xB4 followed by 0x73
D.0x4B followed by 0x37
Correct Answer: 0x37 followed by 0x4B
Explanation:
Modbus RTU transmits the low-order CRC byte first, so 0x37 precedes 0x4B.
Incorrect! Try again.
55A half-duplex RS485 Modbus network uses a single linear cable with several short device stubs. Which termination and bias arrangement is generally correct?
Interfacing industrial modules using Modbus and RS485
Hard
A.Terminate every device and place bias resistors at both cable ends
B.Terminate no devices and rely on each transceiver's input hysteresis
C.Terminate both physical cable ends and bias the bus at one controlled point
D.Terminate only the master and place bias resistors at every slave
Correct Answer: Terminate both physical cable ends and bias the bus at one controlled point
Explanation:
Termination belongs at both ends of the main transmission line. A single coordinated bias network establishes a known idle state without excessive loading.
Incorrect! Try again.
56A character LCD is connected through a PCF8574-style quasi-bidirectional I2C expander. Why must firmware write logic 1 to the expander pin connected to LCD D7 before reading the LCD busy flag?
I2C LCD and OLED display interfacing
Hard
A.Writing 1 generates the LCD enable pulse without another write
B.Writing 1 releases the pin so the LCD can drive its state
C.Writing 1 selects the LCD's instruction register automatically
D.Writing 1 converts the expander pin into a push-pull input
Correct Answer: Writing 1 releases the pin so the LCD can drive its state
Explanation:
A quasi-bidirectional pin written low continues pulling the line low. Writing 1 weakly releases it, allowing the LCD to drive D7 during the read cycle.
Incorrect! Try again.
57A 128 by 64 monochrome OLED uses a 1024-byte framebuffer over 400 kHz I2C. One address byte and one control byte are sent per frame, and every transmitted byte requires 9 clock pulses including ACK. Ignoring START and STOP timing, what is the maximum full-frame update rate?
I2C LCD and OLED display interfacing
Hard
A.Approximately 43.3 frames/s
B.Approximately 390.6 frames/s
C.Approximately 48.8 frames/s
D.Approximately 24.4 frames/s
Correct Answer: Approximately 43.3 frames/s
Explanation:
A frame requires clocks. The update rate is frames/s.
Incorrect! Try again.
58A logger samples eight 16-bit channels at 50 ksample/s per channel. Its storage device can stall for 120 ms. What minimum usable buffering is required solely to absorb data produced during the stall?
High-speed data logging systems
Hard
A.80 kB
B.48 kB
C.96 kB
D.120 kB
Correct Answer: 96 kB
Explanation:
The stream rate is bytes/s. A 120 ms stall produces bytes.
Incorrect! Try again.
59A data source produces 4 MB/s continuously. Storage writes at 20 MB/s when active but may pause for 200 ms once every 5 seconds. Assuming no other overhead, which buffer size is the minimum needed to survive one pause while remaining sustainable afterward?
High-speed data logging systems
Hard
A.4.0 MB
B.0.8 MB
C.1.0 MB
D.0.4 MB
Correct Answer: 0.8 MB
Explanation:
During a 200 ms pause, the source generates MB. Afterward, the 16 MB/s net write surplus drains the backlog well before the next pause.
Incorrect! Try again.
60A logger timestamps records with a 32-bit unsigned microsecond counter. Which method correctly handles a single counter wrap when computing the interval between consecutive records?
High-speed data logging systems
Hard
A.Reset the counter whenever its most significant bit changes from 0 to 1
B.Use unsigned subtraction and ensure fewer than microseconds separate records
C.Use signed subtraction and ensure fewer than microseconds separate records
D.Treat every new timestamp smaller than the previous one as invalid data
Correct Answer: Use unsigned subtraction and ensure fewer than microseconds separate records
Explanation:
Unsigned modular subtraction computes the correct elapsed interval across one wrap. It becomes ambiguous if one or more complete counter periods can occur between records.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →