VL
Initializing Lab Environment...

Wired Protocols (I²C, SPI, UART, RS-485, USB, CAN)

I²C Bus (Inter-Integrated Circuit) Sandbox
Master MCUTX: 'T'2 wires (SCL, SDA) + Pull-up Resistors~1–3 m (PCB / short cable)Target NodeRX: 'T' ✓
Real Data Packet (7 bytes · Click byte to inspect)Active: 'T' (0x54)
SCL (Clk)STARTADDR 0x50WACKDATA 0x54ACKSTOPSDA (Data)Protocol Frame Timing →
Master / TXSlave / RXSTART + Addr (0x50) + Wt=0ACK (SDA pulled Low)90µsDATA 'T' (0x54)100µsACK + STOP190µs
Frame Breakdown — 'T' (0x54 / 01010100)
STARTSCL=1, SDA↓Master pulls SDA low while SCL is high
Address + R/W0x50 + 0Selects target slave device & Write mode
ACK0 (Low)Slave pulls SDA low on 9th clock to confirm
Data + STOP0x54 + SDA↑8-bit payload followed by STOP condition

Select Protocol

Wires:2 wires (SCL, SDA) + Pull-up Resistors
Topology:Multi-master / Multi-slave (up to 127 devices)
Max Range:~1–3 m (PCB / short cable)
Bit Time10.00 µs
Effective Throughput42.1 kbps

Parameters

8119
kHz
50400

I²C Bus (Inter-Integrated Circuit)

I2C

Every wired protocol trades off wire count, speed, distance, and noise immunity. Inspect the live logic-analyzer timing waveforms and see how each parameter changes frame timing.

fSCL=100 kHz  ⟹  Tbit=10.00 μsf_{SCL} = 100\text{ kHz} \implies T_{\text{bit}} = 10.00\text{ }\mu\text{s}

Whiteboard Solver Steps

Step 1

1. Open-Drain SCL & SDA Synchronization

Both SCL (clock) and SDA (data) use pull-up resistors. Data on SDA must stay stable while SCL is HIGH—except for START and STOP.

fSCL=100 kHzf_{SCL} = 100\text{ kHz}
Step 2

2. Addressing & ACK Handshake

Every byte requires an extra ACK clock cycle, so transmitting 1 byte takes 19 clock periods (190.0 µs).

Payload Efficiency=819≈42.1%\text{Payload Efficiency} = \frac{8}{19} \approx 42.1\%