Windows i2c open-source libraries and tools available?

7-TNT 40 Reputation points
2023-03-17T20:25:48.8433333+00:00

I need access to the data stored within the i2c bus addresses on the motherboard through the Windows OS.

The addresses and data exists running the same platform using Linux i2ctools.

  1. How do I get to the data on the motherboards i2c bus through Windows? It must be possible.
  2. What Windows i2c open-source libraries and tools are there available?
  3. Are there Powershell/command line commands to dig into the i2c bus through Windows?
Windows for business | Windows 365 Enterprise
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. Wesley Li-MSFT 4,576 Reputation points Microsoft External Staff
    2023-03-20T03:28:49.3233333+00:00

    Hello

    Thank you for posting in our Q&A forum.

    Windows 10 includes some new APIs for direct user-mode access to the Inter-Integrated Circuit (I2C):

    https://learn.microsoft.com/en-us/windows/uwp/devices-sensors/enable-usermode-access

    Windows does not provide a tool to display I2C register addresses and their contents similar to the Linux i2c tool, however, there are third-party tools that can provide similar functionality:

    https://awesomeopensource.com/projects/i2c/windows

    For research on i2c using Powershell commands, you can take a look at this document:

    https://onion.io/2bt-digging-into-i2cget-and-i2cset/

    Best Regards


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.