3.7.4 SPI Configuration Modification Procedure
Use the following procedure to configure SPI:
- Send the CNFG_SetSPIConfiguration 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 SPI setting values the current setting:
- Send the CNFG_SetEEPROMAsCurrent command through Endpoint 0x05 (OUT)
