TWR-LS1021A Getting Started

Similar documents
TWR-LS1021A Getting Started

Getting Started with Freescale MQX RTOS for Kinetis SDK and MDK-ARM Keil

P1010RDB-PB Quick Start Guide

TWR-KV10Z32 Sample Code Guide for CodeWarrior Board configuration, software, and development tools

Kinetis SDK Release Notes for the TWR-K24F120M Tower System Module

FRDM-K64F Board Errata

Getting Started with Freescale MQX RTOS for Kinetis SDK and Kinetis Design Studio IDE

TWR-KV10Z32 Sample Code Guide for IAR Board configuration, software, and development tools

HVP-KV10Z32 User s Guide

MQX RTOS Release Notes for Kinetis SDK v1.2.0 for KL33Z64 for FRDM-KL43Z Freescale Freedom Development Platform

Emulating Dual SPI Using FlexIO

Quick Start Guide. TWR-P1025 QorIQ Processor with Networking and Industrial Connectivity and Protocol Offload Engine TOWER SYSTEM

Building U-Boot in CodeWarrior ARMv8

Collecting Linux Trace without using CodeWarrior

HVP-KV31F120M User s Guide

Getting Started with Freescale MQX RTOS for Kinetis SDK and ARM GCC

Freescale MKW40Z IEEE Software Quick Start Guide

MQX RTOS Release Notes for Kinetis SDK FRDM- KV10Z Freescale Freedom Development Platform

Freedom FRDM-MC-LVBLDC Development Platform User s Guide

DDR Validation Tool Getting Started Guide

Processor Expert Software for i.mx Processors Version 1.0

Adding a run control interface into an existing CodeWarrior for MCU v10.x project

Kinetis SDK v Release Notes for the MK21DA5 and MKW24D5 Devices

Freescale Kinetis Software Development Kit Release Notes

Quick Start Guide for TWR-S08MM128-KIT TOWER SYSTEM MC9S08MM128. The industry s most complete solution for portable medical applications

OpenSDA on TWR-KW2x. User s Guide Rev 1.1

Kinetis SDK v Release Notes for KV5x Derivatives

Three-Phase Power Meter Hardware Design Reference Manual

Quick Start Guide. TWR-VF65GS10 For Vybrid Controller Solutions Based on ARM Cortex -A5 and Cortex-M4 Processors with the DS-5 Toolchain TOWER SYSTEM

Quick Start Guide TRK-KEA. Kinetis EA Series MCUs for Automotive Electronics Applications. StarterTRAK

Quick Start Guide for FRDM-KL05Z

Quick Start Guide for the Freescale Freedom Development Platform FRDM-KL43Z

HVP-MC56F82748 User s Guide

Offline Flash Programmer for Kinetis K- and L-series MCUs

Load Position-Independent Code (PIC) on a Kinetis Platform Using the IAR EWARM Compiler

Quick Start Guide for FRDM-KL46Z Rev 1

Kinetis USB-KW41Z Wireless Protocol Sniffer Quick Start Guide

MCUXpresso SDK USB Power Delivery

Quick Start Guide for FRDM-KL46Z Rev 1

WPR1500-LDO MP Receiver V2.1 Reference Design User s Guide

Freedom FRDM-KV31F Development Platform User s Guide

Freescale MQX RTOS TWR-K64F120M Release Notes

CodeWarrior Development Studio for QorIQ LS series - ARM V8 ISA Hardware Board Getting Started Guide

Quick Start Guide. TWR-KV10Z32 Development Kit for Kinetis KV1x Family TOWER SYSTEM

HVP-56F82748 Quick Start Guide

Watt Saver Software Component (WSC)

Getting Started with the MCU Flashloader

Kinetis SDK Freescale Freedom FRDM-KL03Z Platform User s Guide

Working around ERR7026 according to application needs

Quick Start Guide. TWR-S12G128 Scalable platform for automotive applications TOWER SYSTEM

