5.4 Configure I2C Packet
The Configure I2C Packet configures the I2C/SMBus interface settings as part of the packet sequence, providing the same settings as the Peripherals I2C/SMBus section.
| Field | Description | Validation |
|---|---|---|
| Speed | The I2C bus speed (drop-down) | Predefined speed options (e.g., 100 kHz, 400 kHz, 1 MHz) |
| Clock Stretch Timeout | The maximum time the device waits for clock stretching | An integer from 1 to 250 ms, in increments of 1 ms |
The Clock Stretch Timeout field displays a validation icon:
| Icon State | Tooltip | Notes |
|---|---|---|
| Editing | “Click to validate timeout value.” | Shown while the user is editing the field |
| Error | “Clock stretch timeout must be a positive value, up to 250 ms, in increments of 1 ms.” | Shown after validation detects errors |
Fastpath: Pressing <Enter> or clicking away from the field triggers validation.
