1 Reply Latest reply on Apr 6, 2016 7:55 AM by Carlos_A

    Access Intel GPIO Controller driver in Windows 10 Home (Desktop) on Minnowboard Turbot

    KyranF Community Member


      I have a mostly finished application running on my Minnowboard Turbot which uses some complicated 3rd party libaries (OpenCV, PCL, Intel Realsense SDK) and it's all working fine, however I want to add some GPIO and I2C functionality using whatever standard/default interfaces are available. It turns out this is not easy at all, unless I go to Windows IoT which I am unsure about (if my complicated program will run or not).


      The Minnowboard Turbot (which is a Minnowboard MAX with some hardware revisions) has been running everything in x64 (BIOS, OS, my application etc) and I don't think the Intel Realsense SDK works with 32 bit. The reason I cannot just simply change over to Windows IoT to get easy GPIO/I2C access is that my other program/3rd party library dependencies may not agree with that choice.


      So my current issue is how do I connect to the Intel provided GPIO controller drivers (can be seen in the Minnowboard's device manager list) to do simple IO? It seems like I may need to use the IOCTL interface, but there is no documentation (that I can find) on the Intel GPIO controller drivers and what functionality they provide.


      Has anyone used the Windows 8 or 10 driver style interface to control GPIO? I found one example of someone doing it on windows 8.1 by making his own ACPI table entry for his own stepper motor control driver, and then calling the driver functionality using the IOCTL interface but it's quite complicated and all I need is to work out how to use the Intel provided ones.


      If this ends up being too difficult, i'll have to resort to using an off-board USB/Serial interfaced microcontroller to do the low level interface, which sucks if I could just use the built-in capabilities of the Minnowboard.