TWR-K60F120M Quick Start Guide

Integrate TWR-EPD Software with MQX RTOS Based on the TWR-K21F120M Platform

Freescale MQX USB Stack for TWR-K24F120M GA User s Guide

Getting Started with MCUXpresso SDK CMSIS Packs

PMSM Field-Oriented Control Using MC56F84789 DSC With Encoders Demo Guide

Kinetis Bootloader v1.2.0 Release Notes

Quick Start Guide. TWR-MPC8309 PowerQUICC Processor with Industrial Connectivity and Protocol Off-Load Engine TOWER SYSTEM

Getting Started with FreeRTOS BSP for i.mx 7Dual

Quick Start Guide. TWR-K60D100M Low-Power MCU with USB, Ethernet and Encryption TOWER SYSTEM

TWR-K80F150M Quick Start Guide

NADK Reflector Application Debug

i.mx 6 Android JB 4.3_1.1.1 Patch Release Notes

Configure QSPI Bus Width and Frequency in Pre-Boot Loader Stage on QorIQ LS Series Processors

CodeWarrior Development Studio for StarCore 3900FP DSP v SP3 Release Notes

Quick Start Guide TWR-PXS bit Dual-Core Power Architecture MCU for Industrial Control and Safety Applications TOWER SYSTEM

How to setup pre-build steps in CodeWarrior for Microcontrollers v10.x

FRDM-KL03Z User s Guide

MSC8144AMC-S Getting Started Guide

T4240RDB Quick Start Guide

TWR-KM34Z50MV3 Quick Start Guide

Component Development Environment Getting Started Guide

i.mx 6Solo/6DualLite Product Lifetime Usage Estimates

Quick Start Guide for FRDM-FXS-MULTI-B

i.mx 7 Dual/Solo Product Lifetime Usage

TWR-K70F120M Quick Start Guide

Quick Start Guide. TWR-K70F120M High-Performance MCUs with Graphics LCD, Connectivity and Security TOWER SYSTEM

Developing a Camera Application with i.mx RT Series

How to Enable Boot from QSPI Flash

Using an External GCC Toolchain with CodeWarrior for Power Architecture

QN9080 QN908x RF Certification Guide

Emulating I2S bus on KE06

Kinetis Updater User's Guide

MIMXRT1020 EVK Board Hardware User s Guide

TWR-K21F120MA Quick Start Guide

Configuring DDR in U-Boot using QCVS

Quick Start Guide TWR-PXR bit Power Architecture MCU for High-Performance Real-Time Applications TOWER SYSTEM

Generating a Quick and Controlled Waveform With the DAC

AIOP Task Aware Debug

TWR-KL43Z48M Quick Start Guide

Lab Tutorial for TWR-S08MM128-KIT TOWER SYSTEM LAB MC9S08MM128. Electrocardiogram (EKG) with Freescale USB stack

General C Functions for the etpu Covers the MCF523x, MPC5500, MPC5600, MPC5700, MPX40 and all etpu-equipped Devices

TWR-SMPS-LVFB Quick Start Guide

MMA845x Driver: Quick Start Guide

Kinetis Bootloader to Update Multiple Devices in a Field Bus Network

Quick Start Guide. MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD

NXP Semiconductors MCU Bootloader Demo Applications User's Guide

Developing a simple UVC device based on i.mx RT1050

for Freescale MPC55xx/MPC56xx Microcontrollers V2.10 Quick Start

i.mx 6ULZ Migration Guide

CodeWarrior Development Studio Processor Expert RTOS Adapter User Guide

Transcription:

Freescale Semiconductor Getting Started Document Number: TWR-LS1021AGS Rev. 3, 10/2015 TWR-LS1021A Getting Started 1 Introduction This document describes how to connect the QorIQ LS1021A Tower System Module (TWR-LS1021A-PB) board and verify its basic operations such as the switches, connectors, jumpers, push buttons and LED settings, and the instructions for connecting the peripheral devices. NOTE It is assumed that you are familiar with the LS1021A device and the content of the TWR-LS1021A Reference Manual (document TWR-LS1021ARM). The prototype part number of the LS1021A tower board system is X-TWR-LS1021A-PB and the production part number is TWR-LS1021A-PB. The figures listed below show the main features of the secondary and primary sides of the TWR-LS1021A-PB board. Contents 1. Introduction................................. 1 1.1.Related documentation...................... 2 2. Switches and jumpers configuration.............. 3 3. Connecting USB UART....................... 6 4. Initial board start-up.......................... 6 5. Board software configuration................... 7 6. JTAG connectivity unit........................ 8 6.1.Connecting JTAG using CodeWarrior TAP...... 9 6.2.Enabling CMSIS-DAP...................... 9 7. TWR-LS1021A-PB OOBE demo................ 9 8. Revision History............................ 10 2014-2015 Freescale Semiconductor, Inc. All rights reserved.

Introduction 6$7$ 5(6(7 /(' ' 9 3:5.. -7$* 9 3:5 86% 6HULDO /(' ' &06,6 '$3 +'0, 9H76(& 6*0,, $8',2 &3/' -7$* 463, 9H76(& 5*0,, 86% /(' ' $6/((3 6: 6: -7$* /6 $,((( Figure 1. Primary side main features 0LQL3&OH PRXQWLQJ SRVWV 0LQL 3&,H 125 )ODVK 6' 6ORW Figure 2. Secondary side main features 1.1 Related documentation The following table lists the additional documents and resources that you can refer, for more information on the TWR-LS1021A-PB 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. 2 Freescale Semiconductor

Switches and jumpers configuration Table 1. Related documentation Document Description LS1021A QorIQ Advanced Multicore Processor Data Sheet (document LS1021A) This document lists the electrical characteristics, hardware design considerations, pin assignments, package information, and ordering information for the LS1021A processor. LS1021A QorIQ Integrated Multicore Processor Reference Manual (document LS1021ARM) This document describes the LS1021A QorIQ multicore processor and its features, such as memory map, serial interfaces, power supply, chip features, and clock information. The SystemID Format for Power Architecture Development Systems (document AN3638) This document describes the SystemID, a non-volatile memory device implemented on the Freescale Semiconductor Power Architecture technology-based evaluation and development platforms. TWR-LS1021A Reference Manual This document describes the architecture, tower elevator connections, CPLD system (document TWR-LS1021ARM) controller architecture, board configuration and debug support for the QorIQ LS1021A tower system. 2 Switches and jumpers configuration The TWR-LS1021A-PB board has two 8-way dual in line package (DIP) switch. The default DIP switch positions provide the working set up values for the board. You need to check the default positions and verify that the board is operational before changing the switches. The figure below shows the settings for the switches with their default positions. 6: > @ 2)) 21 21 2)) 2)) 21 2)) 21 6: > @ 21 2)) 2)) 2)) 21 21 21 21 Figure 3. Default switch configuration The table below lists and describes the default switch configurations for the TWR-LS1021A-PB board. Freescale Semiconductor 3

Switches and jumpers configuration Table 2. Default switch settings Feature Settings [OFF=0 ON=1] Option Comments S2.1 ON RCW Source is NOR NOR RCW_SEL 0 : NOR flash is disabled»1 : NOR flash is enabled (default) S2.2 OFF Reserved Must be 0 [OFF] S2.3 OFF RCW Source is SDHC SDHC RCW_SEL»0 : SDHC is disabled (default) 1 : SDHC is enabled S2.4 OFF RCW Source is QSPI QSPI RCW_SEL»0 : QSPI is disabled (default) 1 : QSPI is enabled S2.5 ON Bus select is NOR or QSPI IFC/QSPI Bus selection 0 : IFC is disabled, QSPI is enabled»1 : IFC is enabled, QSPI is disabled (default) S2.6 ON Differential system clock selection S2.7 ON IFC_CS1 or SPI1_PCS0 selection Differential system clock selection 0 : Differential sysclk is selected»1 : Single-ended sysclk is selected (default) IFC_CS1/SPI1_PCS0 selection 0 : IFC_CS1 is disabled, SPI1_PCS0 is enabled»1 : IFC_CS1 is enabled, SPI1_PCS0 is disabled (default) S2.8 ON DIPSW_IN1 CMSIS-DAP enablement control 0 : Uses the K20 IO pin to control the SDA_SWD_EN connection»1 : Ties to high to disable the CMSIS-DAP connection (default) S3.1 OFF 96 MHz SYSCLK select or not 96 MHz SYSCLK Selection»0 : Does not select the 96 MHz as SYSCLK (default) 1 : 96 MHz as SYSCLK is selected S3.2 ON TEST_SEL_DRV Drive TEST_SEL signal 0 : Non-compliant mode to support boundary scan is selected» 1 : JTAG compliant mode is selected (default) S3.3 ON CLKGEN_FS0 System clock frequency setting S3.4 OFF CLKGEN_FS1 System clock frequency setting S3.5 OFF NOR bank select BANK_SEL S3.6 ON Signal multiplexed selection MUX_SEL CLKGEN_FS[0:1] 00 = 66.66 MHz 01 = 80.00 MHz»10 = 100.00 MHz (default) 11 = 83.33 MHz BANK_SEL» 0 : Vbank0 is selected (default) 1 : Vbank1 is selected MUX_SEL 0 : 2D-ACE and LPUART1 are selected» 1 : SPI2 and UCC1&3 are selected (default) 4 Freescale Semiconductor

Switches and jumpers configuration Table 2. Default switch settings Feature Settings [OFF=0 ON=1] S3.7 OFF Reserved Must be 0 [OFF] S3.8 ON Reserved Must be 1 [ON] Option Comments The table below lists the jumper settings on the TWR-LS1021A-PB board. Table 3. Jumper settings Jumper Size Name/Function Description J8 1x2 pin PWR_PROG_SFP voltage setting Open: GND (default) Shorted: 1.8 V J9 1x2 pin PWR_PROG_MTR voltage setting Open: GND (default) Shorted: 1.8 V J11 1x2 pin TA_BB_TMP_DETECT voltage setting Open: GND (default) Shorted: 1.0 V J15 1x2 pin FA_VL pin voltage setting Open: GND (default) Shorted: 1.0 V J19 1x3 pin Console port TX selection 1-2: LPUART1 is selected 2-3: UART1 is selected (default) J20 1x3 pin Console port RX selection 1-2: LPUART1 is selected 2-3: UART1 is selected (default) J21 1x3 pin LVDD voltage setting 1-2: LVDD is +2.5 V 2-3: LVDD is +3.3 V (default) J22 1x3 pin L1VDD voltage setting 1-2: L1VDD is +2.5 V 2-3: L1VDD is +3.3 V (default) The figure below shows the jumper settings on the board. - - - - - - - - Figure 4. Jumper locations on board Freescale Semiconductor 5

