TWR-K21F120MA
Quick Start Guide
Low-Power 32-bit ARM® Cortex™-M4
MCUs with Floating Point Unit, USB
Connectivity and Enhanced Security
Tower System
Development Board
Platform
Quick Start Guide
Get to Know the TWR-K21F120MA
JTAG
VBAT
Options
Primary
Connector
JM60 BDM
OSJTAG Bootloader
Selection
GeneralPurpose
TWRPI Plug-In
Power/OSJTAG
Micro-USB
Regulator
Option
Selector
Potentiometer
RESET
LEDs
K21
Micro-USB
Accelerometer
SW3
MK21FN1M0AVMC12
MCU
Tamper
Pins
Secondary
Connector
USB
Switch
Figure 1: Front side of TWR-K21F120MA
2
SW2
freescale.com
Battery
Receptacle
SD Card
Receptacle
TWR-K21F120MA
Freescale Tower System
The TWR-K21F120MA MCU module is designed to work either in
stand-alone mode or as part of the Freescale Tower System, a modular
development platform that enables rapid prototyping and tool re-use through
reconfigurable hardware. Begin constructing your Tower System today by
visiting freescale.com/Tower for additional Tower System MCU modules
and compatible peripherals.
3
Quick Start Guide
TWR-K21F120MA
Features
Step-by-Step
Installation Instructions
• MK21FN1M0AVMC12 MCU (120 MHz,
1 MB flash, 128 KB RAM, FPU, USB
OTG, tamper detection, encryption,
low power, 121 MBGA)
In this quick start guide, you will learn how
to set up the TWR-K21F120MA module
and run the included demonstration
software. For more detailed information,
review the user manual at freescale.com/
TWR-K21F120M.
• Dual-role USB interface with Micro-AB
USB connector
• On-board open source JTAG (OSJTAG)
circuit with virtual serial port
• General-purpose Tower plug-in (TWRPI)
socket
• Three-axis accelerometer (MMA8451Q)
• Four user-controlled status LEDs
• Push buttons for GPIO interrupts and
MCU reset
• Potentiometer, SD card socket and coin
cell battery holder
• Independent, battery operated power
supply for real-time clock and tamper
detection modules
4
1
Download Software
and Tools
Download installation
software and documentation
under “Jump Start Your
Design” at freescale.com/
TWR-K21F120M.
2
Install the Software
and Tools
Install the P&E Micro Kinetis Tower toolkit.
The toolkit includes the OSJTAG and USB
to serial drivers.
freescale.com
Step-by-Step Installation Instructions
3
Configure the
Hardware
Install the included battery into the VBAT
(RTC) battery holder. Then, connect one
end of the USB cable to the PC and the
other end to the Power/OSJTAG micro-B
connector on the TWR-K21F120MA
module. Allow the PC to automatically
configure the USB drivers if needed.
4
5
Download the Freescale
CodeWarrior IDE and
MQX™ RTOS
Download the Freescale CodeWarrior IDE
and MQX RTOS by clicking the relevant
links at freescale.com/CodeWarrior and
freescale.com/MQX.
Tilt the
Board
Tilt the board side to side to see the LEDs
on D5, D6, D8 and D9 light up as it is
tilted. While the board is held flat, press
SW2 and SW3 to toggle LEDs D5 and D9,
respectively.
5
Quick Start Guide
TWR-K21F120MA Jumper Options
The following is a list of all jumper options on the TWR-K21F120MA. The default installed
jumper settings are indicated by white text within the gray boxes.
Jumper
Option
JP1
Tamper
Connections
J6
JTAG Board
Power
Selection
J7
VBAT Power
Source
J8
J9
J10
MCU Power
Connection
OSJTAG
Bootloader
Selection
General
Purpose
TWRPI
V_BRD
Power Enable
Setting
2-3
ON
OFF
1-2
2-3
1-2
2-3
ON
OFF
Debugger mode
ON
Connect on-board 1.8 V or 3.3 V supply (V_BRD) to
TWRPI 3 V power (GPT_VBRD)
OFF
Disconnect from-board 1.8 V or 3.3 V supply (V_BRD) to
TWRPI 3 V power (GPT_VBRD)
1-2
J11
VREG IN
Selector
J12
Potentiometer
Connection
J13
GPIO
RESET_OUT_B
connection
5-6
6-8
6
Description
JP1-1 through JP1-6 are connected to the MCU Tamper pins
TAMPER0 through TAMPER5, respectively, for active tamper
detection
Connect OSJTAG 5 V output (P5V_TRG_USB) to JTAG port (supports
powering board from JTAG pod supporting 5 V supply output)
Disconnect OSJTAG 5 V output (P5V_TRG_USB) from JTAG port
Connect VBAT to on-board 3.3 V or 1.8 V supply
Connect VBAT to the higher voltage between MCU supply (MCU_
PWR) or coin cell supply (VBATD)
Connect on-board 3.3 V or 1.8 V supply (V_BRD) to MCU VDD
Connect K21 USB regulator output to MCU VDD
OSJTAG bootloader mode (OSJTAG firmware reprogramming)
ON
OFF
1-2
2-3
OFF
OSJTAG 5 V output (P5V_TRG_USB)
connected to on-board regulator input (VREG_IN)
VBUS signal on micro-USB connector J19 connects to
K21_VREGIN to allow stand-alone USB operation
VBUS signal from Tower elevator connector connects to
K21_VREGIN to allow USB operation with complete Tower System
Connect potentiometer to ADC0_SE12
Disconnect potentiometer from ADC0_SE12
Connect PTA14 to RESET_OUT_B signal
Connect PTA17 to RESET_OUT_B signal
Leave RESET_OUT_B signal disconnected
freescale.com
TWR-K21F120MA Jumper Options (continued)
Jumper
Option
J15
LED
Connections
J16
SDHC Card
J17
V_BRD Power
Source
(Board Power
Selector)
J18
Accelerometer
IRQ
Connection
J21
USB ID
Connection
J22
USB Power
Enable
J23
USB OverCurrent Flag
J24
USB Switch
Setting
1-2
3-4
5-6
7-8
OFF
OFF
ON
1-2
3-5
5-7
1-2
3-4
OFF
ON
OFF
ON
OFF
ON
OFF
1-2
2-3
Description
Connect PTD4 to green LED (D5)
Connect PTD5 to yellow LED (D6)
Connect PTD6 to red LED (D8)
Connect PTD7 to blue LED (D9)
Disconnect PTD[4:7] from associated LED
10K pulldown resistor is disconnected from CD/DATA3 line
10K pulldown resistor is connected to CD/DATA3 line to allow card
detection
Connect K21 USB regulator output (VOUT_3V3) to
on-board supply (V_BRD)
Connect 3.3 V on-board regulator output (P3V3) to
on-board supply (V_BRD)
Connect 1.8 V on-board regulator output (P1V8) to
on-board supply (V_BRD)
Connect PTB0 to INT1 pin of accelerometer
Connect PTB1to INT2 pin of accelerometer
Disconnect PTB0 and/or PTB1 from INT1 and/or INT2 of
accelerometer
Connect PTD7 to USB ID pin
Disconnect PTD7 from USB ID pin
Connect PTC9 to USB power enable on power switch MIC2026
Disconnect PTC9 from USB power enable on power switch
MIC2026
Connect PTC8 to over-current flag on power switch MIC2026
Disconnect PTC8 from over-current flag on power switch MIC2026
USB micro J19
USB mini J14 on TWR-SER
7
Get Started
Download installation software and documentation under
“Jump Start Your Design” at freescale.com/TWR-K21F120M.
Visit freescale.com/TWR-K21F120M,
freescale.com/K20 or freescale.com/Kinetis
for more information on the TWR-K21F120MA module.
Support
Visit freescale.com/support for a list of phone
numbers within your region.
Warranty
Visit freescale.com/warranty for complete
warranty information.
For more information, visit freescale.com/Tower
Join the online Tower community at towergeeks.org
Freescale, the Freescale logo, CodeWarrior and Kinetis are trademarks of
Freescale semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Tower is a trademark
of Freescale Semiconductor, Inc. All other product or service names are the
property of their respective owners. © 2015 Freescale Semiconductor, Inc.
Doc Number: TWRK21F120MAQSG REV 0
Agile Number: 926-28703 REV A
很抱歉,暂时无法提供与“TWR-K21F120M”相匹配的价格&库存,您可以联系我们找货
免费人工找货