Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 2.28 KB

File metadata and controls

59 lines (41 loc) · 2.28 KB
page_type description languages products
sample
Connecting an Microchip ATSAME54-XPro device to Azure IoT using Azure RTOS
c
azure-iot
azure-iot-pnp
azure-rtos
azure-iot-central

Connect an Microchip ATSAME54-XPro evaluation kit to Azure IoT

Quickstart article Documentation

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.

What you need

  • 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.

Steps

  1. Recursively clone the repository:

    git clone --recursive https://github.com/azure-rtos/getting-started.git
  2. Install the development tools:

    getting-started\tools\get-toolchain.bat

  3. Extract the latest OpenOCD and add the bin folder to your path.

  4. Add Azure IoT configuration to the config file:

    getting-started\Microchip\ATSAME54-XPRO\app\azure_config.h

  5. Build the binary image:

    getting-started\Microchip\ATSAME54-XPRO\tools\rebuild.bat

  6. Flash the image to the device:

    getting-started\Microchip\ATSAME54-XPRO\tools\flash.bat

  7. Configure a serial port app the device output:

    • Baud Rate: 115,200
    • Flow Control: DTR/DSR