Connecting USB UART 3 Connecting USB UART The TWR-LS1021A-PB board comes preloaded with the released SDK images in the NOR flash. The serial connectivity for the TWR-LS1021A-PB board is provided through a mini type B USB connector. NOTE You need to install the USB drivers on the host PC before using the serial terminal. You can get the drivers from the USB memory stick available in the box, or, you can download these drivers from, https://mbed.org/handbook/windows-serial-configuration After installing the drivers, you need to set up a serial terminal using a PC communication program such as hyper terminal as listed below: Data rate: 115200 bps Number of data bits: 8 Parity: None Number of Stop bits: 1 Flow Control: Hardware/None Then, select the first COM port assigned to the Virtual COM port. 4 Initial board start-up The TWR-LS1021A-PB board is powered through a barrel connector. This barrel should be supplied by a 5 V @5 A supply. For more information, see Figure 1. NOTE It is normal for the heatsink on the TWR-LS1021A-PB board to become hot under the standard operating conditions. To perform the initial board start up and LED check, follow the steps listed below. 1. Turn on the board through the barrel connector. 2. Check for the completion of the reset sequence indicated by the LEDs (see Figure 1 for locations). For a full description of the LED operations, see Table 4. 3. On start-up, the following LED sequence appears on the board: a) The LED D1 turns on to indicate that the 3V3 power is available on the board. b) The LED D5 turns on then off. c) Any Ethernet activity is indicated by the LEDs on the RJ45 connector. d) The LED D2 indicates that the CMSIS-DAP USB driver is loaded. If it is blinking, than the serial port is not available. You need to start up the board at J3, than insert the USB cable on the board. The table below lists the LED operations. 6 Freescale Semiconductor

Board software configuration Table 4. LED operation Description Ref Color LED on LED off 3V3 Power D1 Green 3V3 turn on 3V3 turn off LS1021A ASLEEP D5 Green ASLEEP Out of asleep CMSIS-DAP status D2 Green CMSIS-DAP driver is loaded Ethernet etsec1 P1 down Green/Orange ON Link Blink - Activity Ethernet etsec2 P1 up Green/Orange ON Link Blink - Activity CMSIS-DAP driver is not loaded No Link No Link Ethernet etsec3 U20 up (above USB) Green/Orange ON Link Blink - Activity No Link 5 Board software configuration The NOR flash on the TWR-LS1021A-PB board is divided in two banks. There are different images in each banks that supports the different functionality. NOTE The TWR-LS1021A-PB board comes pre-programmed with the NOR flash image. The bank0 is programmed with the RCW support for the QE, and the bank1 is programmed with the RCW support for the 2D-ACE. The default is bank0. The table below shows the switches and jumper settings on the TWR-LS1021A-PB board for the bank0 and bank1. Table 5. Switches and jumper settings for NOR flash banks SW2[1:8] SW3[1:8] J19 J20 BANK0 (default) 10001111 01100101 2-3 2-3 BANK1 10001111 01101001 1-2 1-2 NOTE If you enables the 2D-ACE, you have to use the lpuart as the console. The bootup information displays on the lpuart console by default. For more information on how to enable the 2D-ACE output, see the 2D-ACE Display Device Driver User Manual, available in the Yocto source ISO folder of the USB flash drive shipped with the board. You can also access the content available in the USB flash drive shipped with the board, from the following location: http://www.freescale.com/twr-ls1021a Freescale Semiconductor 7

JTAG connectivity unit The figure below shows the settings for the bank0 and bank1. Figure 5. NOR Flash configurations on bank0 and bank1 The figure below shows the TWR-LS1021A-PB block diagram. 6 JTAG connectivity unit Figure 6. TWR-LS1021A-PB block diagram This section explains the following two methods to configure the JTAG connectivity unit supported by the CodeWarrior Development Studio for QorIQ LS series on the TWR-LS1021A-PB board: Section 6.1, Connecting JTAG using CodeWarrior TAP 8 Freescale Semiconductor

TWR-LS1021A-PB OOBE demo Section 6.2, Enabling CMSIS-DAP 6.1 Connecting JTAG using CodeWarrior TAP To connect the JTAG using the CodeWarrior TAP, perform the following steps: 1. Connect the JTAG connectivity unit to the J12 JTAG connector on the board. The Pin 1 is marked on the board. 2. Switch on the power to the board. 3. Check for the completion of the reset sequence (see Section 4, Initial board start-up). Ensure that the LED D5 turns off. 4. Follow the on-screen instructions. The JTAG using the CodeWarrior TAP is connected to your board. 6.2 Enabling CMSIS-DAP The TWR-LS1021A-PB board supports the CMSIS-DAP interface. The CMSIS-DAP interface provides a standard access to the Coresight debug access port (DAP) of the ARM Cortex microcontroller through the USB. The board is implemented with the CMSIS-DAP as an on-board interface chip that provides a direct USB connection to the debugger running on your host machine on one end, and the JTAG connection to the target device to access the Coresight DAP on the other end. To enable the CMSIS-DAP interface on your board: 1. You have to change the switch SW2[8] = 0. 2. Ensure that your CW TAP device is not plugged in. 3. Attach the micro USB cable to the J5 USB serial connector. This provides a serial connectivity and the CMSIS-DAP connection (optional). For the detailed setup procedure, see the CodeWarrior Development Studio for QorIQ LS series - ARM V7 ISA Getting Started Guide (document CWARMV7GS) from the following location: http://cache.freescale.com/files/soft_dev_tools/doc/quick_ref_guide/cwarmv7gs.pdf 7 TWR-LS1021A-PB OOBE demo The out-of-box-experience (OOBE) is a demo program which shows the wireless networking, graphics and audio playing functionality of the TWR-LS1021A-PB. The image files for the demo are available in the SD card shipped with the board. You need to insert the SD card into the board to run the demo. For the detailed instructions to run the demo, see the TWR-LS1021A OOBE Demo Quick Start Guide.pdf under \OOBE-demo\ folder in the USB flash drive shipped with the board. You can also access the content available in the USB flash drive shipped with the board, from the following location: http://www.freescale.com/twr-ls1021a Freescale Semiconductor 9

Revision History 8 Revision History The table below lists the revision history of this document. Table 6. Revision history Revision number Date Topic cross-reference Change description Rev. 3 10/2015 Section 6.2, Enabling CMSIS-DAP Updated this section. Rev. 2 07/2015 Updated the TWR-LS1021A instances to TWR-LS1021A-PB. Figure 1 Primary side main features Figure 3 Default switch configuration Table 2 Default switch settings Updated the TWR-LS1021A board images with the TWR-LS1021A-PB board images. Updated the figure for the default settings on SW3[1:8]. Updated the table for the S2.6, S2.8, and S3.6 switch settings and descriptions. Table 3 Jumper settings Updated the table for the J8, J9, J11, J15, J19, J20, J21, and J22 jumper settings. Figure 4 Jumper locations on board Figure 5 NOR Flash configurations on bank0 and bank1 Figure 6 TWR-LS1021A-PB block diagram Updated the figure for the J8, J9, J11, J15, J21, and J22 jumper locations. Updated the figure for the TWR-LS1021A-PB board settings. Updated the figure for the TWR-LS1021A-PB block diagram. Rev. 1 11/2014 Figure 1 Primary side main features Updated the figure for the LED locations. Figure 3 Default switch configuration Table 2 Default switch settings Section 3, Connecting USB UART Section 5, Board software configuration Section 6, JTAG connectivity unit Section 6.2, Enabling CMSIS-DAP Section 7, TWR-LS1021A-PB OOBE demo Updated the figure for the default settings on SW3[1:8]. Updated the table for S3.6. Updated the section for the serial terminal set up details. Updated the section for the switches and jumper settings, output device as 2D-ACE and two block diagrams, Figure 5 NOR Flash configurations on bank0 and bank1 and Figure 6 TWR-LS1021A-PB block diagram. Updated the content to create the sub-section, Section 6.1, Connecting JTAG using CodeWarrior TAP. Added a new sub-section to describe how to enable the CMSIS-DAP support. Added a new section to introduce the OOBE demo. Rev. 0 09/2014 Initial public release. 10 Freescale Semiconductor

Revision History Freescale Semiconductor 11

How to Reach Us: Home Page: freescale.com Web Support: freescale.com/support Warranty: Visit freescale.com/warranty for complete warranty information. 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. 2014-2015 Freescale Semiconductor, Inc. Document Number: TWR-LS1021AGS REV 3 Agile Number: 926-28673