I2C on ISH/PCH [windows SPB framework extension]

Hi ,

i went through this link [https://www.osr.com/nt-insider/2016-issue1/intro-to-spb-devices-and-drivers/]

I have a i2c slave device connected to PCH [platform controller Hub]/[Integrated Sensor Hub].

requirement: -

I need to access [i2c slave device] from Windows application [windows 10 OS].

Windows application<–windows 10 os–>main intel chip ← OPI → PCH ← I2C → i2c client device.

things i need to do:-

in this regard, i have the following questions

[1]. Add node [related to I2C slave details] in the ACPI statically.

[2]. I2C controller is connected to this slave device and each of the 3 I2C controllers already has device driver in windows 10. so there is no new driver needed.

[3] enable I2C through BIOS.

questions: -

[1] i have a i2c slave device connected to PCH and ACPI is correctly populated with correct node details [windows 10 2019H1]

is this example relevant [SPBcx] for my work

https://docs.microsoft.com/en-us/samples/microsoft/windows-driver-samples/skeleton-i2c-sample-driver/

[2] are SPBCx based example only way of accessing I2C slave connected to ISH/PCH, are there any other ready made tools which can access i2c slave [on top of windows 10 OS]?

Thanks

1 Like

i am novice in the windows driver related programming. Having said that,

few clarifications: -
[1] if i understand the https://docs.microsoft.com/en-us/samples/microsoft/windows-driver-samples/skeleton-i2c-sample-driver/ is KMDF driver ??
[2] Also i am confused between windows 10 and windows 10 IOT core. looks like these 2 are different and examples of windows 10 IOT core don’t run on the windows 10 ?
[3] And the top level applicaiton which i am planning to write is UMDF related. the **closest **i could find is this one [https://github.com/microsoft/Windows-driver-samples/blob/master/gpio/samples/simgpio_i2c/simgpio_i2c.c].
[4] i see there are 2 sets of tools SPBtool and I2CTestTool, i see they are designed for windows 10 IOT, can they be still used on windows 10 OS ?

Thanks