Lightweight driver for Microchip Crypto Authentication secure elements written in pure python for micropython.
WARNING: this project is in beta stage and is subject to changes of the code-base, including project-wide name changes and API changes.
- Allows PyBoard to control Microchip Crypto Authentication secure elements
- TESTS:
MicroPython v1.9.4-575-g6ea6c7cc9-dirty on 2018-09-25; PYBv1.1 with STM32F405RG
Type "help()" for more information.
>>> import atecc508a
INFO:atecc508a <ATECC508A address=0x60 retries=20>
INFO:atecc508a INFO SUCCEDED
INFO:atecc508a SHA SUCCEDED
INFO:atecc508a RANDOM SUCCEDED
>>>
Enable DEBUG:
import logging
logging.basicConfig(level=logging.DEBUG)
import atecc508a
Only for tests: 'logging' already available into folder 'micropython-lib' of this repository
- Copy 'cryptoauthlib' into PyBoard's filesystem
Currently supported commands are:
- INFO
- SHA
- RANDOM
Currently supported devices are: