Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to communicate with ATECC508A in Linux via i2c directly? #1

Open
paclema opened this issue Nov 30, 2017 · 1 comment
Open

how to communicate with ATECC508A in Linux via i2c directly? #1

paclema opened this issue Nov 30, 2017 · 1 comment

Comments

@paclema
Copy link

paclema commented Nov 30, 2017

Hello,
I am developing an IoT device using your ATECC508A and AWS IoT service. I have the chip connected via I2C to a Chip pro board based on Debian.

Although there is some documentation here using the SAMG55 Xplained Pro board to make a JITR with AWS, I don't have many clues to use the ATECC508A connected directly to a Debian board using I2C without use in between the MCU ATSAMG55-XPRO. I am also using Python and Boto3 library to manage AWS services from the Chip pro Debian board and develop the board firmware.

Thank you in advance!

@bryan-hunt
Copy link

Cryptoauthlib which is the core library for using the ATECC508A does also feature a linux userspace i2c driver you can use. We don't have a cython interface for cryptoauthlib so if you want to make calls into the resulting c library directly from python you would end up using ctypes. There are a number of options however for building an interface for you final application and depend on your needs. Some options would be a cython module that provides just the operations you require, a compiled shell application that does the authentication steps, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants