Get Started with the OM40007

1.1 Choose a development path.

1.2 Jump Start Your Design with the MCUXpresso SDK!

The MCUXpresso SDK is complimentary and includes full source code under a permissive open-source license for all hardware abstraction and peripheral driver software.

Click below to download a pre-configured SDK release for the IoT module:

You can also use the online SDK Builder to create a custom SDK package using the SDK builder.

1.3 Install Your Toolchain

NXP offers a complimentary toolchain called MCUXpresso IDE.

Want to use a different toolchain?

No problem! The MCUXpresso SDK includes support for other tools such as IAR, Keil and command-line GCC.

1.4 Update QCA firmware for latest SDK

The firmware on the Longsys GT1216 module used on the LPC54018 IoT Module requires a manual update to work correctly with MCUXpresso SDK releases starting from SDK 2.4.0. Follow these steps to perform the update.

2.1 Create an AWS account.

  1. Open the AWS homepage and choose to Create a Free Account.
  2. Follow the online instructions to create a free account. Part of the sign-up procedure involves:
    1. Add payment information, where you will be charged $1.00 USD. No additional charges will apply
    2. For account verification, please enter the PIN on your phone when amazon verification call is received.
  3. Wait up to 24 hours for your AWS account to be activated.

2.2 IAM policies

Before beginning, you need an IAM user with permission to access AWS IoT and Amazon FreeRTOS. Click below for instructions on how to create a new user with such authorities.

2.3 Create an IoT thing, private key, and certificate for your device

Amazon FreeRTOS – an open-source MCU operating system built on the FreeRTOS kernel, offers developers a universal connection to the Amazon Web Services (AWS) platform.

AWS IoT is an amazon web service that provides secure, bi-directional communication between Internet-connected devices such as embedded micro-controllers and the AWS Cloud. AWS IoT provides a registry that helps you manage “things”. A thing is a representation of a specific device or logical entity (for example a light bulb, sprinkler, switch, etc.) It can be a physical device or sensor.

Now it's time to use the AWS IoT service to create an IoT thing. Click in the button below for a step-by-step guide.

3.1 Import an AWS example project from the MCUXpresso SDK

Use the MCUXpresso IDE to clone an AWS example project.

3.2 Configure your AWS credentials to the project

Load your AWS IoT thing's credentials into the project and configure the Wi-Fi parameters.

3.3 Build your application

Build your AWS IoT Shadow application using MCUXpresso IDE.

3.4 Connect a debugger probe

Connect a debugger probe to your LPC54018 IoT Module.

3.5 Download and Run your application

Download and run your AWS IoT Shadow application into the LPC54018 IoT Module.

3.6 Success!

You will see your thing's shadow being updated. Confirm communication to AWS IoT using the Terminal.

4.1 Amazon Links of Interest

4.2 LPC and MCUXpresso Communities

Connect with other engineers and get expert advice on designing with Kinetis MCUs and MCUXpresso Software and Tools. Join the community discussion in one of our two dedicated communities: LPC MCU Community or MCUXpresso Software and Tools Community.

4.3 More AWS examples projects

Import the aws_led_wifi example project, then follow the readme instructions located at {SDK_LOC}/board/lpc54018iotmodule/aws_examples/

Download Demo application integrating AWS and NXP components with Alexa from BlueWind Git