SPI in Windows 10 IoT Core

Jaroslav Sobota
Jaroslav Sobota New Member Posts: 1

Hi,
is there any example on using SPI bus of the UP board in Windows 10 IoT Core? Preferably in C/C++.

And as a bonus, any hints on developing a Universal Windows Platform (UWP) API for e.g. an ADC?

Thanks!

Comments

  • aivision
    aivision New Member Posts: 12

    Same interest. Did you get the spi running? I amb developing it in C#.

  •  Connor Early
    Connor Early New Member Posts: 20

    Hi, SPI is not supported on the UP board according to the installation manual (see attached).

  • ApeiChen
    ApeiChen New Member, Moderator, AAEON Posts: 23 admin

    Hi,

    Please refer to attached SPI beta package.
    We will implement it into our SDK officially in near future.

    Configuration
    OS: Windows 10 1709 above
    BIOS: UPC1DM15 above
    Set OS IMAGE ID to “Windows 10 IoT Core” in the BIOS boot menu
    Install visual c++ redistributable (Visual Studio 2015) for execute SpiTestTool.exe
    https://www.microsoft.com/zh-TW/download/details.aspx?id=48145

    The tool has two modes that we will use, SPI setup and SPI control.

    For SPI setup:
    The “-h” option use to view a list of examples of parameter usage. Type the following command at shell prompt >>SpiTestTool.exe –h
    For SPI control:
    Type “SpiTestTool.exe” into Command Prompt. This command will allow you to run a program from the selected file path.
    Type “help” into Command Prompt, to view a list of SPI commands.

    Thanks.

  • ApeiChen
    ApeiChen New Member, Moderator, AAEON Posts: 23 admin

    Hi,

    Please refer to attached SPI beta package.
    We will implement it into our SDK officially in near future.

    Configuration
    OS: Windows 10 1709 above
    BIOS: UPC1DM15 above
    Set OS IMAGE ID to “Windows 10 IoT Core” in the BIOS boot menu
    Install visual c++ redistributable (Visual Studio 2015) for execute SpiTestTool.exe
    https://www.microsoft.com/zh-TW/download/details.aspx?id=48145

    The tool has two modes that we will use, SPI setup and SPI control.

    For SPI setup:
    The “-h” option use to view a list of examples of parameter usage. Type the following command at shell prompt >>SpiTestTool.exe –h
    For SPI control:
    Type “SpiTestTool.exe” into Command Prompt. This command will allow you to run a program from the selected file path.
    Type “help” into Command Prompt, to view a list of SPI commands.

    Thanks.

Privacy Policy