-
Notifications
You must be signed in to change notification settings - Fork 370
Description
I'm having trouble getting adequate i2c speed with the MCP2221.
According to the datasheet:
The I2C/SMBus Master module has the following capabilities:
• sending/receiving data at a multitude of bit rates, up to 400 kbps
But interacting with i2c devices seems to be rate limited by something. For example, in my testing I am only able to write to my connected devices ~125 times per second. I think this is an order of magnitude slower than the expected performance but I could be wrong.
Critically, this forum post: MCP2221A has 30ms of latency per write seems to indicate there is no such latency when using the MCP2221 Command Line Interface provided my Microchip. Unfortunately that tool seems to be windows only, so I cannot test it myself (on a Mac).
This is my first time using GitHub so please forgive me!