This configures ATECC608A secure chip from ESP32 and get a public key corresponding to slot 0 private key,
and emits device unique ID represents as "0123xxxxxxxxxxxxee", 18 bytes long.
Due to chip's secure function, once if it has configured, you can't change config contents.
This code is for ATECC608A-SSHDA-T.
it's not compatible for ATECC608A-TNGTLS, ATECC608A-TFLXTLS and ATECC608-TCSTM.
Platformio with VS Code environment.
install "Espressif 32" platform definition on Platformio
Espressif ESP32-DevkitC
this project initializes both of I2C 0,1 port, and the device on I2C port 0 is absent.
pin assined as below:
I2C 0 SDA GPIO_NUM_18
I2C 0 SCL GPIO_NUM_19
I2C 1 SDA GPIO_NUM_21
I2C 1 SCL GPIO_NUM_22
Microchip ATECC608A(on I2C port 1)
"git clone --recursive " on your target directory.
you need to change a serial port number which actually connected to ESP32 in platformio.ini.
just execute "Upload" on Platformio.
This software is released under the MIT License, see LICENSE.