3.7.3 I2C Configuration Modification Procedure

Use the following procedure to configure I2C:

  • Send the CNFG_SetI2CConfiguration command through Endpoint 0x05 (OUT)
  • Read the response through Endpoint 0x85 (IN)

The possible responses are as follows:

  • The command is accepted and executed successfully
  • The command is rejected because the configurations are locked
  • The command is rejected because the parameters are invalid

    If the response is rejected because parameters are invalid, retry with valid parameters.

    If the response is rejected as “Configurations are Locked”, try again after unlocking the configuration.

    If the response is accepted and successful, the I/O pins configurations are saved in EEPROM.

To make these I2C setting values the current setting:

  • Send the CNFG_SetEEPROMAsCurrent command through Endpoint 0x05 (OUT)