3636* Adafruit CircuitPython firmware for the supported boards:
3737 https://github.com/adafruit/circuitpython/releases
3838
39- * Adafruit Bus Device library:
39+ * Adafruit Bus Device library:
4040 https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
4141
42- * Adafruit binascii library:
42+ * Adafruit binascii library:
4343 https://github.com/adafruit/Adafruit_CircuitPython_binascii
4444
4545"""
46+
4647import time
4748from struct import pack
4849
@@ -106,6 +107,7 @@ def _convert_i2c_addr_to_atecc_addr(i2c_addr=0x60):
106107 OP_WRITE : const (26 ),
107108}
108109
110+ # pylint: disable=line-too-long
109111"""
110112Configuration Zone Bytes
111113
@@ -122,13 +124,21 @@ def _convert_i2c_addr_to_atecc_addr(i2c_addr=0x60):
122124
123125I2C Config
124126
125- HEX DEC BIN Description
126- Byte 14: C0 192 1100 0000
127- ^xxx xxxx Bit 0 (MSB): 0:Single Wire, 1:I2C; Bit 1-7: Set by Microchip
128- Byte 16: C0 192 1100 0000 Default 7 bit I2C Address: 0xC0>>1: 0x60 ATECC608A-MAHDA
129- Byte 16: 6A 106 0110 1010 Default 7 bit I2C Address: 0x6A>>1: 0x35 ATECC608A-TNGTLS
130- Byte 16: 20 32 0010 0000 Default 7 bit I2C Address: 0x20>>1: 0x10 ATECC608A-UNKNOWN
127+ +------+-------+---------+-------------+---------------------------------------------------------------+
128+ | HEX | DEC | BIN | Description |
129+ +======+=======+=========+=============+===============================================================+
130+ | Byte 14: C0 | 192 | 1100 0000 | |
131+ | | | ^xxx xxxx | Bit 0 (MSB): 0:Single Wire, 1:I2C; Bit 1-7: Set by Microchip |
132+ +--------------+---------+-------------+---------------------------------------------------------------+
133+ | Byte 16: C0 | 192 | 1100 0000 | Default 7 bit I2C Address: 0xC0>>1: 0x60 ATECC608A-MAHDA |
134+ +--------------+---------+-------------+---------------------------------------------------------------+
135+ | Byte 16: 6A | 106 | 0110 1010 | Default 7 bit I2C Address: 0x6A>>1: 0x35 ATECC608A-TNGTLS |
136+ +--------------+---------+-------------+---------------------------------------------------------------+
137+ | Byte 16: 20 | 32 | 0010 0000 | Default 7 bit I2C Address: 0x20>>1: 0x10 ATECC608A-UNKNOWN |
138+ +--------------+---------+-------------+---------------------------------------------------------------+
139+
131140"""
141+
132142CFG_TLS = bytes (
133143 bytearray (
134144 unhexlify (
0 commit comments