Module capsules_extra::atecc508a
source · Expand description
Capsule for interfacing with the ATECC508A CryptoAuthentication Device using the I2C bus.
https://ww1.microchip.com/downloads/en/DeviceDoc/20005928A.pdf
The device requires at least 60us of the SDA pin being pulled low to power on. So before any I2C commands can be issued the SDA pin must be pulled low.
The ATECC508A is shipped in an unlocked state. That is, the configuration can be changed. The ATECC508A is practically usless while it’s unlocked though. Even the random number generator only returns 0xFF, 0xFF, 0x00, 0x00 when the device is unlocked.
Locking the device is permanant! Once the device is locked it can not be unlocked. Be very careful about locking the configurations. In saying that the device must be locked before it can be used.
Look at the setup_and_lock_tock_config()
function for an example of
setting up the device.