5.1.2.4 Info - Write GPIO Output
The SWI device version of the ATECC608A-TFLXTLS has a single GPIO pin configured as an output buffer. The output will default to a LOW value upon device power-up. The value of this output can be changed by using the INFO Command in GPIO Write mode.
Note: This command is only available for the SWI devices and can not be used with
I2C devices
Upon successful completion the command will return a four byte response with the LSB indicating the value that the output was written to. If the command fails then a single error code byte will be returned.
Opcode |
Mode |
Param |
Data | Description |
---|---|---|---|---|
0x30 | 0x03 | 0x00 02 | — | Write a value of Zero to the GPIO Output |
0x03 | 0x00 03 | — | Write a value of One to the GPIO Output |
Name | Response | Description |
---|---|---|
Response | 0x00 00 00 00 | Successful return value if GPIO has been written to a 0 |
0x00 00 00 01 | Successful return value if GPIO has been written to a 1 | |
0xXX | Single Byte Error code upon failure |