User's Guide

© USI. All rights reserved.
Run the Azure Sphere app
Start Visual Studio and go to File>Open>CMake to open
Samples\WifiSetupAndDeviceControlViaBle\AzureSphere_HighLevelApp\CMakeLists.txt
Edit the AzureSphereTargetHardwareDefinitionDirectory and AzureSphereTargetHardwareDefinition
fields for USI MT3620 EVB(usi_mt3620_bt_evb) in the CMakeSettings.json
Modify GPIO Pin for Guardian Board LED
In AzureSphere_HighLevelApp/WifiSetupAndDeviceControlViaBle/app_manifest.json
In AzureSphere_HighLevelApp/WifiSetupAndDeviceControlViaBle/main.c
Replace SAMPLE_RGBLED_RED to MT3620_GPIO45
Replace SAMPLE_RGBLED_GREEN to MT3620_GPIO46
Replace SAMPLE_RGBLED_BLUE to MT3620_GPIO47
Replace SAMPLE_DEVICE_STATUS_LED to MT3620_GPIO48
Then select GDB Debugger (HLCore) from the menu bar or press F5.
Press button S2 on the MT3620 board. The Azure Sphere app will start the nRF52, wait for
notification that the nR52 app is active, and then request that it begin advertising.
Build and Run sample
35
"Gpio": [
"$MT3620_GPIO45",
"$MT3620_GPIO46 ",
"$MT3620_GPIO47 ",
"$MT3620_GPIO48 ",
"$SAMPLE_BUTTON_1",
"$SAMPLE_BUTTON_2",
"$SAMPLE_NRF52_RESET",
"$SAMPLE_NRF52_DFU"
],