|
|
2 лет назад | |
|---|---|---|
| .. | ||
| main | 2 лет назад | |
| CMakeLists.txt | 3 лет назад | |
| README.md | 4 лет назад | |
| sdkconfig.defaults | 5 лет назад | |
| Supported Targets | ESP32 |
|---|
(See the README.md file in the upper level 'examples' directory for more information about examples.)
This example requires ESP32-WROOM-32SE which has Microchip's ATECC608A (Secure Element) integrated on the module.
The example performs ECDSA sign/verify functions on sample data using hardware private key stored in ATECC608A chip. If you want to use bare ATECC608A chip (Secure Element) with ESP32-WROOM-32 module by making external connections, please refer this for details.
Before project configuration and build, be sure to set the correct chip target using idf.py set-target <chip_name>.
To get started you will need a ESP32-WROOM-32SE development board which integrates Microchip’s ATECC608A CryptoAuth chip in the module.
ATECC608A IC.ATECC608A chip on ESP32-WROOM-32SE should be configured to run the example, for details on configuration of ATECC608A chip, please refer esp_cryptoauth_utility
Open the project configuration menu (idf.py menuconfig).
In the Component config -> esp-cryptoauthlib menu:
Choose the type of ATECC608A chip to set the Crypto IC type [1].Enable Hardware ECDSA keys for mbedTLS Enable Hardware ECDSA.
Enable ATECC608A sign operations in mbedTLS to use Hardware ECDSA sign.Enable ATECC608A verify operations in mbedTLS to use Hardware ECDSA verify.I2C SDA pin used to communicate with the ATECC608A.I2C SCL pin used to communicate with the ATECC608A.[1]: for more details refer Find ATECC608A chip type.
Build the project and flash it to the board, then run the monitor tool to view the serial output:
Run idf.py -p PORT flash monitor to build, flash and monitor the project.
(To exit the serial monitor, type Ctrl-].)
See the Getting Started Guide for all the steps to configure and use the ESP-IDF to build projects.
For any technical queries, please open an issue on GitHub. We will get back to you soon.