MCP2221A: RuntimeError: I2C slave address was NACK'd
See original GitHub issueTrying to use the Adafruit ATECC608 Breakout with the Adafruit MCP2221A Breakout on Linux:
>>> import board
>>> import busio
>>> from adafruit_atecc.adafruit_atecc import ATECC, _WAKE_CLK_FREQ
>>> i2c = busio.I2C(board.SCL, board.SDA,frequency=_WAKE_CLK_FREQ)
>>> atecc = ATECC(i2c)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/fgallaire/.local/lib/python3.5/site-packages/adafruit_atecc/adafruit_atecc.py", line 132, in __init__
self._i2c_device = I2CDevice(self._i2c_bus, address)
File "/home/fgallaire/.local/lib/python3.5/site-packages/adafruit_bus_device/i2c_device.py", line 68, in __init__
self.__probe_for_device()
File "/home/fgallaire/.local/lib/python3.5/site-packages/adafruit_bus_device/i2c_device.py", line 168, in __probe_for_device
self.i2c.writeto(self.device_address, b'')
File "/home/fgallaire/.local/lib/python3.5/site-packages/busio.py", line 87, in writeto
return self._i2c.writeto(address, buffer, stop=stop)
File "/home/fgallaire/.local/lib/python3.5/site-packages/adafruit_blinka/microcontroller/mcp2221/i2c.py", line 13, in writeto
self._mcp2221.i2c_writeto(address, buffer, start=start, end=end)
File "/home/fgallaire/.local/lib/python3.5/site-packages/adafruit_blinka/microcontroller/mcp2221/mcp2221.py", line 274, in i2c_writeto
self._i2c_write(0x90, address, buffer, start, end)
File "/home/fgallaire/.local/lib/python3.5/site-packages/adafruit_blinka/microcontroller/mcp2221/mcp2221.py", line 205, in _i2c_write
raise RuntimeError("I2C slave address was NACK'd")
RuntimeError: I2C slave address was NACK'd
Issue Analytics
- State:
- Created 4 years ago
- Comments:37 (13 by maintainers)
Top Results From Across the Web
Read AMG8833 to Python3 - Page 2 - Adafruit forums
How can the ADXL335 data captured with the MCP2221? (seems to be an analog signal, ... raise RuntimeError("I2C slave address was NACK'd")
Read more >[SOLVED] I2C responds NACK every time
Hi, i'm using PIC16F18323 with MPLAB X IDE V3.60. I send i write command by an Arduino UNO to the PIC, but the...
Read more >MCP2221A - TME.eu.
The MCP2221A is a USB-to-UART serial converter that enables USB connectivity in applications that have. UART and/or I2C interfaces. The device reduces external ......
Read more >CircuitPython Basics: I2C and SPI - Digikey
The I2C protocol uses a 7-bit address assigned to each device as a way for the development board to talk to a specific...
Read more >MCP2221 I2C Demonstration Board User's Guide - Verical
4.3 I2C Slave Addresses . ... application to I2C slave devices by using the MCP2221 device as a USB to I2C master converter...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Self assigned for tracking. Will try and take a look at some point.
@makermelissa I think at this point it’s unclear how universal of a fix this is. Waiting for feedback from people per @ladyada 's suggestion above.