page_type | description | languages | products | |||||
---|---|---|---|---|---|---|---|---|
sample |
Connecting an Microchip ATSAME54-XPro device to Azure IoT using Azure RTOS |
|
|
The Quickstart button above provides the complete steps for creating an IoT Central application and then configuring, building and flashing the device.
For guidance on connecting additional devices, see the Embedded device quickstarts.
- The Microchip ATSAME54-XPro
- USB 2.0 A male to Micro USB male cable
- Wired Ethernet access
- Ethernet cable
- Optional (for temperature reporting):
- Weather Click sensor. You can add this sensor to the device to monitor weather conditions. If you don't have this sensor, you can still complete this tutorial.
- mikroBUS Xplained Pro adapter. Use this adapter to attach the Weather Click sensor to the Microchip E54. If you don't have the sensor and this.
-
Recursively clone the repository:
git clone --recursive https://github.com/azure-rtos/getting-started.git
-
Install the development tools:
getting-started\tools\get-toolchain.bat
-
Extract the latest OpenOCD and add the
bin
folder to your path. -
Add Azure IoT configuration to the config file:
getting-started\Microchip\ATSAME54-XPRO\app\azure_config.h
-
Build the binary image:
getting-started\Microchip\ATSAME54-XPRO\tools\rebuild.bat
-
Flash the image to the device:
getting-started\Microchip\ATSAME54-XPRO\tools\flash.bat
-
Configure a serial port app the device output:
- Baud Rate: 115,200
- Flow Control: DTR/DSR