TWR-K20D72M User Manual

TWR-K20D72M
User Manual
Rev. 1.1
Freescale Semiconductor Inc.
Contents
1 TWR-K20D72M Overview ......................................................................................................................4
1.1 Features .................................................................................................................................................................................. 4
1.2 Getting started ..................................................................................................................................................................... 5
1.3 Reference Documents ....................................................................................................................................................... 5
2 Hardware Description .............................................................................................................................5
2.1 K20D72M Microcontroller .............................................................................................................................................. 6
2.2 Clocking .................................................................................................................................................................................. 7
2.3 System Power ....................................................................................................................................................................... 7
2.3.1 Board Power Select ........................................................................................................................................................................... 7
2.3.2 RTC VBAT .............................................................................................................................................................................................. 7
2.4 Debug Interface ................................................................................................................................................................... 8
2.4.1 OSJTAG .................................................................................................................................................................................................... 8
2.4.2 Cortex Debug Connector ................................................................................................................................................................. 8
2.5 USB Interface ........................................................................................................................................................................ 9
2.6 Infrared Port ......................................................................................................................................................................... 9
2.7 External Bus Interface – FlexBus.................................................................................................................................. 9
2.8 Accelerometer ...................................................................................................................................................................... 9
2.9 Potentiometer, Pushbuttons, LEDs ............................................................................................................................. 9
2.10 General Purpose Tower Plug-in (TWRPI) Socket ............................................................................................ 10
2.11 Touch Interface .............................................................................................................................................................. 10
2.12 Microphone and buzzer.............................................................................................................................................. 11
3 Jumper Table ........................................................................................................................................... 12
4 Input/Output Connectors and Pin Usage Table........................................................................... 13
5 Elevator Connections ............................................................................................................................ 15
TWR-K20D72M User’s Manual
Page 2 of 17
List of Figures
Figure 1. Front side of TWR-K20D72M module.......................................................................................... 4
Figure 2. Back side of TWR-K20D72M module ........................................................................................... 5
Figure 3. TWR-K20D72M Block Diagram .................................................................................................... 6
Figure 4. Infrared Port Implementation ..................................................................................................... 9
List of Tables
Table 1. Cortex Debug Connector Pinout ................................................................................................... 8
Table 2. TWRPI Socket Pin Description..................................................................................................... 10
Table 3. Touch TWRPI Pin Description ..................................................................................................... 11
Table 4. TWR-K20D72M Jumper Table ..................................................................................................... 12
Table 5. I/O Connectors and Pin Usage Table .......................................................................................... 13
Table 6. TWR-K20D72M Primary Connector Pinout................................................................................. 15
Revision History
Revision
0.1
Date
March 15, 2011
Changes
Initial Release
TWR-K20D72M User’s Manual
Page 3 of 17
1 TWR-K20D72M Overview
The K20D72M Tower MCU Module (TWR-K20D72M) is a low-cost evaluation, demonstration and
development board, which features the Kinetis K20 72MHz low-power microcontroller. These devices
are based on the ARM® Cortex™-M4 architecture with USB 2.0 full-speed OTG controller. The TWRK20D72M microcontroller module can operate 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. Take your design to the next level and begin constructing your Tower
System today by visiting www.freescale.com/tower for additional Tower System microcontroller
modules and compatible peripherals.
1.1
Features
The following list summarizes the features of the K20D72M Tower MCU boards:
• Tower compatible processor board
• S08JM60 based Open Source BDM (OSBDM) circuit
• Four (4) user-controlled status LEDs
• Two (2) Capacitive Touch Pads and two (2) mechanical push buttons
• Socket for Capacitive Touch Pad daughter board (Touch TWRPI)
• Socket for Tower Plug-in (TWRPI, e.g. sensor board)
• Standalone USB host and device function
• Microphone and buzzer
• Potentiometer
• MMA8451Q three-axis accelerometer
• Battery holder for 20mm lithium battery (e.g. 2032, 2025)
• Board power select with 3.3V or 1.8V MCU operation
Figure 1. Front side of TWR-K20D72M module
TWR-K20D72M User’s Manual
Page 4 of 17
Figure 2. Back side of TWR-K20D72M module
1.2 Getting started
Follow the Quick Start Guide found printed in the TWR-K20D72M box or the interactive DVD for the list
of recommended steps for getting started. There are also lab walk-through guides available on the
tool support page for the TWR-K20D72M: http://www.freescale.com/TWR-K20D72M.
1.3 Reference Documents
The documents listed below should be referenced for more information on the Kinetis family, Tower
System and the MCU modules. These can be found in the documentation section
of http://www.freescale.com/TWR-K20D72M or http://www.freescale.com/kinetis.
•
•
•
•
•
TWR-K20D72M Quick Start Guide
TWR-K20D72M Schematics
K20 Family Product Brief
K20 Family Reference Manual
Kinetis Quick Reference User Guide (KQRUG)
2 Hardware Description
The TWR-K20D72M is a Tower System module featuring the MK20DX256VLL7 – an ARM® Cortex-M4™
based microcontroller with USB 2.0 full-speed OTG controllers in a 100LQFP package with a maximum
core operating frequency of 72MHz. It is intended for use in the Freescale Tower System but can
operate stand-alone. An on-board debug circuit, OSJTAG, provides a JTAG debug interface and a
power supply input through a single USB mini-AB connector. Figure 3 shows a block diagram for the
TWR-K20D72M. The following sections describe the hardware in more detail.
TWR-K20D72M User’s Manual
Page 5 of 17
Tower Elevator Expansion Connectors
I2S, SPI, I2C, USB, ADC, DAC, FTM, UARTs, Flexbus
5.0V
8 MHz XTAL
20-Pin
Header
USB
Mini-AB
Micro
USB
OSJTAG
JTAG, Power, SCI
IR Output
Comparator
JTAG
SCI
K20D72M
100 LQFP
(socket-IC
footprint)
USB Device/host
FTM
Tower Plug-in
(TWRPI)
Sensor Socket
Freescale Silicon
Infrared Port
LED
LED
Reset
LED
LED
2
SPI, I C, ADC, GPIO
I2C
Buzzer
GPIO / Interrupts
VBAT (RTC)
Battery holder
3.3V
Regulator
1.8V
Regulator
32.768 KHz XTAL
ADC
5V
3.3V
General purpose
Tower Plug-in
(TWRPI)
TSI, GPIO
ADC
MMA8451Q
External Connectors
Interface Circuits
Microphone/
amplifier
Capacitive
Touch
Pads
Tower Plug-in
(TWRPI)
Touch
Power
Figure 3: TWR-K20D72M Block Diagram
2.1 K20D72M Microcontroller
The TWR-K20D72M module features the MK20DX256VLL7. The Kinetis K20 microcontroller family is
part of the Kinetis portfolio of devices built around an ARM® Cortex-M4™ core. Refer to the K20
Family Product Brief and the K20 Family Reference Manual for comprehensive information on the
MK20DX256VLL7 device. MK20DX256VLL7key features:
•
•
•
•
•
•
•
•
•
•
32-bit ARM Cortex-M4 core with DSP instructions
72MHz maximum core operating frequency
100LQFP, 14mm x 14mm, 0.5mm pitch package
1.71V – 3.6V operating voltage input range
256 Kbytes of program flash, 64 Kbytes of static RAM
External bus interface
Power management controller with 10 different power modes
Multi-purpose clock generator with PLL and FLL operation modes
16-bit SAR ADC, 12-bit DAC
High-speed analog comparator with 6-bit DAC
TWR-K20D72M User’s Manual
Page 6 of 17
•
•
•
•
•
•
•
Programmable voltage reference
USB full-speed/low-speed OTG/Host/Device controller with device charge detect
SPI, I2C (w/ SMBUS support), UART (w/ ISO7816 and IrDA), CAN, I2S
GPIO with pin interrupt support, DMA request capability, digital glitch filtering
Capacitive touch sensing inputs (TSI)
Debug interfaces: JTAG, cJTAG, SWD
Trace: TPIO, FPB, DWT, ITM
2.2 Clocking
The Kinetis MCUs start up from an internal digitally controlled oscillator (DCO). Software can enable
one or two external oscillators if desired. The external oscillator for the multipurpose clock generator
(MCG) module can range from 32.768 KHz up to a 32 MHz crystal or ceramic resonator. The external
oscillator for the real time clock (RTC) module accepts a 32.768 kHz crystal.
Two crystals are provided on board for clocking the K20D72M device: 8 MHz crystal as main oscillator
to clock MCG module and 32.768 kHz crystal for clocking RTC module.
2.3 System Power
In standalone operation, the main power source for the TWR-K20D72M is derived from the 5.0V input
from either the USB mini-B connector, J14 or the debugger header, J11, when a shunt is placed on
jumper J10. On board low-dropout regulator provides either 3.3V or 1.8V supply from the 5.0V input
voltage based on jumper settings on J17, refer to sheet 5 of the TWR-K20D72M schematic for details.
When installed into a Tower System, the TWR-K20D72M can be powered from either an on-board
source or from another source in the assembled Tower System. If both the on-board and off-board
sources are available, the TWR-K20D72M will default to the off-board source.
The 3.3V or 1.8V power supplied to the MCU is routed through a jumper, J6. The jumper shunt can be
removed to allow for either 1) alternate MCU supply voltages to be injected or 2) the measurement of
power consumed by the MCU.
2.3.1 Board Power Select
TWR-K20D72M board include on board regulators for both 3.3V and 1.8V output and add jumper J17
to select which one to use as board power and CPU power. This allows MCU operation under 1.8V
power supply.
2.3.2 RTC VBAT
The real time clock (RTC) module on the K20D72M has two modes of operation, system power-up and
system power-down. During system power-down, the RTC is powered from the backup power supply,
VBAT. The TWR-K20D72M provides a battery holder for a coin cell battery that can be used as the
TWR-K20D72M User’s Manual
Page 7 of 17
VBAT supply. The holder can accept common 20mm diameter 3V lithium coin cell batteries (e.g. 2032,
2025). Refer to the description J13 in Table 4 “TWR-K20D72M Jumper Table” for more information.
2.4 Debug Interface
There are two debug interface options provided: the on-board OSJTAG circuit and an external Cortex
Debug connector.
2.4.1 OSJTAG
An on-board, MC9S08JM60 based Open Source BDM (OSBDM) circuit provides a debug interface to the
K20D72M. A standard USB A male to Mini-B male cable (provided) can be used for debugging via the
USB connector, J14. The OSJTAG interface also provides a USB to serial bridge. Drivers for the OSJTAG
interface are provided in the P&E Micro Kinetis Tower Toolkit (available on the included DVD).
2.4.2 Cortex Debug Connector
The Cortex Debug connector is a 20-pin (0.05") connector providing access to the SWD, SWV, JTAG,
cJTAG, EzPort signals available on the K20 device. The pinout and K20 pin connections to the debug
connector, J11, is shown in Table 1.
Table 1. Cortex Debug Connector Pinout
Pin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Function
VTref
TMS/SWDIO
GND
TCK/SWCLK
GND
TDO/SWO
Key
TDI
GNDDetect
nReset
Target Power
Target Power
GND
GND
GND
-
TWR-K20D72M connection
MCU supply (MCU_PWR)
PTA3/UART0_RTS_b/FTM0_CH0/JTAG_MS/SWD_DIO
GND
PTA0/UART0_CTS_b/FTM0_CH5/JTAG_CLK/SWD_CLK/EZP_CLK
GND
PTA2/UART0_TX/FTM0_CH7/JTAG_DO/TRACE_SWO/EZP_DO
PTA1/UART0_TX/FTM0_CH6/JTAG_DI/EZP_DI
PTA4/FTM0_CH1/MS/NMI_b/EZP_CS_b
RESET_b
5V supply (via J10)
5V supply (via J10)
GND
GND
GND
TWR-K20D72M User’s Manual
Page 8 of 17
Note: there are no ETM signals on K20D72M, so the associated signals on Cortex Debugger connector
is left empty.
2.5 USB Interface
TWR-K20D72M board allows using USB as host or device in standalone mode or with connection to
TWR-SER board in a complete tower kit. Jumper J16 can be used to select which USB VBUS signal from
USB connector to connect with the MCU VREGIN input pin. When using in standalone mode, short 5-6
on J16 and connect USB with on board Micro-USB connector J19, when using with TWR-SER board in
complete tower kit, short 6-8 on J16 and connect USB with Mini-AB connector J14 on TWR-SER board.
Refer to description on J16 in Table 4 “TWR-K20D72M Jumper Table” for more information.
2.6 Infrared Port
An infrared transmit and receive interface is implemented as shown in Figure 4 below. The CMT_IRO
pin directly drives an infrared diode. The receiver uses an infrared phototransistor connected to an onchip analog comparator through a low-pass filter.
Figure 4: Infrared Port Implementation
2.7 External Bus Interface – FlexBus
The K20 device features a multi-function external bus interface called the FlexBus interface controller,
capable of interfacing to slave-only devices. The FlexBus interface is not used directly on the TWRK20D72M. Instead, a subset of the FlexBus is connected to the Primary Connector so that the external
bus can access devices on Tower peripheral modules. Refer to Table 6 “TWR-K20D72M Primary
Connector Pinout“and sheet 8 of the TWR-K20D72M schematics for more details.
2.8 Accelerometer
An MMA8451Q digital accelerometer is connected to the K20 MCU through an I2C interface and a
GPIO/IRQ signal. Refer to Table 5 “I/O Connectors and Pin Usage Table” for connection details.
2.9 Potentiometer, Pushbuttons, LEDs
The TWR-K20D72M features two pushbutton switches connected to GPIO/interrupt signals, one
pushbutton connected to the master reset signal, two capacitive touch pad electrodes, four userTWR-K20D72M User’s Manual
Page 9 of 17
controllable LEDs, and a potentiometer connected to an ADC input signal. Refer to Table 5 “I/O
Connectors and Pin Usage Table” for information about which port pins is connected to these features.
2.10 General Purpose Tower Plug-in (TWRPI) Socket
The TWR-K20D72M features a socket that can accept a variety of different Tower Plug-in modules
featuring sensors, RF transceivers, and more. The General Purpose TWRPI socket provides access to
I2C, SPI, IRQs, GPIOs, timers, analog conversion signals, TWRPI ID signals, reset, and voltage supplies.
The pinout for the TWRPI Socket is defined in Table 2.
Table 2. TWRPI Socket Pin Description
Left-side 2x10 Connector
Pin Description
1
5V VCC
2
3.3 V VCC
3
GND
4
3.3V VDDA
5
VSS (Analog GND)
6
VSS (Analog GND)
7
VSS (Analog GND)
8
ADC: Analog 0
9
ADC: Analog 1
10 VSS (Analog GND)
11 VSS (Analog GND)
12 ADC: Analog 2
13 VSS (Analog GND)
14 VSS (Analog GND)
15 GND
16 GND
17 ADC: TWRPI ID 0
18 ADC: TWRPI ID 1
19 GND
20 Reset
Right-side 2x10 Connector
Pin Description
1
GND
2
GND
3
I2C: SCL
4
I2C: SDA
5
GND
6
GND
7
GND
8
GND
9
SPI: MISO
10 SPI: MOSI
11 SPI: SS
12 SPI: CLK
13 GND
14 GND
15 GPIO: GPIO0/IRQ
16 GPIO: GPIO1/IRQ
17 GPIO: GPIO2/UART0_RX
18 GPIO: GPIO3/ UART0_TX
19 GPIO: GPIO4/ UART0_CTS
20 GPIO: GPIO5/ UART0_RTS
2.11 Touch Interface
The touch sensing input (TSI) module of the Kinetis MCUs provides capacitive touch sensing detection
with high sensitivity and enhanced robustness. Each TSI pin implements the capacitive measurement
of an electrode.
The TWR-K20D72M provides two methods for evaluating the TSI module. There are two individual
electrodes on-board the TWR-K20D72M that simulates pushbuttons. Additionally, twelve TSI signals
TWR-K20D72M User’s Manual
Page 10 of 17
are connected to a Touch Tower Plug-in (TWRPI) socket that can accept Touch TWRPI daughter cards
that may feature keypads, rotary dials, sliders, etc.
The pinout for the Touch TWRPI socket is defined in Table 3. Refer to Table 5 “I/O Connectors and Pin
Usage Table” for the specific K20 pin connections to the Touch TWRPI socket.
Table 3. Touch TWRPI Pin Description
Pin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description
5V VCC
3.3 V VCC
Electrode 0
3.3V VDDA
Electrode 1
VSS (Analog GND)
Electrode 2
Electrode 3
Electrode 4
Electrode 5
Electrode 6
Electrode 7
Electrode 8
Electrode 9
Electrode 10
Electrode 11
ADC: TWRPI ID 0
ADC: TWRPI ID 1
GND
Reset
2.12 Microphone and buzzer
TWR-K20D72M board includes a microphone U16 which connects with one ADC channel to allow audio
recording, there is a low-pass filter implemented before microphone input goes to ADC channel.
Jumper J4 can be used for connection with the ADC channel. There is also a buzzer connected with one
PWM output channel on FTM module, jumper J21 is used for this connection.
TWR-K20D72M User’s Manual
Page 11 of 17
3 Jumper Table
There are several jumpers provided for isolation, configuration, and feature selection. Refer to the
following table for details. The default installed jumper settings are shown in bold with asterisks.
Table 4. TWR-K20D72M Jumper Table
Jumper
Option
J1
Infrared Transmitter Connection
J2
Enable Micro USB Power
J3
Infrared Receiver Connection
J4
Microphone connection
J6
MCU Power selection
J10
JTAG Power Connection
Setting
*ON*
OFF
*ON*
OFF
*ON*
OFF
*ON*
OFF
*ON*
OFF
ON
Description
Connect PTD7/CMT_IRO/UART0_TX to IR Transmitter (D1)
Disconnect PTD7/CMT_IRO/UART0_TX to IR Transmitter (D1)
Enable USB Power control IC U14
Disable USB Power control IC U14
Connect IRDA output to EBI_AD8/PTC7/CMP0_IN1
Disable IRDA output to EBI_AD8/PTC7/CMP0_IN1
Connection Microphone to ADC1_DP0
Disable Microphone to ADC1_DP0
Connect on board VBRD for MCU power supply
Isolate MCU from power supply (allows for external supply or
power measurements)
Connect on-board 5V supply to JTAG port (supports powering
board from external JTAG probe)
*OFF* Disconnect on-board 5V supply from JTAG port
*1-2* Connect VBAT to on-board 3.3V supply
J13
VBAT Power Selection
J15
OSJTAG Mode Selection
J16
Power 5V and VREG IN Selection
J17
Board power selection
J18
3.3V VOUT Selection
J20
USB power IC over-current signal
connection
J21
Enable Buzzer
2-3
Connect VBAT to the higher voltage between on-board 3.3V
supply or coin-cell supply
OSJTAG bootloader mode (OSJTAG firmware reprogramming)
ON
*OFF* Debugger mode
*1-2* 5V Power from OSBDM USB powers LDO regulator
VBUS signal on Micro-USB connector J19 connects to
*5-6*
VREGIN to allow standalone USB operation
VBUS signal from elevator connector connects to VREGIN
6-8
to allow USB operation with complete tower kit
1-2 Board power from VOUT_3V3
*3-5* Board power from 3.3V regulator
5-7 Board power from 1.8V regulator
ON Connect USB 3.3V regulator output to MCU_PWR
*OFF* Disconnect USB 3.3V regulator output to MCU_PWR
Connect over-current signal on USB power IC MIC-2026 to
*ON*
PTC8
Disconnect over-current signal on USB power IC MICOFF
2026 to PTC8
*ON* Enable buzzer to EBI_AD11/FTM0_CH3
OFF Disable buzzer to EBI_AD11/FTM0_CH3
TWR-K20D72M User’s Manual
Page 12 of 17
J23
Enable IRQ2 to ACCELEROMETER
J24
Enable IRQ1 to ACCELEROMETER
J25
Enable SCL to ACCELEROMETER
J26
Enable SDA to ACCELEROMETER
J27
Enable POTENTIOMETER
ON
*OFF*
ON
*OFF*
*ON*
OFF
*ON*
OFF
*ON*
OFF
Enable IRQ2 to ACCELEROMETER
Disable IRQ2 to ACCELEROMETER
Enable IRQ1 to ACCELEROMETER
Disable IRQ1 to ACCELEROMETER
Enable SCL to ACCELEROMETER
Disable SCL to ACCELEROMETER
Enable SDA to ACCELEROMETER
Disable SDA to ACCELEROMETER
Enable POTENTIOMETER to ADC1_DM0
Disable POTENTIOMETER to ADC1_DM0
4 Input/Output Connectors and Pin Usage Table
Table 5 provides details on which K20D72M pins are using to communicate with the TWR-K20D72M
sensors, LEDs, switches, and other I/O interfaces.
Note: Some port pins are used in multiple interfaces on-board and many are potentially connected to
off-board resources via the Primary and Secondary Connectors. Take care to avoid attempted
simultaneous usage of mutually exclusive features.
Table 5. I/O Connectors and Pin Usage Table
Feature
Infrared Port
Pushbuttons
Touch Pads
LEDs
Potentiometer
Microphone
BUZZER
Connection
IR Transmit
IR Receive
SW1 (IRQ0)
SW2 (IRQ1)
SW3 (RESET)
Touch
Touch
D2 / Orange LED
D3 / Yellow LED
D4 / YEL/GRN LED
D5 / Yellow LED
D7/Green LED
D8/Blue LED
D9
D10
Potentiometer (R42)
Microphone
BUZZER
Port Pin
PTD7
PTC7
PTC1
PTC2
RESET_b
PTB0
PTB1
PTC4
3.3V
PTD1
PTD0
PTC7
PTC8
PTC9
PTC10
PTC4
Pin Function
CMT_IRO
CMP0_IN1
PTC1
PTC2
RESET_b
TSI0_CH0
TSI0_CH6
RESET_b
Power on
OSBDM status
OSBDM target power
Green LED
Blue LED
D9 Electrode LED
D10 Electrode LED
ADC1_DM0
ADC1_DP0
FTM0_CH3
TWR-K20D72M User’s Manual
Page 13 of 17
Accelerometer
General Purpose
TWRPI Socket
Touch Pad TWRPI
Socket
I2C SDA
I2C SCL
IRQ1
IRQ2
TWRPI AN0 (J7 Pin 8)
TWRPI AN1 (J7 Pin 9)
TWRPI AN2 (J7 Pin 12)
TWRPI ID0 (J7 Pin 17)
TWRPI ID1 (J7 Pin 18)
TWRPI I2C SCL (J8 Pin 3)
TWRPI I2C SDA (J8 Pin 4)
TWRPI SPI MISO (J8 Pin 9)
TWRPI SPI MOSI (J8 Pin
10)
TWRPI SPI SS (J8 Pin 11)
TWRPI SPI CLK (J8 Pin 12)
TWRPI GPIO0 (J8 Pin 15)
TWRPI GPIO1 (J8 Pin 16)
TWRPI GPIO2 (J8 Pin 17)
TWRPI GPIO3 (J8 Pin 18)
TWRPI GPIO4 (J8 Pin 19)
TWRPI GPIO5 (J8 Pin 20)
Electrode 0 (J5 Pin 3)
Electrode 1 (J5 Pin 5)
Electrode 2 (J5 Pin 7)
Electrode 3 (J5 Pin 8)
Electrode 4 (J5 Pin 9)
Electrode 5 (J5 Pin 10)
Electrode 6 (J5 Pin 11)
Electrode 7 (J5 Pin 12)
Electrode 8 (J5 Pin 13)
Electrode 9 (J5 Pin 14)
Electrode 10 (J5 Pin 15)
Electrode 11 (J5 Pin 16)
TWRPI ID0 (J5 Pin 17)
PTB3
PTB2
PTB0
PTB1
PTB0
PTB1
―
―
―
PTB2
PTB3
PTD3
I2C0_SDA
I2C0_SCL
PTB0
PTB1
ADC0_SE8
ADC0_SE9
ADC1_DP0
ADC0_DP0
ADC0_DM0
I2C0_SCL
I2C0_SDA
SPI0_SIN
PTD2
PTD4
PTD1
PTC5
PTC6
PTD6
PTD7
PTD5
PTD4
PTB0
PTB1
PTB2
PTB3
PTC0
PTC1
PTC2
PTA4
PTB16
PTB17
PTB18
PTB19
―
SPI0_SOUT
SPI0_PCS1
SPI0_SCK
PTC5
PTC6
UART0_RX
UART0_TX
UART0_CTS
UART0_RTS
TSI0_CH0
TSI0_CH6
TSI0_CH7
TSI0_CH8
TSI0_CH13
TSI0_CH14
TSI0_CH15
TSI0_CH5
TSI0_CH9
TSI0_CH10
TSI0_CH11
TSI0_CH12
ADC0_DP0
TWRPI ID1 (J5 Pin 18)
―
ADC0_DM0
TWR-K20D72M User’s Manual
Page 14 of 17
5 Elevator Connections
The TWR-K20D72M features two expansion card-edge connectors that interface to Elevator boards in a
Tower System: the Primary and Secondary Elevator connectors. The Primary Elevator connector,
comprised of sides A and B, is utilized by the TWR-K20D72M, while the Secondary Elevator connector
only makes connections to ground (GND). Table 6 provides the pinout for the Primary Elevator
Connector.
Table 6. TWR-K20D72M Primary Connector Pinout
Pin
#
B1
B2
B3
B4
B5
B6
B7
B8
B9
B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B33
B34
B35
B36
B37
B38
B39
B40
B41
Side B
Name
Usage
5V
5.0V Power
GND
Ground
3.3V
3.3V Power
ELE_PS_SENSE
Elevator Power Sense
GND
Ground
GND
Ground
SDHC_CLK / SPI1_CLK
PTE2
SDHC_D3 / SPI1_CS1_b
SDHC_D3 / SPI1_CS0_b
PTE4
SDHC_CMD / SPI1_MOSI
PTE1
SDHC_D0 / SPI1_MISO
PTE3
ETH_COL
ETH_RXER
ETH_TXCLK
ETH_TXEN
ETH_TXER
ETH_TXD3
ETH_TXD2
ETH_TXD1
ETH_TXD0
PTC7
GPIO1 / RTS1
PTE0
GPIO2 / SDHC_D1
GPIO3
PTB20
CLKIN0
CLKOUT1
PTE26
GND
Ground
AN7
PTB0
AN6
PTB1
AN5
PTB2
AN4
PTB3
GND
Ground
DAC1
TMR3
TMR2
PTD7
GPIO4
PTA14
3.3V
3.3V Power
PWM7
PWM6
PTD6
PWM5
PTD5
PWM4
PTD4
CANRX0
PTA13
Pin
#
A1
A2
A3
A4
A5
A6
A7
A8
A9
A10
A11
A12
A13
A14
A15
A16
A17
A18
A19
A20
A21
A22
A23
A24
A25
A26
A27
A28
A29
A30
A31
A32
A33
A34
A35
A36
A37
A38
A39
A40
A41
Side A
Name
5V
GND
3.3V
3.3V
GND
GND
SCL0
SDA0
GPIO9 / CTS1
GPIO8 / SDHC_D2
GPIO7 / SD_WP_DET
ETH_CRS
ETH_MDC
ETH_MDIO
ETH_RXCLK
ETH_RXDV
ETH_RXD3
ETH_RXD2
ETH_RXD1
ETH_RXD0
SSI_MCLK
SSI_BCLK
SSI_FS
SSI_RXD
SSI_TXD
GND
AN3
AN2
AN1
AN0
GND
DAC0
TMR1
TMR0
GPIO6
3.3V
PWM3
PWM2
PWM1
PWM0
RXD0
TWR-K20D72M User’s Manual
Usage
5.0V Power
Ground
3.3V Power
3.3V Power
Ground
Ground
PTB2
PTB3
PTC9
PTB22
PTB21
PTC8
PTB18
PTB19
PTC11
PTC0
Ground
ADC0_DP0
ADC0_DM0
ADC1_DP0
ADC1_DM0
Ground
DAC0_OUT
PTA13
PTA12
PTA15
3.3V Power
PTC4
PTC3
PTC2
PTC1
PTD6
Page 15 of 17
Pin
#
B42
B43
B44
B45
B46
B47
B48
B49
B50
B51
B52
B53
B54
B55
B56
B57
B58
B59
B60
B61
B62
B63
B64
B65
B66
B67
B68
B69
B70
B71
B72
B73
B74
B75
B76
B77
B78
B79
B80
B81
B82
Side B
Name
Usage
CANTX0
PTA12
1WIRE
SPI0_MISO
PTD3
SPI0_MOSI
PTD2
SPI0_CS0_b
PTD0
SPI0_CS1_b
PTD4
SPI0_CLK
PTD1
GND
Ground
SCL1
PTB2
SDA1
PTB3
GPIO5 / SPI0_HOLD/IO3
PTC10
USB0_DP_PDOWN
USB0_DM_PDOWN
IRQ_H
PTE25
IRQ_G
PTE24
IRQ_F
PTE6
IRQ_E
PTE5
IRQ_D
PTA17
IRQ_C
PTA16
IRQ_B
PTC6
IRQ_A
PTC5
EBI_ALE / EBI_CS1_b
PTD0
EBI_CS0_b
PTD1
GND
Ground
PTB18
EBI_AD15
PTB17
EBI_AD16
PTB16
EBI_AD17
PTB11
EBI_AD18
EBI_AD19
PTB10
EBI_R/W_b
PTC11
EBI_OE_b
PTB19
EBI_D7
PTC8
EBI_D6
PTC9
EBI_D5
PTC10
EBI_D4
PTD2
EBI_D3
PTD3
EBI_D2
PTD4
EBI_D1
PTD5
EBI_D0
PTD6
GND
Ground
3.3V
3.3V Power
Pin
#
A42
A43
A44
A45
A46
A47
A48
A49
A50
A51
A52
A53
A54
A55
A56
A57
A58
A59
A60
A61
A62
A63
A64
A65
A66
A67
A68
A69
A70
A71
A72
A73
A74
A75
A76
A77
A78
A79
A80
A81
A82
Side A
Name
TXD0
RXD1
TXD1
VSS
VDDA
VREFA1
VREFA2
GND
GPIO14
GPIO15
GPIO16
GPIO17
USB0_DM
USB0_DP
USB0_ID
USB0_VBUS
TMR7
TMR6
TMR5
TMR4
RSTIN_b
RSTOUT_b
CLKOUT0
GND
EBI_AD14
EBI_AD13
EBI_AD12
EBI_AD11
EBI_AD10
EBI_AD9
EBI_AD8
EBI_AD7
EBI_AD6
EBI_AD5
EBI_AD4
EBI_AD3
EBI_AD2
EBI_AD1
EBI_AD0
GND
3.3V
TWR-K20D72M User’s Manual
Usage
PTD7
PTE1
PTE0
VSSA
VDDA
Ground
PTC12
PTC13
PTC14
PTC15
USB0_DN
USB0_DP
USB0_VBUS
RESET_b
PTE1
PTC3
Ground
PTC0
PTC1
PTC2
PTC4
PTC5
PTC6
PTC7
LATCH_AD7
LATCH_ AD6
LATCH_ AD5
LATCH_ AD4
LATCH_ AD3
LATCH_ AD2
LATCH_ AD1
LATCH_ AD0
Ground
3.3V Power
Page 16 of 17
Freescale™ and the Freescale logo are trademarks of
Freescale Semiconductor, Inc. All other product or service names
are the property of their respective owners.
© Freescale Semiconductor, Inc. 2011. All rights reserved.
TWR-K20D72M User’s Manual
Page 17 of 17