3.6.12 CNFG_GetI2CConfiguration
Command and its Response
The CNFG_GetI2CConfiguration command (0xAB) reads the
I2C Configuration from SRAM or NVM:
- bSource → 0x00 = SRAM; 0x01 = NVM
This command is sent through Endpoint 0x05 (OUT). The response is read through Endpoint 0x85 (IN).
| Byte Index | Command | Description | |
|---|---|---|---|
|
0 |
|
Command code | Returns the I2C configuration from SRAM or NVM |
| 1 |
|
bSource: SRAM NVM | |
| Byte Index | Response | Description | |
|---|---|---|---|
| 0 | 0xAB | Echo command code | Returns the I2C configuration from SRAM or NVM |
| 1 | 0x21 | Accepted | Command is accepted |
| 2 |
| Speed: 100 kHz 400 kHz 1 MHz | I2C clock frequency |
| 3 |
|
Timeout: 1 ms 2 ms …. 250 ms | I2C clock-stretch timeout |
