NXP Semiconductors
User's Guide
Document Number: TWRKV58F220MUG
Rev. 1, 05/2016
TWR-KV58F220M Tower Module User's
Guide
1. Introduction
The TWR-KV58F220M microcontroller module is
designed to work either in standalone mode or as a part of
the Freescale Tower System, a modular development
platform that enables rapid prototyping and tool reuse
through reconfigurable hardware. Take your design to the
next level and begin constructing your Tower System today
by visiting for additional Tower System microcontroller
modules and compatible peripherals. For TWR-
KV58F220M specific information and updates, visit
www.nxp.com/TWR-KV58F220M.
1.
2.
3.
4.
5.
Contents
Introduction ........................................................................ 1
Contents ............................................................................. 1
TWR-KV58F220M features .............................................. 2
Get to know the TWR-KV58F220M module ..................... 2
Hardware description ......................................................... 3
5.1.
Microcontroller ....................................................... 4
5.2.
Clocking .................................................................. 6
5.3.
System power .......................................................... 6
5.4.
Debug interface ....................................................... 6
5.5.
OpenSDAv2 ............................................................ 6
5.6.
Accelerometer/magnetometer ................................. 7
5.7.
Potentiometer, pushbuttons, and LEDs ................... 8
5.8.
General Purpose Tower Plug-in (TWRPI) socket ... 8
Jumper options ................................................................... 9
References ........................................................................ 10
Useful links ...................................................................... 10
Revision history ............................................................... 11
2. Contents
The TWR-KV58F220M microcontroller module contents
include:
•
TWR-KV58F220M board assembly
•
Three foot A to micro-AB USB cable for debug
interface and power
•
Quick Start Guide
6.
7.
8.
9.
© 2016 NXP B.V.
Get to know the TWR-KV58F220M module
3. TWR-KV58F220M features
•
•
•
•
•
•
•
•
•
Tower compatible microcontroller module
MKV58F1M0VLQ24 MCU (240 MHz, 1 MB Flash, 128 KB RAM, and 144LQFP package)
General purpose Tower Plug-in (TWRPI) socket
OpenSDA debug circuit with virtual serial port
Three axis accelerometer/magnetometer combination IC (FXOS8700)
Four user-controllable LEDs
Four user pushbutton switches
Potentiometer
Compatibility with the following tower peripheral boards:
—
TWR-MC-LV3PH Motor Control Tower Board
—
TWR-SER Serial Peripheral Board
—
TWR-LCD
4. Get to know the TWR-KV58F220M module
General Purpose
TWRPI Connectors
Cortex-M Programming
Header
Potentiometer
LEDs
LED Jumpers
User
Pushbuttons
KV58F1M0VLQ22
OpenSDA USB
Connector
UART Selection Jumpers
Reset Button
Figure 1. TWR-KV58F220M Front side
TWR-KV58F220M Tower Module User's Guide, Rev. 1, 05/2016
2
NXP Semiconductors
Hardware description
Legacy Motor
Connector
Figure 2. TWR-KV58F220M Back side
5. Hardware description
The TWR-KV58F220M is a Tower MCU Module featuring the MKV58F1M0VLQ24, a Kinetis
microcontroller featuring an ARM
®
Cortex
®
CM7 core with a 5Msps 12-bit ADC and nano-edge
resolution pulse-width modulation (PWM) modules. It is intended for use in the Freescale Tower
System development platform but can also operate in a stand-alone mode. An on-board debug circuit,
OpenSDA, provides a SWD interface and a power supply input through a single USB micro-AB
connector.
TWR-KV58F220M Tower Module User's Guide, Rev. 1, 05/2016
NXP Semiconductors
3
Hardware description
The block diagram of the TWR-KV58F220M board is shown in the following figure.
5V
Tower Elevator Expansion Connectors
I2S, SPI, ADC, DAC, PWM, UART, eFlexPWM, Flexbus, Ethernet, GPIO
3.3 V MCU
VREG OUT
50 MHz Oscillator
BATTERY
3.3 V
3.3 V
1.8 V
Regulator Regulator
SWD
OpenSDA
RESET_B
Circuit
Micro - AB
K20 MCU
USB
MK20DX128VFM5
5 V_USB
JTAG / SWD
KV5x MCU
MKV58F1M0VLQ24
144 LQFP
ADC
JTAG / SWD
I2C
USER LED's
4 User Buttons
1 Reset Button
40-pin Motor
Connector
2 General Purpose
TWRPI
Potentiometer
Digital
ACCELR/MGNTMR
FXOS8700CQ
Freescale Devices
External Connectors
Interface Circuits
Power Devices
Figure 3. TWR-KV58F220M Tower System module
5.1. Microcontroller
The TWR-KV58F220M module features the MKV58F1M0VLQ24 MCU. This 240 MHz
microcontroller is a part of the Kinetis KV5x family and is available in a 144LQFP or 100LQFP
package. The following table lists the features of the MKV58F1M0VLQ24 MCU.
TWR-KV58F220M Tower Module User's Guide, Rev. 1, 05/2016
4
NXP Semiconductors
Hardware description
Table 1.
Feature
Ultra-low power
Features of the MKV58F1M0VLQ24 MCU
Description
Flash, SRAM, and
FlexBus
Mixed-signal
capability
Performance
Timing and control
Connectivity and
communications
Reliability, safety and
security
11 low-power modes with power and clock gating for optimal peripheral activity and recovery
times. 4 µs wake-up from Stop mode.
Full memory and analog operation down to 1.71 V for extended battery life.
Low-leakage wake-up unit with up to eight internal modules and 16 pins as wake-up sources in
the very low-leakage stop (VLLS) modes.
Low-power timer for continual system operation in reduced power states
512 KB–1024 KB flash featuring fast access times, high reliability, and four levels of security
protection.128 KB–256 KB of SRAM.
Programming and erase functions operational over the full operating voltage range (1.71 – 3.6 V).
High-speed 12-bit ADC with configurable resolution.
Single or differential input modes.
200 ns conversion time achievable.
19:1 multiplexed inputs.
12-bit Digital-to-Analog Converter (DAC).
Four high-speed comparator (CMP) modules with internal 6-bit DAC to provide a trigger point.
One 16-bit ADC for high resolution ADC measurements
240 MHz ARM Cortex-M7 core featuring dual issue and execution for most instructions, DSP
instruction set, single precision Floating Point Unit (FPU), Memory Protection Unit (MPU), 64 KB
of Tightly Coupled Memory for Instructions (ITCM), and 128 KB of Tightly Coupled Memory for
Data (DTCM).
Up to 32 channels of eDMA for peripheral and memory servicing with reduced CPU loading and
faster system throughput.
Cross bar switch enables concurrent multi-master bus accesses, increasing bus bandwidth.
Two eFlexPWM modules with four submodules each.
One nano-edge placement block connected to an eFlexPWM for enhancedPWM control.
Four FlexTimers (FTMs) with a total of 20 channels.
Hardware dead-time insertion and quadrature decoding for motor control.
Four-channel 32-bit periodic interrupt timer provides time base for RTOS task scheduler or trigger
source for ADC conversion and programmable delay block.
One PDB module to provide delayed triggering from the FTMs to the ADCs.
One Low-Power Timer module (LPTMR).
One external and one internal WDOG module.
Six UARTs with RS-232 and RS-485 support and IrDA (two contain ISO7816).
Two Inter-Integrated Chip (IIC) modules.
Three DSPI modules.
Three FlexCAN modules.
One optional Ethernet module.
Memory protection unit provides memory protection for all masters on the cross bar switch,
increasing software reliability.
Cyclic redundancy check (CRC) engine validates memory contents and communication data,
increasing system reliability.
True Random Number Generator to aid in the implementation of security algorithms.
Watchdog module guards against clock skew or code runaway for fail-safe applications such as
the IEC 60730 safety standard for household appliances.
External watchdog monitor drives output pin to safe state for external components in the event
that a watchdog timeout occurs.
This product is included in the Freescale product longevity program, with assured supply for a
minimum of 10 years after launch.
TWR-KV58F220M Tower Module User's Guide, Rev. 1, 05/2016
NXP Semiconductors
5