3.6.9 CNFG_SetIOConfiguration Command and its Response

The CNFG_SetIOConfiguration command (0xA1) saves the I/O configuration to NVM.

This command is sent through Endpoint 0x05 (OUT). The response is read through Endpoint 0x85 (IN).

Table 3-23. CNFG_SetIOConfiguration - Command
Byte IndexCommandDescription
00xA1Command codeSaves the I/O pin configuration to NVM
1bIO0SIO0 configuration Refer to the IO0 setting register
2bIO1SIO1 configurationRefer to the IO1 setting register
3bIO2SIO2 configurationRefer to the IO2 setting register
4bIO3SIO3 configurationRefer to the IO3 setting register
5bIO4SIO4 configurationRefer to the IO4 setting register
6bIO5SIO5 configurationRefer to the IO5 setting register
Table 3-24. CNFG_SetIOConfiguration - Response
Byte IndexResponseDescription
00xA1Echo command codeReturns whether the CNFG_IOConfiguration command was accepted
10x20Accepted - success Accepted, and the I/O configuration to NVM is saved
0x60Rejected - invalid configurationRejected because the configuration is invalid
0x64Rejected - lockedRejected because the device is locked
0x90Failure - unsuccessful NVM writeSaving to NVM failed; retry