#I run this code ```# SPDX-
1 messages · Page 1 of 1 (latest)
that looks like the example from the library:
https://github.com/adafruit/Adafruit_CircuitPython_ATECC/blob/main/examples/atecc_simpletest.py
it's working here:
Adafruit CircuitPython 8.2.9 on 2023-12-06; Adafruit QT2040 Trinkey with rp2040
>>> import test
ATECC Serial: 0123A3B16C97546FEE
Random Value: 1016
ATECC Counter #1 Value: bytearray(b'\x05\x00\x00\x00')
Appending to the digest...
Appending to the digest...
SHA Digest: bytearray(b'\x03\x1e\xdd}Ae\x15\x93\xc5\xfe\\\x00o\xa5u+7\xfd\xdf\xf7\xbcN\x84:\xa6\xaf\x0c\x95\x0fK\x94\x06')
>>>
it's weird the address only showed up one output
here's what i get:
Checking board.I2C()...ADDED.
Checking board.STEMMA_I2C()...ADDED.
Checking busio.I2C(board.GP1, board.GP0)...SKIPPED: 'module' object has no attribute 'GP1'
----------------------------------------
I2C SCAN
----------------------------------------
board.I2C() addresses found: ['0x60']
board.STEMMA_I2C() addresses found: ['0x60']
board.I2C() addresses found: ['0x60']
board.STEMMA_I2C() addresses found: ['0x60']
which is expected, since board.I2C() and board.STEMMA_I2C() are the same on this board
I have the same addresses
you posted this earlier:
board.I2C() addresses found: []
board.STEMMA_I2C() addresses found: ['0x60']
it didn't show up in the first scan
you are using one of these cables to connect the ATECC to the Trinkey?
https://www.adafruit.com/product/4210
and the i2c scan has the same behavior with all configurations?
I didn't try the i2c scan with all configurations I will do that tomorrow
it could also be somehow power related, so maybe also try different USB ports
ok I will test each configuration in more detail tomorrow. Thanks for the help !
I will let you know if it works or not
I will sleep because I'm a French student and I need to be rested for tomorrow 😅
not sure, since can't recreate the behavior locally
what happens if you run the example from the library?
https://github.com/adafruit/Adafruit_CircuitPython_ATECC/blob/main/examples/atecc_simpletest.py
Sorry for the long wait, I'm a student so I'm working on other projects ^^
what do you mean about that ?