QorIQ LS1021A-IOT Gateway
Reference Design Getting Started
Guide
Contents
1Introduction
This document explains how to get started with the QorIQ
LS1021A Internet of Things (LS1021A-IOT) reference design
board and verify its basic operations. It also details the
switches, connectors, jumpers, push buttons, and LED
settings, as well as instructions on how to connect the
peripheral devices.
NOTE
It is assumed that you are familiar with the
LS1021A device and the content of the
LS1021A-IOT Reference Manual
(LS1021A-IOTRM).
The table below lists and explains the additional documents and resources that you can refer to, for more information on
LS1021A-IOT board.
Some of the documents listed below may be available only under a non-disclosure agreement (NDA). To request access to
these documents, contact your local field applications engineer or sales representative.
Table 1. Related documentation
DocumentDescription
LS1021A QorIQ Advanced Multicore
Processor Data Sheet (LS1021ADS)
The SystemID Format for Power
Architecture™ Development
Systems (AN3638)
LS1021A-IOT Reference Manual
(LS1021A-IOTRM)
Provides information about electrical characteristics, hardware design considerations,
pin assignments, package information, and ordering information.
Provides a detailed description about LS1021A QorIQ multicore processor and its
features, such as memory map, serial interfaces, power supply, chip features, and
clock information.
Freescale Semiconductor Power Architecture™ technology-based evaluation and
development platforms may optionally implement a System ID non-volatile memory
device. This device stores important configuration data about the board.
Provides a detailed description of the architecture, connector pin outs, CPLD system
controller architecture, board configuration and debug support for LS1021A-IOT QorIQ
IOT Reference platform.
1.2Kit contents
This section illustrates the contents of LS1021A-IOT Gateway box, front and rear elevations, as well as the main features of
the top and bottom side of the LS1021A-IOT Printed Circuit Board (PCB).
The LS1021A-IOT Gateway Reference design board is supplied with the following contents as shown in the figure below.
The LS1021A-IOT is contained within an enclosure. The following figures of the front and rear panels are annotated to
describe the I/O functions and indicators.
The LS1021A-IOT board comes with an SDHC card preloaded with the U-Boot and Linux images. Serial connectivity for
the LS1021A-IOT board is provided through the Micro-B USB connector labeled USB0/K22 on the front panel as shown in
Figure 2.
NOTE
You need to install the USB drivers on the host PC before using the serial terminal. You
can download the latest drivers from https://mbed.org/handbook/Windows-serial-
configuration
To start up the board:
1. After installing the drivers, connect the PC with LS1021A-IOT USB0 port using a Micro-B USB cable.
2. Insert the SDHC card into the SD CARD slot located on the front panel of the LS1021A-IOT board. Note that the
SDHC card contacts should be facing up.
3. Set up a serial terminal using a PC communication program such as TeraTerm set to 115200-8-N-1.
4. Select the first COM port assigned to the Virtual MBED COM port.
5. Plug in the power supply barrel into the port labeled PWR located on the rear panel.
6. Plug the power supply into the mains and switch on.
7. Verify the LED PWR and LED0 are lit. LED DEBUG should be off. LED K22 will blink with terminal activity.
8. Check if you can see U-Boot in the terminal window.
U-Boot is configured to automatically load the Linux kernel, device tree, and file system binaries from the SD card to
memory and boot to a Linux prompt. When prompted for a login, type root and press enter. The SDK package used to
build these images is available for download at: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?
code=LS1021A-IoT&fpsp=1amp;tab=Design_Tools_Tab
NOTE
The IOT SDK release 1.3 does not support reading system MAC addresses from
the onboard EEPROM.
If the users wish to change the default MAC address values defined in the U-Boot,
the command format below can be run from the U-Boot command line and
saveenv can be used to maintain the values after a system reset.
LS1021A ASLEEPD6RedASLEEPOut of asleep
+3V3D7Green3V3 Power ON3V3 Power OFF
Reset CompleteD8GreenReset Sequence
Completed Successfully
SGMII Ethernet
eTSEC1
SGMII Ethernet
eTSEC3
L2 Switch Ethernet
Port1
L2 Switch Ethernet
Port2
L2 Switch Ethernet
Port3
L2 Switch Ethernet
Port4
ETH0Green/OrangeON – Link Blink -
Activity
ETH1Green/OrangeON – Link Blink -
Activity
ETH2Green/OrangeON – Link Blink -
Activity
ETH3Green/OrangeON – Link Blink -
Activity
ETH4Green/OrangeON – Link Blink -
Activity
ETH5Green/OrangeON – Link Blink -
Activity
Reset not complete
No Link
No Link
No Link
No Link
No Link
No Link
4Connecting JTAG connectivity unit
JTAG connectivity to the LS1021A on the LS1021A-IOT board is available from two sources:
• CMSIS-DAP via USB0 – the onboard TAP (slower and limited features)
• JTAG Header – Internal 10pin ARM Debug Header – requires a Debugger such as the Freescale CodeWarrior TAP
Both methods require debug software, such as Freescale CodeWarrior to work with the board.
CMSIS-DAP via USB0
NOTE
When USB0 is connected to the host PC via a Micro-B connector, in addition to the
UART bridge functionality, a JTAG bridge is provided. Both can run concurrently.
1. Open the case.
2. Ensure SW2.8 is in the ON position to select CMSIS-DAP operation.
3. Close the lid, if desired.
4. Connect the USB0 to the host PC USB port using Micro-B cable.
5. Switch on the power supply to the board.
6. Check for completion of the reset sequence (ensure the LEDs are as described in Initial board startup).
7. Check the device manager on a Windows machine, to verify that the CMSIS-DAP device is installed correctly.
NOTE
For further information, see the Debugger User Manual.
JTAG Header
1. Ensure the board is not switched on.
2. Open the case.
3. Set SW2.8 in OFF position to select JTAG header operation.
4. Connect the JTAG connectivity unit to the LS1021A JTAG connector J21. Pin 1 is marked on the board.
6. Check for completion of the reset sequence (ensure the LEDs are as described in Initial board startup).
NOTE
For further information, see the Debugger User Manual.
5Configuring switches and jumpers
The LS1021A-IOT board has one 8-way dual in-line package (DIP) switch. The default DIP switch positions provide
working setup values for the board. Check the default positions and ensure that the board is operational before changing the
switches. The figure below shows the settings for the switches with their default positions.
Figure 6. Default switch configuration
The following table lists and describes the switch configuration for LS1021A-IOT board.
NOTE
The default switch settings are indicated by » symbol.
Information in this document is provided solely to enable system and
software implementers to use Freescale products. There are no express
or implied copyright licenses granted hereunder to design or fabricate
any integrated circuits based on the information in this document.
Freescale reserves the right to make changes without further notice to
any products herein.
Freescale makes no warranty, representation, or guarantee regarding
the suitability of its products for any particular purpose, nor does
Freescale assume any liability arising out of the application or use of
any product or circuit, and specifically disclaims any and all liability,
including without limitation consequential or incidental damages.
“Typical” parameters that may be provided in Freescale data sheets
and/or specifications can and do vary in different applications, and
actual performance may vary over time. All operating parameters,
including “typicals,” must be validated for each customer application by
customer's technical experts. Freescale does not convey any license
under its patent rights nor the rights of others. Freescale sells products
pursuant to standard terms and conditions of sale, which can be found
at the following address: freescale.com/SalesTermsandConditions.
Freescale, the Freescale logo, and QorIQ are trademarks of Freescale
Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Layerscape and QUICC
Engine are trademarks of Freescale Semiconductor, Inc. All other
product or service names are the property of their respective owners.
ARM, Cortex, and TrustZone are registered trademarks of ARM Limited
(or its subsidiaries) in the EU and/or elsewhere. All rights reserved.