OhmsCode.
CURRICULUM / ORIGINAL PRACTICE

Communication interfaces

Diagnose UART, I2C and SPI with explicit timing and electrical assumptions.

Read the signals, not just the symptoms.

Work through the assumptions, explain the mechanism, and connect it to a practical test. The questions below cover communication interfaces within the junior embedded firmware role.

Start by writing what you expect, then identify what observation would prove you wrong. Keep target-specific behavior separate from portable C reasoning.

Try it before your sprint.

Public samples reveal deterministic explanations after you submit. Open-ended answers require a verified account to submit.

Explore six samples
Status#TitleTopicTypeDifficultyAcceptance
Not attempted3I2C line stays highCommunication interfacesMCQEasy—
Not attempted4SPI chip-select boundaryCommunication interfacesMCQEasy—
Not attempted10UART wire timeFREECommunication interfacesNumericEasy—
Not attempted13I2C byte clocksCommunication interfacesNumericEasy—
Not attempted19SPI transfer budgetCommunication interfacesNumericEasy—
Not attempted23Decode network byte orderCommunication interfacesC codeMedium—
Not attempted28Validate a length prefixCommunication interfacesC codeMedium—
Not attempted33I2C stuck after resetFREECommunication interfacesDebugMedium—
Not attempted34SPI shifted by one bitCommunication interfacesDebugMedium—
Not attempted43CRC-8 over a bounded packetCommunication interfacesC codeMedium—
Not attempted87I2C target only appears at a shifted addressCommunication interfacesDebugMedium—
Not attempted88UART bytes fail only after baud reconfigurationCommunication interfacesDebugMedium—
Not attempted89RS-485 reply starts with a missing byteCommunication interfacesDebugMedium—
Not attempted90SPI receives one stale byte before each answerCommunication interfacesDebugMedium—
Not attempted91Two SPI targets fight MISOCommunication interfacesDebugMedium—
Not attempted92CAN has valid-looking frames but no ACKCommunication interfacesDebugMedium—
Not attempted93CAN reception collapses at the long cableCommunication interfacesDebugMedium—
Not attempted94A binary UART packet stops at zeroCommunication interfacesDebugMedium—
Not attempted95A length prefix requests unbounded storageCommunication interfacesDebugMedium—
Not attempted96Retries execute the actuator command twiceCommunication interfacesDebugMedium—
Not attempted97I2C reads stale conversion resultsCommunication interfacesDebugMedium—
Not attempted98USB descriptors pass locally but fail another hostCommunication interfacesDebugMedium—
Not attempted162I2C address representationCommunication interfacesMCQEasy—
Not attempted163An I2C NACK is evidence, not a diagnosisCommunication interfacesMCQEasy—
Not attempted164UART transfer complete versus data emptyCommunication interfacesMCQEasy—
Not attempted165SPI dummy clocksCommunication interfacesMCQEasy—
Not attempted166Classical CAN arbitrationCommunication interfacesMCQEasy—
Not attempted167CAN acknowledgement semanticsCommunication interfacesMCQEasy—
Not attempted168RS-485 and message framingCommunication interfacesMCQEasy—
Not attempted169A CRC is not a retransmission policyCommunication interfacesMCQEasy—
Not attempted170I2C clock stretchingCommunication interfacesMCQEasy—
Not attempted171USB endpoint zeroCommunication interfacesMCQEasy—
Not attempted203UART payload rate with framingCommunication interfacesNumericEasy—
Not attempted204I2C combined-read clock countCommunication interfacesNumericEasy—
Not attempted205SPI command plus dummy phaseCommunication interfacesNumericEasy—
Not attempted206CAN utilization under a supplied frame lengthCommunication interfacesNumericEasy—
Not attempted207Parallel CAN terminatorsCommunication interfacesNumericEasy—
Not attempted208RS-485 reply guard intervalCommunication interfacesNumericEasy—
Not attempted209Receiver flow-control headroomCommunication interfacesNumericEasy—
Not attempted263A UART receive framing state machineCommunication interfacesExplainMedium—
Not attempted264Designing I2C recovery ownershipCommunication interfacesExplainMedium—
Not attempted265SPI timing across chip selectCommunication interfacesExplainMedium—
Not attempted266Half-duplex RS-485 turnaroundCommunication interfacesExplainMedium—
Not attempted267CAN bus-off recovery policyCommunication interfacesExplainMedium—
Not attempted268CAN application-level command reliabilityCommunication interfacesExplainMedium—
Not attempted269Choosing a packet checksumCommunication interfacesExplainMedium—
Not attempted270An asynchronous driver completion contractCommunication interfacesExplainMedium—
Not attempted271UART flow control under burstsCommunication interfacesExplainMedium—
Not attempted272I2C repeated START as a transaction boundaryCommunication interfacesExplainMedium—
Not attempted273USB enumeration failure evidenceCommunication interfacesExplainMedium—
Not attempted274Packet sequence wraparoundCommunication interfacesExplainMedium—
Not attempted275Sensor data readiness versus bus completionCommunication interfacesExplainMedium—
Not attempted276Baud-rate error budgetCommunication interfacesExplainMedium—
Not attempted348I2C rise-time trade-offCommunication interfacesExplainEasy—
Not attempted349UART error localizationCommunication interfacesExplainEasy—
Not attempted385A Modbus reply is accepted for a newer requestCommunication interfacesDebugMedium—
Not attempted386A retained MQTT command replays after rebootCommunication interfacesDebugMedium—
Not attempted387One TCP read is assumed to be one messageCommunication interfacesDebugMedium—
Not attempted388A certificate workaround accepts an impostorCommunication interfacesDebugMedium—
Not attempted389An unknown optional field breaks old firmwareCommunication interfacesDebugMedium—
Not attempted390CAN FD length fifteen truncates application dataCommunication interfacesDebugMedium—
Not attempted438Modbus RTU checksum byte orderCommunication interfacesMCQEasy—
Not attempted439A Modbus response is an exceptionCommunication interfacesMCQEasy—
Not attempted440I2C arbitration differs from NACKCommunication interfacesMCQEasy—
Not attempted441Ten-bit I2C addressingCommunication interfacesMCQEasy—
Not attempted442SPI has no universal acknowledgementCommunication interfacesMCQEasy—
Not attempted443Classical CAN versus CAN FD payloadCommunication interfacesMCQEasy—
Not attempted444CAN identifier is not a source address by defaultCommunication interfacesMCQEasy—
Not attempted445TCP preserves bytes rather than writesCommunication interfacesMCQEasy—
Not attempted446UDP reliability contractCommunication interfacesMCQEasy—
Not attempted447MQTT duplicate processingCommunication interfacesMCQEasy—
Not attempted448An expired TLS certificateCommunication interfacesMCQEasy—
Not attempted449BLE advertising is not a connectionCommunication interfacesMCQEasy—
Not attempted476Modbus RTU minimum silent intervalCommunication interfacesNumericEasy—
Not attempted477COBS packet storage under a given boundCommunication interfacesNumericEasy—
Not attempted478DMA UART idle buffer deadlineCommunication interfacesNumericEasy—
Not attempted479CAN FD payload efficiency in a stated frameCommunication interfacesNumericEasy—
Not attempted480TCP header reassembly capacityCommunication interfacesNumericEasy—
Not attempted481RS-485 receiver turnaround slackCommunication interfacesNumericEasy—
Not attempted482A bounded telemetry retransmissionCommunication interfacesNumericEasy—
Not attempted483BLE advertising duty under a supplied modelCommunication interfacesNumericEasy—
Not attempted543A Modbus client matches delayed responsesCommunication interfacesExplainMedium—
Not attempted544MQTT retained command safetyCommunication interfacesExplainMedium—
Not attempted545A streaming parser spans TCP readsCommunication interfacesExplainMedium—
Not attempted546A TLS device starts without trusted timeCommunication interfacesExplainMedium—
Not attempted547Versioning a binary firmware protocolCommunication interfacesExplainMedium—
Not attempted548An I2C bus crosses voltage domainsCommunication interfacesExplainMedium—