Connecting the LPC55S69 to Amazon Web Services

cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting the LPC55S69 to Amazon Web Services

No ratings

Connecting the LPC55S69 to Amazon Web Services

About this demo

 

Heads up!

This article contains instruction updates due to changes in NXP's SDK and also on AWS website.

 

This demo will focus on the WIFI enablement and cloud connectivity through AWS by using MCUXpresso and an Amazon Alexa.

 

Amazon Web Services (AWS) is the world’s most comprehensive and broadly adopted cloud platform, offering over 165 fully-featured services from data centers globally. Millions of customers —including the fastest-growing startups, largest enterprises, and leading government agencies—trust AWS to power their infrastructure, become more agile, and lower costs.

The LPC5500 used for this demo is the LPCXpresso55S69 development board which provides the ideal platform for evaluation of and development with the LPC55S6x MCU based on the Arm® Cortex®-M33 architecture. The board includes a high performance onboard debug probe, audio subsystem and accelerometer, with several options for adding off-the-shelf add-on boards for networking, sensors, displays, and other interfaces.

The Alexa Skills Kit is a collection of self-service APIs, tools, documentation, and code samples that makes it easier to start building Alexa skills. Skills are like apps for Alexa, enabling customers to perform everyday tasks or engage with your content naturally with voice.

 

Block Diagramdiagram.JPG

List of Products

  • LPCXpresso55S69
  • WiFi 10 CLICK  
  • Alexa Echo Dot
  • USB A-to-Micro USB cable

Step by Step Guides

  1. First, we need to create an account AWS and generate the “thing” that will be linked to the platform, this information can be followed step-by-step on this manual.
  2. Import AWS remote control WiFi Demo from the SDK Builder
    1. Select the LPCXpresso Board, click on the "Add software component" button, then select "Select All".
    2. Download the SDK
  3. Open MCU Xpresso and Import SDK examples, and then select the LPCXpresso 55 board and import into the aws_exaples find the aws_remote_control_wifi and also click on the UART for debugging.
  4. On the project find the amazon-freertos example, then demos and open the aws_clientcredential.h and change:
    1. The AWS IoT broker endpoint (Under thing settings “Interact” section)
    2. Write the “Things Name”
    3. And WiFi credentials.

  5. Replace the aws_clientcredential_keys.h with the one generated by the certification configuration tool from AWS, You can drag and drop it into the folder and then click overwrite.
  6. Build and download the application into your board.

Video

 

External Links

NXP Product Link
LPCXpresso55S69

https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mc...

WIFI 10 CLICK https://www.mikroe.com/wifi-10-click
Amazon Web Services https://aws.amazon.com/?nc2=h_lg
Alexa Skills Kit https://developer.amazon.com/en-US/alexa/alexa-skills-kit

 

Demo instructions update for 09/25/2020

Due to NXP's SDK updates, some file routes have changed inside the MCUXpresso project:

  1. The CertificateConfiguration Tool is located now on:
    SDKPackages\SDK_2.8.0_LPCXpresso55S69.zip\rtos\freertos\tools\certificate_configuration\
  2. •Location of wifi_shield_silex2401.h
    • \wifi_qca\port\shields\silex2401\wifi_shield_silex2401.h has changed location to wifi_qca\port\boards\lpcxpresso55s69\freertos\silex2401\wifi_shield_silex2401.h
    • Additionally, there is now a clickboard define file available and these changes are already applied:
      • #define BOARD_INITWIFI10CLICKSHIELD_PWRON_PIN 5U //Already done
      • #define WIFISHIELD_WLAN_PINT_CONNECT (kINPUTMUX_GpioPort1Pin18ToPintsel) // IRQ

Alexa_RC_json_skill.json.zip file changes:

 

 

 

 

 

 

AMAZON.StopIntent 
                {
                    "name": "AMAZON.StopIntent",
                    "samples": []
                },

 

 

 

 

 

 

 

 

Labels (1)
Attachments
Version history
Revision #:
7 of 7
Last update:
‎10-27-2020 09:50 AM
Updated by: