Hi,
I have two separate MCP2221A's. If I have both plugged in to the same laptop. I want to be able to issue I2C commands to chips connected to each's individual I2C bus. I can do this just fine when I have just one of the MCPs plugged in, but how can I have both connected over USB and be able to write to the slave devices on their busses separately?
Example: I want to have both MCPs connected over USBs, but only issue an I2C command to a specific slave device on one of the MCP's and do nothing with the other MCP at the time.
Running 2 MCP2221A devices
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- sj_remington
- Posts: 997
- Joined: Mon Jul 27, 2020 4:51 pm
Re: Running 2 MCP2221A devices
The Adafruit installation and operation guide does not appear to suggest that there is a mechanism to distinguish between two MCP2221A devices.
- adafruit_support_carter
- Posts: 29153
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Running 2 MCP2221A devices
The Adafruit libraries only support one MCP2221A. Huge discussion on this here:
https://github.com/adafruit/Adafruit_Blinka/pull/637
Could possibly use one of those forks?
https://github.com/adafruit/Adafruit_Blinka/pull/637
Could possibly use one of those forks?
Please be positive and constructive with your questions and comments.