TWRK60D100M Tower Module User's Manual Rev. 1.1 Freescale Semiconductor Inc. TWRK60D100MUM Table of Contents 1 TWRK60D100M and TWRK60D100MKIT Overview ..............................................................4 1.1 Contents .................................................................................................................................................................................. 4 1.2 Features .................................................................................................................................................................................. 5 1.3 Getting Started ..................................................................................................................................................................... 6 1.4 Reference Documents ....................................................................................................................................................... 6 2 Hardware Description ...........................................................................................................................6 2.1 K60DN512 Microcontroller ............................................................................................................................................ 7 2.2 Clocking .................................................................................................................................................................................. 8 2.3 System Power ....................................................................................................................................................................... 8 2.3.1 RTC VBAT .............................................................................................................................................................................................. 8 2.4 Debug Interface ................................................................................................................................................................... 9 2.4.1 OSJTAG .................................................................................................................................................................................................... 9 2.4.2 Cortex Debug+ETM Connector..................................................................................................................................................... 9 2.5 Infrared Port ...................................................................................................................................................................... 10 2.6 Accelerometer ................................................................................................................................................................... 10 2.7 Potentiometer, Push buttons, LEDs ......................................................................................................................... 10 2.8 General Purpose Tower Plugin (TWRPI) Socket............................................................................................... 11 2.9 Touch Interface................................................................................................................................................................. 11 2.10 Ethernet ............................................................................................................................................................................ 12 2.11 USB ...................................................................................................................................................................................... 13 2.12 Secure Digital Card Slot .............................................................................................................................................. 13 2.13 External Bus Interface - FlexBus ............................................................................................................................ 13 3 Jumper Table.......................................................................................................................................... 14 4 Input/Output Connectors and Pin Usage Table ......................................................................... 14 5 Tower Elevator Connections ............................................................................................................ 16 TWRK60D100MUM TWRK60N512 Tower Module User's Manual Page 2 of 18 List of Figures Figure 1. Freescale Tower System Overview .............................................................................................. 4 Figure 2. Callouts on front side of the TWRK60D100M ............................................................................ 5 Figure 3. Callouts on back side of the TWRK60D100M ............................................................................. 6 Figure 4. TWRK60D100M Block Diagram .................................................................................................. 7 Figure 5. Infrared Port Implementation ................................................................................................... 10 List of Tables Table 1. Cortex Debug+ETM Connector Pinout .......................................................................................... 9 Table 2. General Purpose TWRPI socket pinout ....................................................................................... 11 Table 3. Touch TWRPI socket pinout ........................................................................................................ 12 Table 4. Ethernet operation jumper settings ........................................................................................... 13 Table 5. TWRK60D100M Jumper Table ................................................................................................... 14 Table 6. I/O Connectors and Pin Usage Table........................................................................................... 15 Table 7. TWRK60D100M Primary Connector Pinout ............................................................................... 16 Revision History Revision 1.0 1.1 Date Jun 1, 2011 Aug 28, 2011 Changes Initial Release for PWA 70027291 Rev B Fixed hyperlink in Section 1.4 TWRK60D100MUM TWRK60N512 Tower Module User's Manual Page 3 of 18 1 TWRK60D100M and TWRK60D100MKIT Overview The TWRK60D100M is a Tower Controller Module compatible with the Freescale Tower System. It can function as a standalone, lowcost platform for the evaluation of the Kinetis K10, K20 and K60 family of microcontroller (MCU) devices. The TWRK60D100M features the Kinetis K60 lowpower microcontroller based on the ARM(R) CortexTMM4 architecture with USB 2.0 fullspeed OTG controller and 10/100 Mbps Ethernet MAC. The TWRK60D100M is available as a standalone product or as a kit (TWRK60D100MKIT) with the Tower Elevator Modules (TWRELEV) and the Tower Serial Module (TWRSER). The TWRK60D100M can also be combined with other Freescale Tower peripheral modules to create development platforms for a wide variety of applications. Figure 1 provides an overview of the Freescale Tower System. Figure 1. Freescale Tower System Overview 1.1 Contents The TWRK60D100M contents include: * TWRK60D100M board assembly * 3ft USB cable * CR 2025 Coin Cell Battery TWRK60D100MUM TWRK60N512 Tower Module User's Manual Page 4 of 18 * Quick Start Guide The TWRK60D100MKIT contains: * TWRK60D100M MCU module * TWRELEV - Primary and Secondary Elevator Modules * TWRSER - Serial module including USB host/device/OTG, Ethernet, CAN, RS232 and RS485 1.2 Features Figure 2 and Figure 3 show the TWRK60D100M with some of the key features called out. The following list summarizes the features of the TWRK60D100M Tower MCU Module: * Tower compatible microcontroller module * MK60DN512VMD10: K60DN512 in a 144 MAPBGA with 100MHz operation * Touch Tower Plugin Socket * General purpose Tower Plugin (TWRPI) socket * Onboard JTAG debug circuit (OSJTAG) with virtual serial port * Three axis accelerometer (MMA78451Q) * Four (4) usercontrollable LEDs * Four (4) capacitive touch pads * Two (2) user pushbutton switches * Potentiometer * Battery Holder for 20mm lithium battery (e.g. 2032, 2025) * SD Card slot * 3.3V or 1.8V operation * Isolation for low power measurements Figure 2. Callouts on front side of the TWRK60D100M TWRK60D100MUM TWRK60N512 Tower Module User's Manual Page 5 of 18 Figure 3. Callouts on back side of the TWRK60D100M 1.3 Getting Started Follow the Quick Start Guide found printed in the TWRK60D100M box or on the web for the list of recommended steps for getting started. There are also lab walkthrough guides available on the tool support page for the TWRK60D100M: http://www.freescale.com/TWRK60D100M. 1.4 Reference Documents The documents listed below should be referenced for more information on the Kinetis family, Tower System, and MCU Modules. These can be found in the documentation section of http://www.freescale.com/TWRK60D100M or http://freescale.com/kinetis. * TWRK60D100MQSG: Quick Start Guide * TWRK60D100MSCH: Schematics * TWRK60D100MPWA: Design Package * K60 Family Product Brief * K60 Family Reference Manual * Kinetis Quick Reference User Guide (QRUG) * Tower Configuration Tool 2 Hardware Description The TWRK60D100M is a Tower Controller Module featuring the MK60DN512VMD10--an ARM Cortex M4 based microcontroller with USB 2.0 fullspeed OTG controllers, Ethernet, and Encryption in a 144 MAPBGA package with a maximum core operating frequency of 100MHz. It is intended for use in the Freescale Tower System but can operate standalone. An onboard debug circuit, OSJTAG, provides a JTAG debug interface and a power supply input through a single USB miniAB connector. Figure 4 shows a block diagram of the TWRK60D100M. The following sections describe the hardware in more detail. TWRK60D100MUM TWRK60N512 Tower Module User's Manual Page 6 of 18 Figure 4. TWRK60D100M Block Diagram 2.1 K60DN512 Microcontroller The TWRK60D100M module features the MK60DN512VMD10. The K60 microcontroller family is part of the Kinetis portfolio of devices built around an ARM CortexM4 core. Refer to the K60 Family Product Brief and the K60 Family Reference Manual for comprehensive information on the MK60DN512VMD10 device. The key features are listed here: * 32bit ARM CortexM4 core with DSP instructions * 100MHz maximum core operating frequency * 144 MAPBGA, 13mm x 13mm, 1.0mm pitch package * 1.71V - 3.6V operating voltage input range * 512 Kbytes of program flash, 128 Kbytes of static RAM * External bus interface * Power management controller with 10 different power modes * Multipurpose clock generator with PLL and FLL operation modes * 16bit SAR ADC, 12bit DAC * Highspeed analog comparator with 6bit DAC * Programmable voltage reference * USB fullspeed/lowspeed OTG/Host/Device controller with device charge detect * 10/100 Mbps Ethernet MAC * SPI, I2C (w/ SMBUS support), UART (w/ ISO7816 and IrDA), CAN, I2S * SD Host Controller (SDHC) TWRK60D100MUM TWRK60N512 Tower Module User's Manual Page 7 of 18 * * * * GPIO with pin interrupt support, DMA request capability, digital glitch filtering Capacitive touch sensing inputs (TSI) Debug interfaces: JTAG, cJTAG, SWD Trace: TPIU, FPB, DWT, ITM, ETM, ETB 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. The EXTAL pin of the main external oscillator can also be driven directly from an external clock source. The TWRK60D100M features a 50 MHz onboard clock oscillator as seen in sheet 4 of the schematics. However, when the K60 Ethernet MAC is operating in RMII mode, synchronization of the MCU input clock and the 50 MHz RMII transfer clock is important. In this mode, the MCU input clock must be kept in phase with the 50 MHz clock supplied to the external PHY. Therefore, the TWRK60D100M provides the option (see description for J6 in Table 5) to select the clock input to the MCU from 1) the onboard 50MHz source or 2) an external clock from the CLKIN0 pin on the Primary Connector 3) route CLKIN0 from TWRSER 50 MHz to ENET_1588_CLKIN. When the K60 is operating in Ethernet RMII mode, the Tower peripheral module implementing the RMII PHY device should drive a 50 MHz clock on the CLKIN0 signal that is kept in phase with the clock supplied to the RMII PHY. Refer to section 2.10 "Ethernet" for more information. 2.3 System Power In standalone operation, the main power source for the TWRK60D100M module is derived from the 5.0V input from either the USB miniB connector, J17, or the debug header, J16, when a shunt is placed on jumper J15. Lowdropout regulators provide either a 3.3V or 1.8V supply from the 5.0V input voltage via J13. Refer to sheet 5 of the TWRK60D100M schematics for more details. When installed into a Tower System, the TWRK60D100M can be powered from either an onboard source or from another source in the assembled Tower System. If both the onboard and offboard sources are available, the TWRK60D100M will default to the offboard source. The V_BRD power supplied to the MCU is routed through a jumper, J14. 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 RTC VBAT The Real Time Clock (RTC) module on the K60 has two modes of operation, system powerup and system powerdown. During system powerdown, the RTC is powered from the backup power supply, VBAT. The TWRK60D100M provides a battery holder for a coin cell battery that can be used as the VBAT supply. The holder can accept common 20mm diameter 3V lithium coin cell batteries (e.g. 2032, 2025). Refer to the description of J12 in Table 5 "TWRK60D100M Jumper Table" for more information. TWRK60D100MUM TWRK60N512 Tower Module User's Manual Page 8 of 18 Additionally, the RTC_WAKEUP signal from the K60 was connected to the JM60 to demonstrate the feature where the RTC can set an alarm and assert the RTC_WAKEUP signal to external circuitry so the external circuitry can apply MCU VDD. 2.4 Debug Interface There are two debug interface options provided: the onboard OSJTAG circuit and an external Cortex Debug+ETM connector. 2.4.1 OSJTAG An onboard MC9S08JM60 based Open Source JTAG (OSJTAG) circuit provides a JTAG debug interface to the K60D100M. A standard USB A male to MiniB male cable (provided) can be used for debugging via the USB connector, J16. The OSJTAG interface also provides a USB to serial bridge. Drivers for the OSJTAG interface are provided in the P&E Micro OSBDM/OSJTAG Tower Toolkit. These drivers and more utilities can be found online at http://www.pemicro.com/osbdm. Note: The port pins connected to the OSJTAG USBtoserial bridge (PTD6 and PTD7) are also connected to the infrared interface. Refer to Table 6 "I/O Connectors and Pin Usage Table" and Table 5 "TWR K60D100M Jumper Table" for more information. 2.4.2 Cortex Debug+ETM Connector The Cortex Debug+ETM connector is a 20pin (0.05") connector providing access to the SWD, SWV, JTAG, cJTAG, EzPort and ETM trace (4bit) signals available on the K60 device. The pinout and K60 pin connections to the debug connector, J16, is shown in Table 1. Table 1. Cortex Debug+ETM Connector Pinout Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Function VTref TMS / SWDIO GND TCK / SWCLK GND TDO / SWO Key TDI GNDDetect nRESET Target Power TRACECLK Target Power TRACEDATA[0] GND TRACEDATA[1] GND TRACEDATA[2] TWRK60D100M Connection 3.3V MCU supply (P3V3_MCU) PTA3/SCI0_RTS_b/FTM0_CH0/JTAG_MS/SWD_DIO GND PTA0/SCI0_CTS_b/FTM0_CH5/JTAG_CLK/SWD_CLK/EZP_CLK GND PTA2/SCI0_TX/FTM0_CH7/JTAG_DO/TRACE_SWO/EZP_DO PTA1/SCI0_RX/FTM0_CH6/JTAG_DI/EZP_DI PTA4/FTM0_CH1/MS/NMI_b/EZP_CS_b RESET_b 5V supply (via J12) PTA6/FTM0_CH3/TRACE_CLKOUT 5V supply (via J12) PTA10/FTM2_CH0/FTM2_QD_PHA/TRACE_D0 GND PTA9/FTM1_CH1/FTM1_QD_PHB/TRACE_D1 GND PTA8/FTM1_CH0/FTM1_QD_PHA/TRACE_D2 TWRK60D100MUM TWRK60N512 Tower Module User's Manual Page 9 of 18 Pin 19 20 Function GND TRACEDATA[3] TWRK60D100M Connection GND PTA7/FTM0_CH4/TRACE_D3 Note: Many of the trace signals connected to the debug connector are also connected elsewhere on the TWRK60D100M. Refer to Table 6 "I/O Connectors and Pin Usage Table" and Table 7 "TWR K60D100M Primary Connector Pinout" for more information. 2.5 Infrared Port An infrared transmit and receive interface is implemented as shown in Figure 5 below. The CMT_IRO pin directly drives an infrared diode. The receiver uses an infrared phototransistor connected to an on chip analog comparator through a lowpass filter. Internal to the K60 device, the output of the analog comparator can be routed to a UART module for easier processing of the incoming data stream. Figure 5. Infrared Port Implementation 2.6 Accelerometer An MMA78451Q digital accelerometer is connected to the K60 MCU through an I2C interface and a GPIO/IRQ signal. Refer to Table 6 "I/O Connectors and Pin Usage Table" for connection details. 2.7 Potentiometer, Push buttons, LEDs The TWRK60D100M features two pushbutton switches connected to GPIO/interrupt signals, one push button connected to the master reset signal, four capacitive touch pad electrodes, four user controllable LEDs, and a potentiometer connected to an ADC input signal. Refer to Table 6 "I/O TWRK60D100MUM TWRK60N512 Tower Module User's Manual Page 10 of 18 Connectors and Pin Usage Table" for information about which port pins are connected to these features. 2.8 General Purpose Tower Plugin (TWRPI) Socket The TWRK60D100M features a socket that can accept a variety of different Tower Plugin 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. Refer to Table 6 "I/O Connectors and Pin Usage Table" for the specific K60 pin connections to the General Purpose TWRPI socket. Table 2. General Purpose TWRPI socket pinout Leftside 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 Rightside 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 18 GPIO: GPIO3 19 GPIO: GPIO4/Timer 20 GPIO: GPIO5/Timer 2.9 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 TWRK60D100M provides two methods for evaluating the TSI module. There are four individual electrodes onboard the TWRK60D100M that simulate push buttons. Additionally, twelve TSI signals are connected to a Touch Tower Plugin (TWRPI) socket that can accept Touch TWRPI daughter cards that may feature keypads, rotary dials, sliders, etc. TWRK60D100MUM TWRK60N512 Tower Module User's Manual Page 11 of 18 The pinout for the Touch TWRPI socket is defined in Table 3. Refer to Table 6 "I/O Connectors and Pin Usage Table" for the specific K60 pin connections to the Touch TWRPI socket. Table 3. Touch TWRPI socket pinout 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.10 Ethernet The K60D100M features a 10/100 Mbps Ethernet MAC with MII and RMII interfaces. The TWR K60D100M routes the RMII interface signals from the K60 MCU to the Primary Connector, allowing the connection to an external Ethernet PHY device on a Tower peripheral module. When the K60 Ethernet MAC is operating in RMII mode, synchronization of the MCU clock and the 50 MHz RMII transfer clock is important. The MCU input clock must be kept in phase with the 50 MHz clock supplied to the external PHY. Therefore, the TWRK60D100M provides the option (see description for J10 in Table 5) to clock the MCU from an external clock from the CLKIN0 pin on the Primary Connector. The Tower peripheral module implementing the RMII PHY device should drive a 50 MHz clock on the CLKIN0 pin that is kept in phase with the clock supplied to the RMII PHY. The TWRSER module that comes as part of the TWRK60D100MKIT provides a 10/100 Ethernet PHY that can operate in either MII or RMII mode. By default the PHY is boot strapped to operate in MII mode; therefore jumper configuration changes may be required. In addition to that, the TWR K60D100M also allows the option to route CLKIN0 from the TWRSER 50 MHz to the ENET_1588_CLKIN. Table 4 shows the settings for proper interoperability between the Ethernet interface on the TWRSER and the TWRK60D100M. TWRK60D100MUM TWRK60N512 Tower Module User's Manual Page 12 of 18 Table 4. Ethernet operation jumper settings Tower Module TWR K60D100M TWRSER TWRSER TWRSER Jumper J10 Setting 23 J2 J3 J12 34 23 910 2.11 USB The K60D100M features a USB fullspeed/lowspeed OTG/Host/Device controller with builtin transceiver. The TWRK60D100M routes the USB D+ and D signals from the K60 MCU to the Primary Connector, allowing the connection to external USB connectors or additional circuitry on a Tower peripheral module. The TWRSER module included as part of the TWRK60D100MKIT provides a USB OTG/Host/Device interface with a miniAB USB connector. There are many configuration options that can be selected to evaluate different USB modes of operation. By default, the TWRSER is configured for USB Device operation. The following jumper configuration options allow the TWRK60N512 to utilize the TWRSER USB interface in Device mode using a single USB cable for the entire Kit: TWRSER: J3: position 23 [provides 50MHz to TWRK60N512] J10: position 23 [power for Tower System from USB connector on Serial board] J16: position 34 [get 5V from USB cable] TWRK60D100M: J4: ON [5V from TWRSER to K60 VREGIN] J10: position 23 [receive 50MHz from TWRSER] Please refer to the documentation included with the TWRSER for more information on the configuration options. 2.12 Secure Digital Card Slot A Secure Digital (SD) card slot is available on the TWRK60D100M connected to the SD Host Controller (SDHC) signals of the K60 MCU. This slot will accept SD memory cards as well as Secure Digital Input Output (SDIO) cards. Refer to Table 6 "I/O Connectors and Pin Usage Table" for the SDHC signal connection details. 2.13 External Bus Interface - FlexBus The K60 device features a multifunction external bus interface called the FlexBus interface controller capable of interfacing to slaveonly devices. The FlexBus interface is not used directly on the TWR K60D100M. 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 7 "TWRK60D100M Primary Connector Pinout" and sheet 8 of the TWRK60D100M schematics for more details. TWRK60D100MUM TWRK60N512 Tower Module User's Manual Page 13 of 18 3 Jumper Table There are several jumpers on the TWRK60D100M that provide configuration selection and signal isolation. Refer to the following table for details. The default installed jumper settings are shown in bold with asterisks. Table 5. TWRK60D100M Jumper Table Jumper Option J1 Drive RSTOUT Selection J2 Infrared Transmitter Connection J4 USB VREGIN Power Connection J5 Potentiometer Connection J7 Oscillator Selection J10 Clock Input Source Selection Setting *12* 23 ON *OFF* *ON* OFF *ON* OFF ON *OFF* *12* 23 34 *12* J14 MCU Power Connection 23 *12* J12 VBAT Power Selection J18 OSJTAG Mode Selection 23 ON *OFF* J15 JTAG Power Connection ON *OFF* Description Use PTE27 to drive RSTOUT Use PTB8 to drive RSTOUT Connect PTD7/CMT_IRO/UART0_TX to IR Transmitter (D5) Disconnect PTD7/CMT_IRO/UART0_TX from IR Transmitter (D5) Connect USB0_VBUS from Primary Elevator (A57) to VREGIN Disconnect VREGIN from Primary Elevator Connect potentiometer to ADC1_DM1 Disconnect potentiometer from ADC1_DM1 Disable onboard oscillator Enable onboard oscillator Connect main EXTAL to onboard 50 MHz clock Connect EXTAL to CLKIN0 signal on Primary Elevator (B24) Connect CLKIN0 signal on Primary Elevator (B24) to ENET_CLKIN Connect onboard 3.3V or 1.8V (V_BRD) supply to MCU Isolate MCU from power supply (allows for external supply or power measurements) Connect VBAT to onboard 3.3V or 1.8V supply Connect VBAT to the higher voltage between MCU supply (MCU_PWR) or coincell supply (VBATD) OSJTAG bootloader mode (OSJTAG firmware reprogramming) Debugger mode Connect onboard 5V supply to JTAG port (supports powering board from external JTAG probe) Disconnect onboard 5V supply from JTAG port 4 Input/Output Connectors and Pin Usage Table The following table provides details on which K60D100M pins are using to communicate with the LEDs, switches, and other I/O interfaces onboard the TWRK60D100M. TWRK60D100MUM TWRK60N512 Tower Module User's Manual Page 14 of 18 Note: Some port pins are used in multiple interfaces onboard and many are potentially connected to offboard resources via the Primary and Secondary Connectors. Take care to avoid attempted simultaneous usage of mutually exclusive features. Table 6. I/O Connectors and Pin Usage Table Feature Connection OSJTAG Bridge RX Data OSJTAG USBtoserial Bridge OSJTAG Bridge TX Data SD Clock SD Command SD Data0 SD Data1 SD Card Slot SD Data2 SD Data3 SD Card Detect SD Write Protect IR Transmit Infrared Port IR Receive SW1 (IRQ0) Pushbuttons SW2 (IRQ1) SW3 (RESET) E1 / Touch E2 / Touch Touch Pads E3 / Touch E4 / Touch E1 / Orange LED E2 / Yellow LED LEDs E3 / Green LED E4 / Blue LED Potentiometer Potentiometer (R71) I2C SDA Accelerometer I2C SCL IRQ TWRPI AN0 (J4 Pin 8) TWRPI AN1 (J4 Pin 9) TWRPI AN2 (J4 Pin 12) TWRPI ID0 (J4 Pin 17) General Purpose TWRPI ID1 (J4 Pin 18) TWRPI Socket TWRPI I2C SCL (J5 Pin 3) TWRPI I2C SDA (J5 Pin 4) TWRPI SPI MISO (J5 Pin 9) TWRPI SPI MOSI (J5 Pin 10) Port Pin PTE9 PTE8 PTE2 PTE3 PTE1 PTE0 PTE5 PTE4 PTE28 PTE27 PTD7 PTC6 PTA19 PTE26 RESET_b PTA4 PTB3 PTB2 PTB16 PTA11 PTA28 PTA29 PTA10 PTD9 PTD8 PTD10 PTD8 PTD9 PTD14 PTD13 Pin Function UART5_RX UART5_TX SDHC0_DCLK SDHC0_CMD SDHC0_D0 SDHC0_D1 SDHC0_D2 SDHC0_D3 PTE28 PTE27 CMT_IRO CMP0_IN0 PTA19 PTE26 RESET_b TSI0_CH5 TSI0_CH8 TSI0_CH7 TSI0_CH9 PTA11 PTA28 PTA29 PTA10 ADC1_DM1 I2C0_SDA I2C0_SCL PTD10 ADC0_DP0/ADC1_DP3 ADC0_DM0/ADC1_DM3 ADC1_DP0/ADC0_DP3 ADC0_DP1 ADC0_DM1 I2C0_SCL I2C0_SDA SPI2_SIN SPI2_SOUT TWRK60D100MUM TWRK60N512 Tower Module User's Manual Page 15 of 18 Feature Touch Pad TWRPI Socket Connection TWRPI SPI SS (J5 Pin 11) TWRPI SPI CLK (J5 Pin 12) TWRPI GPIO0 (J5 Pin 15) TWRPI GPIO1 (J5 Pin 16) TWRPI GPIO2 (J5 Pin 17) TWRPI GPIO3 (J5 Pin 18) TWRPI GPIO4 (J5 Pin 19) Electrode 0 (J3 Pin 3) Electrode 1 (J3 Pin 5) Electrode 2 (J3 Pin 7) Electrode 3 (J3 Pin 8) Electrode 4 (J3 Pin 9) Electrode 5 (J3 Pin 10) Electrode 6 (J3 Pin 11) Electrode 7 (J3 Pin 12) Electrode 8 (J3 Pin 13) Electrode 9 (J3 Pin 14) Electrode 10 (J3 Pin 15) Electrode 11 (J3 Pin 16) TWRPI ID0 (J3 Pin 17) Port Pin PTD15 PTD12 PTD10 PTB8 PTB9 PTA19 PTE26 PTB0 PTB1 PTB2 PTB3 PTC0 PTC1 PTC2 PTA4 PTB16 PTB17 PTB18 PTB19 Pin Function SPI2_PCS0 SPI2_SCK PTD10 PTB8 PTB9 PTA19 PTE26 TSI0_CH0 TSI0_CH6 TSI0_CH7 TSI0_CH8 TSI0_CH13 TSI0_CH14 TSI0_CH15 TSI0_CH5 TSI0_CH9 TSI0_CH10 TSI0_CH11 TSI0_CH12 ADC1_DP1 TWRPI ID1 (J3 Pin 18) ADC1_SE16 5 Tower Elevator Connections The TWRK60D100M features two expansion cardedge connectors that interface to the Primary and Secondary Elevator boards in a Tower system. The Primary Connector (comprised of sides A and B) is utilized by the TWRK60D100M while the Secondary Connector (comprised of sides C and D) only makes connections to the GND pins. Table 7 provides the pinout for the Primary Connector. Table 7. TWRK60D100M Primary Connector Pinout Pin # Side B Name B1 5V B2 B3 B4 ELE_PS_SENSE B5 B6 Usage Pin # Side A Name Usage 5.0V Power A1 5V 5.0V Power GND Ground A2 GND Ground 3.3V 3.3V Power A3 3.3V 3.3V Power Elevator Power Sense A4 3.3V 3.3V Power GND Ground A5 GND Ground Ground PTE2 A6 B7 GND SDHC_CLK / SPI1_CLK A7 GND SCL0 Ground PTD8 B8 SDHC_D3 / SPI1_CS1_b A8 SDA0 PTD9 B9 SDHC_D3 / SPI1_CS0_b PTE4 A9 GPIO9 / CTS1 PTC19 B10 SDHC_CMD / SPI1_MOSI PTE1 A10 GPIO8 / SDHC_D2 PTE5 B11 SDHC_D0 / SPI1_MISO PTE3 A11 GPIO7 / SD_WP_DET PTE27 TWRK60D100MUM TWRK60N512 Tower Module User's Manual Page 16 of 18 Pin # B12 Side B Name ETH_COL B13 ETH_RXER B14 ETH_TXCLK B15 ETH_TXEN B16 ETH_TXER B17 ETH_TXD3 B18 ETH_TXD2 B19 ETH_TXD1 B20 ETH_TXD0 B21 B22 B23 Usage Pin # A12 PTA5 Side A Name ETH_CRS Usage A13 ETH_MDC PTB1 A14 ETH_MDIO PTB0 A15 ETH_RXCLK A16 ETH_RXDV A17 ETH_RXD3 A18 ETH_RXD2 PTA17 A19 ETH_RXD1 PTA12 PTA16 A20 ETH_RXD0 PTA13 GPIO1 / RTS1 PTC18 A21 SSI_MCLK PTE6 GPIO2 / SDHC_D1 PTE0 A22 SSI_BCLK PTE12 GPIO3 PTE28 A23 SSI_FS PTE11 PTE7 PTE10 PTA15 PTA14 B24 CLKIN0 PTA18 A24 SSI_RXD B25 CLKOUT1 PTE26 A25 SSI_TXD B26 Ground A26 B27 GND AN7 A27 Ground PGA0_DP/ADC0_DP0/ADC1_DP3 B28 AN6 PTB7 PTB6 GND AN3 A28 AN2 PGA0_DM/ADC0_DM0/ADC1_DM3 B29 AN5 PTB5 A29 AN1 PGA1_DP/ADC1_DP0/ADC0_DP3 B30 AN4 PTB4 A30 AN0 PGA1_DM/ADC1_DM0/ADC0_DM3 B31 GND DAC1 Ground DAC1_OUT A31 B32 A32 GND DAC0 Ground DAC0_OUT B33 TMR3 A33 TMR1 PTA9 B34 TMR2 PTD6 A34 TMR0 PTA8 B35 GPIO4 PTB8 A35 GPIO6 PTB9 B36 3.3V Power PTA2 A36 B37 3.3V PWM7 A37 3.3V PWM3 3.3V Power PTA6 B38 PWM6 PTA1 A38 PWM2 PTC3 B39 PWM5 PTD5 A39 PWM1 PTC2 B40 PWM4 PTA7 A40 PWM0 PTC1 B41 CANRX0 PTE25 A41 RXD0 PTE25 B42 CANTX0 PTE24 A42 TXD0 PTE24 B43 1WIRE A43 RXD1 PTC16 B44 SPI0_MISO PTD14 A44 TXD1 PTC17 B45 SPI0_MOSI PTD13 A45 VSS VSSA B46 SPI0_CS0_b PTD11 A46 VDDA VDDA B47 SPI0_CS1_b PTD15 A47 VREFA1 VREFH B48 SPI0_CLK PTD12 A48 VREFA2 VREFL B49 Ground PTD8 A49 GND Ground B50 GND SCL1 A50 GPIO14 B51 SDA1 PTD9 A51 GPIO15 B52 GPIO5 / SD_CARD_DET PTE28 A52 GPIO16 B53 USB0_DP_PDOWN A53 B54 A54 GPIO17 USB0_DM USB0_DM B55 USB0_DM_PDOWN IRQ_H A55 USB0_DP USB0_DP B56 IRQ_G PTA24 A56 USB0_ID B57 IRQ_F PTA25 A57 USB0_VBUS B58 IRQ_E A58 TMR7 B59 IRQ_D PTA25 PTA26 A59 TMR6 PTA24 TWRK60D100MUM TWRK60N512 Tower Module User's Manual VREGIN Page 17 of 18 Pin # Side B Side A Name IRQ_C PTA26 A60 B61 IRQ_B PTA27 A61 TMR4 B62 IRQ_A PTA27 A62 RSTIN_b RESET_b B63 EBI_ALE / EBI_CS1_b PTD0 A63 RSTOUT_b RESET_b B64 EBI_CS0_b PTD1 A64 CLKOUT0 B65 GND A65 GND B66 EBI_AD15 Ground PTB18 A66 EBI_AD14 Ground PTC0 B67 EBI_AD16 PTB17 A67 EBI_AD13 PTC1 B68 EBI_AD17 PTB16 A68 EBI_AD12 PTC2 A69 EBI_AD11 PTC4 B70 EBI_AD18 EBI_AD19 PTB11 PTB10 A70 EBI_AD10 PTC5 B71 EBI_R/W_b PTC11 A71 EBI_AD9 PTC6 B72 EBI_OE_b PTB19 A72 EBI_AD8 PTC7 B73 EBI_D7 PTB20 A73 EBI_AD7 PTC8 B74 EBI_D6 PTB21 A74 EBI_AD6 PTC9 B75 EBI_D5 PTB22 A75 EBI_AD5 PTC10 B76 EBI_D4 PTB23 A76 EBI_AD4 PTD2 B77 EBI_D3 PTC12 A77 EBI_AD3 PTD3 B78 EBI_D2 PTC13 A78 EBI_AD2 PTD4 B79 EBI_D1 PTC14 A79 EBI_AD1 PTD5 B80 EBI_D0 PTC15 A80 EBI_AD0 PTD6 B81 GND Ground A81 GND Ground B82 3.3V 3.3V Power A82 3.3V 3.3V Power B60 B69 Usage Pin # Name TMR5 TWRK60D100MUM TWRK60N512 Tower Module User's Manual Usage PTC3 Page 18 of 18