[riot-notifications] [RIOT-OS/RIOT] Wrong I2C address for ATECC (cryptoauthlib) (#14001)
notifications at github.com
Mon May 4 11:16:57 CEST 2020
> > I also thought about the platform
> And did you go further than thinking about it :-)? I have used the ATECC5/608A with a samr21-xpro and a nucleo-f410rb so far, worked like charm.
Just tried it with a blackpill. Unfortantly, I don't have another board supported by RIOT.
Similar behavior. Unfortunately, I only get some kind of response with `I2C_SPEED_FAST`. `I2C_SPEED_NORMAL` results in no response at all.
> So you don't have an "official" breakout board available for reference? What are the I2C pins on the nRF52832? Did you use the development board from Nordic? Did you consider pull-ups on the I2C lines, does the Nordic have "strong-enough" ones?
No, I don't have one. P0.27 SCL, P0.26 SDA. No official Nordic DK, just [this module](https://www.aliexpress.com/item/32842089988.html?spm=a2g0s.90423184.108.40.206424c4dDEC4Xv) with a [breakout board](https://www.aliexpress.com/item/32843208710.html?spm=a2g0s.90423220.127.116.11424c4dDEC4Xv).
Yes, I considered using pull-ups on 3.3V and 5V with 1.2 kΩ resistors like [mentioned in the docs](http://ww1.microchip.com/downloads/en/DeviceDoc/ATECC608A-CryptoAuthentication-Device-Summary-Data-Sheet-DS40001977B.pdf).
Unfortunately, with pull-ups the IC is not responding. I guess the IC is not able to pull the lines down. I will try it with higher resistance. I checked it with resistor and without resistor. The level without pull ups is ~ 2.95V - 3.1V. While with pull-ups 3.3V - 3.4V.
I [uploaded the data of the logic analyzer.](https://ufile.io/f/3ttmx) (Salea)
setup_crypto_nrf52_I2C_SPEED_FAST.logicdata = I2C bus with speed `I2C_SPEED_FAST` and no pull-ups.
setup_crypto_nrf52_I2C_SPEED_NORMAL.logicdata = I2C bus with speed `I2C_SPEED_NORMAL` and no pull-ups.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications