5.1.6 I2C_BusRecovery Command and its Response
The I2C_BusRecovery command (0x4E) generates up to nine clock pulses on
the SCL line and attempts to issue an I2C Stop condition.
This command is typically used after a clock-stretch timeout or when the I²C bus does not return to the Idle state.
This command is sent through Endpoint 0x03 (OUT) and the response is read through Endpoint 0x83 (IN).
| Byte Index | Command | Description | |
|---|---|---|---|
| 0 | 0x4E | Command code | Attempts I2C bus recovery by generating up to nine SCL clock pulses and issuing an I²C STOP condition |
| Byte Index | Response | Description | |
|---|---|---|---|
| 0 | 0x4E | Return command code | Returns whether the command code was accepted |
| 1 | 0x20
| Accepted – success | Bus recovery completed successfully; the I2C bus is released and in the idle state |
0x60 | Rejected – no ClkLowTimeout | Rejected because no clock-stretch timeout has occurred | |
0x8C | Accepted – failure | The I2C bus is not released and is not in the idle state | |
