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).

Table 3-29. CNFG_GetI2CConfiguration - Command
Byte IndexCommandDescription

0

0xAB

Command code

Returns the I2C configuration from SRAM or NVM
1

0x00

0x01

bSource: SRAM

NVM

Table 3-30. CNFG_GetI2CConfiguration - Response
Byte IndexResponseDescription
00xABEcho command codeReturns the I2C configuration from SRAM or NVM
10x21AcceptedCommand is accepted
2

0x70

0x16

0x04

Speed: 100 kHz

400 kHz

1 MHz

I2C clock frequency
3

0x01

0x02

0xFA

Timeout: 1 ms

2 ms

….

250 ms

I2C clock-stretch timeout