MXCHIP EMC3090-P Getting Started Manual

2.4ghz wi-fi/ble wireless module

Advertisement

Quick Links

IoT system Solution Provider
2.4GHz Wi-Fi/BLE Wireless Module
EMC3090-P
Getting Started Guide for AWS IoT Core
1 / 21
www.mxchip.com
MXCHIP Inc.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EMC3090-P and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for MXCHIP EMC3090-P

  • Page 1 IoT system Solution Provider 2.4GHz Wi-Fi/BLE Wireless Module EMC3090-P Getting Started Guide for AWS IoT Core 1 / 21 www.mxchip.com MXCHIP Inc.
  • Page 2: Table Of Contents

    Setup your AWS account and Permissions .................7 Create Resources in AWS IoT ....................7 Provision the Device with credentials .................7 Build the demo ........................10 10 Run the demo........................10 11 Debugging ........................19 12 Troubleshooting ....................... 19 2 / 21 www.mxchip.com MXCHIP Inc.
  • Page 3: Document Information

    Initial Version 2 Overview - Device: MXCHIP IoT development kit MXKit-3090. - Product family: MXCHIP Wi-Fi && BLE wireless module based on IoT chip RTL8720CF. - Target applications: Appliances, Home Automation, Lighting, Building Automation, Data Logging, Diagnostics, HVAC, Industrial Automation, Medical Devices, Robotics, Solar and so on.
  • Page 4: Set Up Your Development Environment

    Download and install the visual studio code from: https://code.visualstudio.com/Download ii. Open terminal from the visual studio code: - Click menu: Terminal -> New terminal - Or press shortcut key: Control + ~ Install SDK(mdev tool) from terminal: 4 / 21 www.mxchip.com MXCHIP Inc.
  • Page 5 - parity: none - flow control: none ⚫ Get SDK and learn - Download the SDK and demo source code from command lines: git clone --recursive git@codeup.aliyun.com:mxchip/mxos/cloud-aws/aws-iot-core- demo.git - SDK structure: ➜ aws-demo git:(master) ✗ tree -L 1 ├── CMakeLists.txt # build script ├──...
  • Page 6: Set Up Your Hardware

    IoT system Solution Provider 4.4 Additional Software References About install mdev tool: https://docs.mxchip.com/en/xgk73y/fq9v4g/yaqqcr2oa1za0xs3.html 5 Set up your hardware MXKit-3090 Connection: - MXKit VCP dirver: https://www.silabs.com/developers/usb-to-uart-bridge-vcp- drivers?tab=downloads - JLink driver: https://www.segger.com/downloads/jlink/ 6 / 21 www.mxchip.com MXCHIP Inc.
  • Page 7: Setup Your Aws Account And Permissions

    • Open the AWS IoT console Pay special attention to the Notes. No special for MXCHIP. 7 Create Resources in AWS IoT Refer to the online AWS documentation at Create AWS IoT Resources. Follow the steps outlined in these sections to provision resources for your device: •...
  • Page 8 IoT system Solution Provider 8 / 21 www.mxchip.com MXCHIP Inc.
  • Page 9 IoT system Solution Provider Note: [Optional] This policy is not needed for the qualification test suite. You can create your policy before thing creating if needed. Refer to section 7 “Create an AWS IoT Policy”. 9 / 21 www.mxchip.com MXCHIP Inc.
  • Page 10: Build The Demo

    2. Flash the demo firmware in the terminal of the visual studio code from the SDK directory: > mdev build -c app emc3090 -f APP 3. Open serial port in the secureCRT to see the device serial log: 10 / 21 www.mxchip.com MXCHIP Inc.
  • Page 11 IoT system Solution Provider 11 / 21 www.mxchip.com MXCHIP Inc.
  • Page 12 4. Press the “RESET” button to reset and run the test demo, you can see the device log on serial port. 5. Set the Wi-Fi connection on the device serial port console: connect <SSID> <password> Wi-Fi connect success and time sync success: 12 / 21 www.mxchip.com MXCHIP Inc.
  • Page 13 IoT system Solution Provider Creating your qualification test suite 1. Create your “AWS IoT Core qualification test suite” on the AWS IoT console: 13 / 21 www.mxchip.com MXCHIP Inc.
  • Page 14 IoT system Solution Provider 14 / 21 www.mxchip.com MXCHIP Inc.
  • Page 15 IoT system Solution Provider 2. Run the test suite: 15 / 21 www.mxchip.com MXCHIP Inc.
  • Page 16 IoT system Solution Provider 16 / 21 www.mxchip.com MXCHIP Inc.
  • Page 17 IoT system Solution Provider 3. Verify MQTT connection success log: 4. Verify MQTT message received from AWS IoT Core: 17 / 21 www.mxchip.com MXCHIP Inc.
  • Page 18 IoT system Solution Provider In addition, you can verify the test result on AWS IoT device advisor: Click the latest test suite to see details: 18 / 21 www.mxchip.com MXCHIP Inc.
  • Page 19: Debugging

    Refer to the section 10 “Run the demo”, check the device running status from the serial port log. 12 Troubleshooting Refer to the section 10 “Run the demo”, check the device running status from the serial port log. 1. Wi-Fi connection error: 19 / 21 www.mxchip.com MXCHIP Inc.
  • Page 20 IoT system Solution Provider Check your Wi-Fi access point and device set up. Note: Not support for any web authentication for the access point. 2. AWS IoT Core connection error: 20 / 21 www.mxchip.com MXCHIP Inc.
  • Page 21 IoT system Solution Provider Check if the AWS IoT Core qualification test suite is in progress. (The End) 21 / 21 www.mxchip.com MXCHIP Inc.

Table of Contents