Freescale Semiconductor, Inc. User's Guide Document Number: TWRK80F150MUG Rev. 0, 11/2015 TWR-K80F150M User's Guide 1 Introduction The K80F150M Tower MCU Module (TWR-K80F150M) is a low-cost evaluation, demonstration, and development board, which features the Kinetis 150 MHz K80 low-power MCU. The TWR-K80F150M 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 freescale.com/tower for additional Tower System microcontroller modules and compatible peripherals. Contents 1 2 3 4 5 6 7 8 (c) 2015 Freescale Semiconductor, Inc. All rights reserved. Introduction 1 1.1 Features........................................................................ 2 1.2 Getting started ...................................................... 4 Contents 4 Hardware description 4 3.1. K80F150M microcontroller ................................... 5 3.2. Clocking ............................................................... 6 3.3. System power ....................................................... 6 3.4. Real-Time Clock supply ........................................ 7 3.5. Serial and Debug Adapter version 2 (OpenSDAv2.1) ................................................................. 7 3.6. Cortex Debug connector ........................................ 8 3.7. QuadSPI Memory ................................................. 8 3.8. External Bus Interface - FlexBus........................... 9 3.9. SDRAM ............................................................... 9 3.10. Sensors ................................................................. 9 3.11. Potentiometer, pushbuttons, LEDs ......................... 9 3.12. Touch interface ................................................... 10 3.13. USB interface ..................................................... 10 3.14. Secure digital card slot ........................................ 11 Jumper table 11 Input/output connectors and pin usage table 13 Elevator connections 16 References 18 Revision history 18 1.1 Features The following list summarizes the features of the K80F150M Tower MCU boards: * MK80FN256VDC15 MCU 150 MHz Cortex-M4 core, 256KB Flash, 256 KB SRAM, 121 XFBGA, with QuadSPI controller, ROM Bootloader, SDRAM controller and USB Tower compatible processor board Onboard debug circuit: K20DX128VFM5 OpenSDA with virtual serial port 2 x 32 Mbit (4 MB) Dual On-board QuadSPI memory @ 1.8 V 64 Mbit (8 MB) SDRAM Memory Five user-controlled status LEDs Two capacitive touch pads Two mechanical push buttons Standalone full-speed USB host and device function Potentiometer MicroSD Card Slot EMVSIM Card Interface Ten axis sensor system o FXOS8700CQ 3D Accelerometer + 3D Magnetometer o MPL3115A2 Digital Pressure Sensor o FXAS21002C 3-axis gyroscope Socket for Touch Keypad plug-in (TWRPI-TOUCH-STR) Board power select with 3.3 V or 1.8 V MCU operation Independent, battery-operated power supply for real-time clock (RTC) module Battery holder for 20 mm lithium battery (e.g. 2032, 2025) TWR-K80F150M User's Guide, Rev. 0, 11/2015 2 Freescale Semiconductor, Inc. Figure 1. Front side of the TWR-K80F150M module Figure 2. Back side of the TWR-K80F150M module TWR-K80F150M User's Guide, Rev. 0, 11/2015 Freescale Semiconductor, Inc. 3 1.2 Getting started You can find a printed version of the Quick Start Guide in the TWR-K80F150M box that contains the list of recommended steps for getting started. You can see http://freescale.com/twr-k80f150m/startnow for more getting started instructions, downloads, and information. 2 Contents The TWR-K80F150M includes: TWR-K80F150M board assembly Quick Start Guide USB A to micro-B cable for debug interface and power supply 3 Hardware description The TWR-K80F150M is a Tower MCU Module featuring the MK80FN256VDC15-an ARM(R) Cortex(R)-M4F based MCU with 256 KB on-chip flash, 256 KB on-chip SRAM, Dual QuadSPI controller, SDRAM controller, and USB controller in a 121 pin XFBGA package. It has a maximum core operating frequency of 150 MHz. It is intended for use in the Freescale Tower System but can operate as a stand-alone module. An on-board debug circuit, OpenSDA, provides the SWD debug interface and power supply input through a single USB micro-AB connector. The following sections describe the hardware in more detail. The following figure shows a block diagram for the TWRK80F150M. TWR-K80F150M User's Guide, Rev. 0, 11/2015 4 Freescale Semiconductor, Inc. Figure 3. 3.1. TWR-K80F150M Block Diagram K80F150M microcontroller The TWR-K80F150M module features the MK80FN256VDC15. The K80 microcontroller family is part of the Kinetis portfolio of devices built around an ARM Cortex-M4F core. Refer to the K80 Family Reference Manual (document K80P121M150SF5RM) for comprehensive information on the K80FN256VDC15 device. The key features of K80FN256VDC15 are as follows: TWR-K80F150M User's Guide, Rev. 0, 11/2015 Freescale Semiconductor, Inc. 5 Table 1. K80FN256VDC15 key features Feature Description Performance Memory and memory expansion Analog modules Communication interfaces Security Timers Human machine interface Operating Characteristics 3.2. Up to 150 MHz ARM Cortex-M4 based core with DSP instructions and Single Precision Floating Point unit 256 KB program flash memory and 256 KB RAM Dual QuadSPI with XIP FlexBus external bus interface and SDRAM controller One 16-bit SAR ADCs, two 6-bit DAC and one 12-bit DAC Two analog comparators (CMP) containing a 6-bit DAC and programmable reference input Voltage reference 1.2 V USB full-/low-speed On-the-Go controller Secure Digital Host Controller (SDHC) FlexIO One I2S module, three SPI, four I2C modules and five LPUART modules EMVSIM module with ISO7816 smart card support Hardware random-number generator Supports DES, AES, SHA accelerator (CAU) Multiple levels of embedded flash security One 4-channel Periodic interrupt timer Two 16-bit low-power timer PWM modules Two 8-channel motor control/general purpose/PWM timers Two 2-channel quadrature decoder/general purpose timers Real-time clock with independent 3.3 V power domain Programmable delay block Low-power hardware touch sensor interface (TSI) General-purpose input/output Main VDD Voltage and Flash write voltage range:1.71 V - 3.6 V Temperature range (ambient): -40 to 105C Independent VDDIO for PORTE (QuadSPI): 1.71 V - 3.6 V Clocking The Kinetis microcontrollers start up from an internal digitally controlled oscillator (DCO). The software can enable an external oscillator if required. 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 K80F150M device: a 12 MHz crystal as the main oscillator to clock the MCG module and a 32.768 kHz crystal for clocking the RTC module. 3.3. System power In standalone operation, the main power source for the TWR-K80F150M is derived from the 5.0 V input from either the USB micro-B connector, J24, or the debugger header, J11, when a shunt is placed on jumper J4. There are multiple power configurations available to power both the MCU VDD domain and the VDDIO_E domain, while keeping the requirement that VDD>VDDIO_E during power up and power down. See sheet 3 of the TWR-K80F150M Schematics (document TWR-K80F150M-SCH) for further details. TWR-K80F150M User's Guide, Rev. 0, 11/2015 6 Freescale Semiconductor, Inc. When installed into a Tower System, the TWR-K80F150M can be powered from either an on-board power source or from another power source in the assembled Tower System. The 3.3 V or 1.8 V power supplied to the MCU is routed through a jumper, J9. The jumper shunt can be removed to allow the following: 1) Alternate MCU supply voltages to be injected. 2) Measurement of power consumed by the MCU. 3.4. Real-Time Clock supply The Real-Time Clock (RTC) module on the K80FN256VDC15 has two modes of operation: system power up and system power down. During system power down, the RTC can be powered from the backup power supply (VBAT) and electrically isolated from the rest of the MCU. The TWR-K80F150M provides a battery receptacle for a coin cell battery that can be used as the VBAT supply. The receptacle uses standard 20 mm diameter 3 V lithium coin cell batteries. By default the VBAT supply comes from the MCU_PWR domain. This is selected via J3. 3.5. Serial and Debug Adapter version 2 (OpenSDAv2.1) OpenSDAv2.1 is a serial and debug adapter circuit which includes an open-source hardware design, an open-source bootloader, and debug interface software. It bridges serial and debug communications between a USB host and an embedded target processor as shown in figure 4. The hardware circuit is based on a Freescale Kinetis K20 family MCU with 128 KB of embedded flash and an integrated USB controller. OpenSDAv2 comes preloaded with the CMSIS-DAP bootloader--an open-source mass storage device (MSD) bootloader--and the CMSIS-DAP interface firmware (also known as the mbed interface), which provides an MSD flash programming interface, a virtual serial port interface, and a CMSIS-DAP debug protocol interface. For more information on the OpenSDAv2 software, see http://freescale.com/opensda OpenSDAv2 OpenSDA MCU K20DX128Vxx5 USB Host IDE File System Serial Terminal GPIO PWM LED USB MSD Bootloader OpenSDAv2 Application Target Processor GPIO/ADC nRESET UART TX/RX UART RX/TX SPI, GPIO SWD/JTAG Figure 4. OpenSDAv2 high-level block diagram TWR-K80F150M User's Guide, Rev. 0, 11/2015 Freescale Semiconductor, Inc. 7 OpenSDAv2 is managed by a Kinetis K20 MCU built on the ARM Cortex-M4 core. The OpenSDAv2 circuit includes a green status LED (D5) and a pushbutton (SW1). The pushbutton asserts the Reset signal to the K80 target MCU. It can also be used to place the OpenSDAv2 circuit into bootloader mode. SPI and GPIO signals provide an interface to either the SWD debug port or the K20. Additionally, signal connections are available to implement a UART serial channel. The OpenSDAv2 circuit receives power when the USB connector J24 is plugged into a USB host. 3.6. Cortex Debug connector The Cortex Debug connector is a 20-pin (0.05 inch) connector providing access to the SWD and JTAG available on the K80 device. If using the Cortex Debug connector, it is recommended to isolate the OpenSDA circuit from the debug signals by removing the jumpers J16 and J17. The K80 pin connections to the debug connector (J11) are shown in this table. Table 2. Cortex Debug connector pinout 3.7. Pin Function TWR-K80F150M connection 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 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] GND TRACEDATA[3] 3.3 V MCU supply (MCU_PWR) PTA3/JTAG_TMS/SWD_DIO GND PTA0/JTAG_TCLK/SWD_CLK GND PTA2/JTAG_TDO/TRACE_SWO -- PTA1/JTAG_TDI No Connect RESET_b 5 V supply (via J4) PTA12/TRACE_CLKOUT 5 V supply (via J4) PTA16/TRACE_D0 GND PTA15TRACE_D1 GND PTA14/TRACE_D2 GND PTA13/TRACE_D3 QuadSPI Memory The FRDM-K82F also includes dual QuadSPI memory with execute in place (XiP) and On The Fly AES Decryption (OTFAD) capability. The on-board QuadSPI used is Macronix MX25U3235FZNI, which are each 32 Mb (4MB) in size. The QuadSPI interface offers up to 100 MHz performance for Single Data Rate (SDR). The QuadSPI is also supported by the internal Kinetis BootROM. TWR-K80F150M User's Guide, Rev. 0, 11/2015 8 Freescale Semiconductor, Inc. 3.8. External Bus Interface - FlexBus The K80 device features a multi-function external bus interface called the FlexBus interface controller. This is capable of interfacing with slave-only devices. The FlexBus interface is not used directly on the TWR-K80F150M. 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 below and sheet 10 of the TWR-K80F150M Schematics (document TWR-K80F150M-SCH) for more details. Note that the Flexbus is muxed with the SDRAM signals. 3.9. SDRAM The TWR-K80F150M board contains 64 Mb SDRAM (32-bit width) which is connected to the K80 SDRAM controller. The SDRAM signals are multiplexed with Flexbus signals. See the K80 Family Reference Manual (document K80P121M150SF5RM) "Flexbus signal multiplexing" section and "SDRAM SDR signal multiplexing" section on how to use the Flexbus and SDRAM in multiplexed mode. To use the SDRAM, jumpers J6 and J8 should be removed. This is due to the UART TX/RX lines used on the TWR-K80F150M are muxed with the SDRAM signals. This does mean serial communication over OpenSDA is not possible while using the SDRAM. 3.10. Sensors There are three Freescale sensors on the board, all connected via I2C0 via PTD8 (I2C0_SCL) and PTD9 (I2C0_SDA): FXOS8700CQ: Digital accelerometer and magnetometer MPL3115A2: Digital pressure sensor FXAS21002C: 3-axis gyroscope. Each sensor also has two interrupt signals with the option to connect to the K80 device on PTA17 and PTA29. By default they are disconnected via DNP resistors. Table 3. Sensor types and slave addresses Sensor I2C Slave Address FXOS8700CQ 3D accelerometer and 3D magnetometer MPL3115A2 Digital pressure sensor FXAS21002C 3-axis gyroscope 0x1D 0x60 0x20 3.11. Potentiometer, pushbuttons, LEDs The TWR-K80F150M features: * A potentiometer connected to an ADC input signal (ADC0_DM3) * Two pushbutton switches (SW2 and SW3 connected to PTA4 and PTA21) TWR-K80F150M User's Guide, Rev. 0, 11/2015 Freescale Semiconductor, Inc. 9 * User controllable LEDs connected to GPIO signals -- Red LED D1 connected to PTD11 -- Green LED D2 connected to PTD12 -- Blue LED D3 connected to PTD13 -- Green Touch LED D13 connected to PTD14 -- Blue Touch LED D14 connected to PTD15 -- RGB LED D5 connected via DNP resistor to PTD11, PTD12, and PTD13 3.12. Touch interface The touch-sensing input (TSI) module of the Kinetis microcontrollers provides capacitive touch-sensing detection with high sensitivity and enhanced robustness. Each TSI pin implements the capacitive measurement of an electrode. There are two individual electrodes on-board the TWR-K80F150M that simulate pushbuttons. TSI0_CH9 (PTB16) and TSI0_CH10 (PTB17) are connected to the capacitive pads. Figure 5. Touch pad circuitry There is also a Touch TWRPI (Tower Plugin) header for a touch sensitive keypad to be attached on J12. For details on the connection see Table 5. 3.13. USB interface The K80FN256VDC15 features a full-, low-speed USB controller with on-chip USB transceiver. The TWR-K80F150M board enables the USB to be host or device mode. TWR-K80F150M User's Guide, Rev. 0, 11/2015 10 Freescale Semiconductor, Inc. Jumper J20 is used to select whether the USB signals are connected to the on-board micro-B connector J19 (default), or sent down the elevator to be used in connection with a TWR-SER1 board or other peripheral board in a complete tower kit. A MIC2005 device is used for over-current detection. PTC19 (connected via J28) is used to enable a 5 V VBUS signal, and PTC18 (connected via J18) is used as an over-current signal. 3.14. Secure digital card slot A Micro SD card slot is available on the TWR-K80F150M connected to the SD host controller (SDHC) signals of the MCU. This slot will accept standard format SD memory cards. See Table 5 for connection details. The SDHC signals are muxed with the QuadSPI signals, and therefore the microSD card slot is not connected to the K80 by default. To use the microSD card, populate the R198, R200, R208, R58, R196, R218, and R244 resistors on the board with 0 ohm resistors. Then remove the R231 and R227 resistors that power the QuadSPI. Finally because the microSD card slot needs to run at 3.3 V, on J31 the jumpers should be set to 1-3 and 2-4 to make both VDD and VDDIO_E at 3.3 V. 4 Jumper table There are several jumpers provided for isolation, configuration, and feature selection. See the following table for details. Table 4. TWR-K80F150M jumper table (continued) Jumper J2 J3 J4 Option MCU reset connection on JTAG connector VBAT Power Selection JTAG Power Connection Setting ON OFF Connect MCU reset on pin10 of JTAG connector J11 Disconnect MCU reset on pin10 of JTAG connector J11 1-2 2-3 Connect VBAT to on board MCU supply from MCU_PWR Connect VBAT to the higher voltage between on board MCU_PWR supply or coin cell supply Connect on-board 5V supply to JTAG port (supports powering board from external JTAG probe) Disconnect on-board 5V supply from JTAG port Connect VDDIO_E domain to power QuadSPI flash. Should only be connected when VDDIO_E is at 1.8V Disconnect VDDIO_E domain from QuadSPI flash. Connect UART1_RX to elevator Connect UART1_RX to OpenSDA UART RX Connect UART1_TX to elevator Connect UART1_TX to OpenSDA UART TX Connect V_BRD and MCU_PWR to MCU_VDD Disconnect V_BRD and MCU_PWR from MCU_VDD Connect VDD and VDDA Disconnect VDD and VDDA Connect PTD7 to USB ID pin on micro-USB connector J19 Disconnect PTD7 from USB ID pin on micro-USB connector J19 ON OFF J5 J6 J8 J9 J10 J15 Description QuadSPI Power Enable ON UART RX Connection UART TX Connection MCU power connection VDD and VDDA connection USB ID connection OFF 1-2 2-3 1-2 2-3 ON OFF ON OFF ON OFF Default setting ON 1-2 OFF ON 2-3 2-3 ON ON OFF TWR-K80F150M User's Guide, Rev. 0, 11/2015 Freescale Semiconductor, Inc. 11 Table 4. TWR-K80F150M jumper table (continued) Jumper J16 Option SWD DIO OpenSDA Connection Setting ON OFF J17 J18 J20 J21 SWD clock OpenSDA Connection USB over-current flag connection USB Switch Selection RESET button connection ON OFF ON OFF 1-2 2-3 1-2 2-3 J22 VREGIN Selection J23 5 V Connection J25 J26 J27 Board Power and Regulator Selection 5 V Input Power Selection 1-2 2-3 ON OFF 1-3 2-4 3-4 4-6 5-6 6-8 1-3 3-4 5-6 7-8 9-10 OpenSDA Reset ON Default Description setting Connect SWD_DIO from OPENSDA circuit to K80 MCU to allow debugging using OPENSDA Disconnect SWD_CLK from OPENSDA circuit to K80 MCU to allow J-Link or U-Link debug Connect SWD_CLK from OPENSDA circuit to K80 MCU to allow debugging using OPENSDA Disconnect SWD_CLK from OPENSDA circuit to K80 MCU to allow J-Link or U-Link debug Connect PTC18 to USB over-current flag for MIC2005 Disconnect PTC18 to USB over-current flag for MIC2005 Use the on-board micro-USB connector J19 USB signals come from elevator When powering the OPENSDA MCU, bootloader mode can be selected When OPENSDA MCU is not powered, RESET button can be used VREGIN comes from on-board 5V source VREGIN comes from elevator VBUS from signal A57. Connect 5 V IN to the 3.3 V regulator Disconnect 5 V IN from the 3.3 V regulator 3V3_BRD connected to output of 3.3 V regulator Invalid configuration. Do not use. Invalid configuration. Do not use. 1.8 V regulator uses output of Li-Ion Battery Domain 1.8 V regulator uses output of 3.3 V regulator 1.8 V regulator uses 5 V IN directory. VREGIN uses USB 5 V Raw 5 V input from K80 USB Regulated 5 V output from OpenSDA 5V input Power from P5V_ELEV input Raw 5 V input from OpenSDA USB port J24 Connect OpenSDA reset signal to board reset. There is a board trace that makes this connection even if jumper is not populated. Disconnect OpenSDA reset signal to board reset. ON ON ON 1-2 1-2 1-2 ON 1-3 5-6 1-3 5-6 OFF OFF J28 J30 USB power enable connection 3.3 V and 1.8 V sequencing ON OFF *By default there is a board trace connecting this signal even though jumper is off. Connect PTC19 to USB power enable for MIC2005 Disconnect PTC19 to USB power enable for MIC2005 1-2 Invalid configuration. Do not use. Option 2: 1.8 V comes up before 3.3 V. 1-3 3.3 V regulator enabled by output of 1.8 V regulator. Only used if VDD=1.8 V and VDDIO_E=3.3 V, which is not valid for QuadSPI on board. 3-5 4-6 Option 2: 1.8 V comes up before 3.3 V. 2-4 1.8 V regulator enabled by input to regulator. Only used if VDD=1.8 V and VDDIO_E=3.3 V, which is not valid for TWR-K80F150M User's Guide, Rev. 0, 11/2015 12 Freescale Semiconductor, Inc. Table 4. TWR-K80F150M jumper table (continued) Jumper Option Setting Default Description setting QuadSPI on board. 3-5 Option 1: 3.3 V comes up before 1.8 V. 3.3 V regulator enabled by input to regulator. 4-6 J31 J33 J34 Option 1: 3.3 V comes up before 1.8 V. Battery Voltage Monitoring 5-6 1-3 2-4 3-5 4-6 ON OFF 1.8 V regulator enabled by 3.3 V board supply. Invalid configuration. Do not use. V_BRD/MCU_VDD is 3.3 V VDDIO_E is 3.3 V V_BRD/MCU_VDD is 1.8 V VDDIO_E is 1.8 V Connect ADC0_DP3 to battery voltage Disconnect ADC0_DP3 from battery voltage Battery Boost Regulator Input ON OFF Enable 5 V Boost Disconnect Boost Enable. VDDIO_E and VDD Selection 1-3 4-6 OFF OFF 5 Input/output connectors and pin usage table The table below provides details on which K80F150M pins are used to communicate with the TWR-K80F150M 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. You must take care to avoid attempted simultaneous usage of mutually exclusive features. Table 5. I/O Connectors and Pin Usage Table (continued) Feature OPENSDA USB-to-serial bridge SD Card Slot Connection Port Pin Pin Function OPENSDA RX data PTC3 UART1_RX OPENSDA TX data PTC4 UART1_TX SD clock PTE2 SDHC0_DCLK SD Command PTE3 SDHC0_CMD SD Data0 PTE1 SDHC0_D0 SD Data1 PTE0 SDHC0_D1 SD Data2 PTE5 SDHC0_D2 TWR-K80F150M User's Guide, Rev. 0, 11/2015 Freescale Semiconductor, Inc. 13 Table 5. I/O Connectors and Pin Usage Table (continued) Feature Pushbuttons Touch Pads LEDs Potentiometer Connection RTC Touch TWRPI Socket Pin Function SD Data3 PTE4 SDHC0_D3 SD Card Detect PTE7 PTE7 SW2 (NMI) PTA4 PTA4 SW3 (LLWU) PTA21 PTA21 SW1 (RESET) RESET_b RESET_b Touch PTB16 TSI0_CH9 Touch TSI0_CH10 D1 / Red LED PTB17 PTD11 D2 / Green LED PTD12 Green LED D3 / Blue LED PTD13 Blue LED D13 / Touch Pad Green LED PTD14 D13 Electrode LED D14 / Touch Pad Blue LED PTD15 D14 Electrode LED D8 -- Power On D5 -- -- OpenSDA Power 2 PTD9 I2C0_SDA 2 I C SCL PTD8 I2C0_SCL IRQ1 PTA17 PTA17 IRQ2 PTA29 PTA29 RTC bypass PTA11 Touch TWRPI1 PTA11 -- Touch TWRPI2 -- V_BRD Touch TWRPI3 PTA4 TSI0_CH5/Touch Pad `1' Touch TWRPI4 -- VDDA Touch TWRPI5 PTB0 TSI0_CH0/Touch Pad `2' Touch TWRPI6 -- GND Touch TWRPI7 PTB1 TSI0_CH6/Touch Pad `3' Touch TWRPI8 PTB2 TSI0_CH7/Touch Pad `4' Touch TWRPI9 PTB3 TSI0_CH8/Touch Pad `5' Touch TWRPI10 PTB16 TSI0_CH9/Touch Pad `6' Touch TWRPI11 PTB17 TSI0_CH10/Touch Pad `7' Touch TWRPI12 PTB18 TSI0_CH11/Touch Pad `8' Touch TWRPI13 PTB19 TSI0_CH12/Touch Pad `9' Touch TWRPI14 PTC0 TSI0_CH13/Touch Pad `*' Touch TWRPI15 PTC1 TSI0_CH14/Touch Pad `0' Touch TWRPI16 PTC2 TSI0_CH15/Touch Pad `#' Touch TWRPI17 ADC0_DP0 TWRPI_ID0 Touch TWRPI18 ADC0_DM0 TWRPI_ID1 Potentiometer (R44) I C SDA Sensors Port Pin Red LED ADC0_DM3 5V TWR-K80F150M User's Guide, Rev. 0, 11/2015 14 Freescale Semiconductor, Inc. Table 5. I/O Connectors and Pin Usage Table (continued) Feature EMVSIM Serial NOR Flash SDRAM Connection Port Pin Pin Function Touch TWRPI19 -- GND Touch TWRPI20 Reset Reset Reset PTB8 EMVSIM_SRST CLK PTB5 EMVSIM_SCLK I/O PTB4 EMVSIM_IO VCC_EN PTB6 EMVSIM_VCC_EN Card Detection PTB7 EMVSIM_PD QSPI_CLK1 PTE1 QPSI0A_SCLK QSPI_S_1 PTE5 QSPI0A_SS0_B QSPIA_DQ0 PTE2 QSPI0A_DATA0 QSPIA_DQ1 PTE4 QSPI0A_DATA1 QSPIA_DQ2 PTE3 QSPI0A_DATA2 QSPIA_DQ3 PTE0 QPSI0A_DATA3 QSPI_SCLK PTE7 QSPI0B_SCLK QSPI_S_2 PTE11 QSPI0B_SS0_B QSPIB_DQ0 PTE8 QSPI0B_DATA0 QSPIB_DQ1 PTE10 QSPI0B_DATA1 QSPIB_DQ2 PTE9 QSPI0B_DATA2 QSPIB_DQ3 PTE6 QSPI0B_DATA3 DQ0 PTB17 SDRAM_D16 DQ1 PTB16 SDRAM_D17 DQ2 PTB11 SDRAM_D18 DQ3 PTB10 SDRAM_D19 DQ4 PTB9 SDRAM_D20 DQ5 PTB8 SDRAM_D21 DQ6 PTB7 SDRAM_D22 DQ7 PTB6 SDRAM_D23 DQ8 PTC15 SDRAM_D24 DQ9 PTC14 SDRAM_D25 DQ10 PTC13 SDRAM_D26 DQ11 PTC12 SDRAM_D27 DQ12 PTB23 SDRAM_D28 DQ13 PTB22 SDRAM_D29 DQ14 PTB21 SDRAM_D30 DQ15 PTB20 SDRAM_D31 A0 PTC7 SDRAM_A16 A1 PTC8 SDRAM_A15 A2 PTC9 SDRAM_A14 TWR-K80F150M User's Guide, Rev. 0, 11/2015 Freescale Semiconductor, Inc. 15 Table 5. I/O Connectors and Pin Usage Table (continued) Feature Connection Port Pin Pin Function A3 PTC10 SDRAM_A13 A4 PTD2 SDRAM_A12 A5 PTD3 SDRAM_A11 A6 PTD4 SDRAM_A10 A7 PTD5 SDRAM_A9 A8 PTC6 SDRAM_A17 A9 PTC5 SDRAM_A18 A10 PTC4 SDRAM_A19 A11 PTC2 SDRAM_A20 BA0 PTC1 SDRAM_A21 BA1 PTC0 SDRAM_A22 CKE PTD7 SDRAM_CKE CLK PTC3 CLKOUT CS_b PTB3 SDRAM_CS0_b WE_b PTB2 SDRAM_WE CAS_b PTB0 SDRAM_CAS_b RAS_b PTB1 SDRAM_RAS_b DQMH PTC17 SDRAM_DQM3 DQML PTC16 SDRAM_DQM2 6 Elevator connections The TWR-K80F150M features two expansion card-edge connectors that interface to Elevator boards in a Tower System: the primary and secondary Elevator connectors. The pinout for the primary Elevator Connector is provided in this table. The values in bold are either power or ground. Table 6. TWR-K80F150M Primary Connector Pinout Side B Pin # Side A Pin # Name Usage B1 B2 B3 B4 5V GND 3.3 V ELE_PS_SENSE 5.0 V Power Ground 3.3 V Power Elevator Power Sense A1 A2 A3 A4 5V GND 3.3 V 3.3 V 5.0 V Power Ground 3.3 V Power 3.3 V Power B5 B6 GND GND SDHC_CLK / SPI1_CLK SDHC_D3 / SPI1_CS1_b Ground Ground A5 A6 GND GND Ground Ground SCL0 PTD8 SDA0 PTD9 B7 B8 PTE2 PTE4 Name A7 A8 Usage TWR-K80F150M User's Guide, Rev. 0, 11/2015 16 Freescale Semiconductor, Inc. Table 6. TWR-K80F150M Primary Connector Pinout (continued) 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 B42 B43 B44 B45 B46 B47 B48 B49 B50 B51 B52 B53 B54 B55 B56 B57 SDHC_D3 / SPI1_CS0_b SDHC_CMD / SPI1_MOSI SDHC_D0 / SPI1_MISO ETH_COL ETH_RXER ETH_TXCLK ETH_TXEN ETH_TXER ETH_TXD3 ETH_TXD2 ETH_TXD1 ETH_TXD0 GPIO1 / RTS1 GPIO2 / SDHC_D1 GPIO3 CLKIN0 CLKOUT1 GND AN7 AN6 AN5 AN4 GND DAC1 TMR3 TMR2 GPIO4 3.3 V PWM7 PWM6 PWM5 PWM4 CANRX0 CANTX0 1WIRE SPI0_MISO SPI0_MOSI SPI0_CS0_b SPI0_CS1_b SPI0_CLK GND SCL1 SDA1 GPIO5 / SPI0_HOLD/IO3 USB0_DP_PDOWN USB0_DM_PDOWN IRQ_H IRQ_G IRQ_F PTE5 PTE3 PTE1 ------ ---- -- -- ----PTC1 PTE0 PTC9 PTA5 --Ground ------ADC0_SE7b Ground ------PTD2 3.3 V Power PTA1 PTA0 PTA11 PTA10 ------ PTC7 PTC6 PTD0 PTD4 PTD1 Ground PTC10 PTC11 PTD3 -- -- ----PTB10 A9 GPIO9 / CTS1 PTC2 A10 GPIO8 / SDHC_D2 GPIO7 / SD_WP_DET ETH_CRS PTE5 A11 A12 A13 A14 A15 A16 A17 A18 A19 A20 A21 A22 A23 A24 A25 A26 A27 A28 ETH_MDC A29 A30 A31 A32 A33 A34 A35 A36 A37 A38 A39 A40 A41 A42 A43 A44 A45 A46 A47 A48 A49 A50 A51 ETH_MDIO ETH_RXCLK ETH_RXDV ETH_RXD3 ETH_RXD2 ETH_RXD1 ETH_RXD0 I2S0_MCLK I2S0_DOUT_BCLK I2S0_DOUT_FS I2S0_RXD0 I2S0_TXD0 GND AN3 AN2 AN1 AN0 GND DAC0 TMR1 TMR0 GPIO6 3.3 V PWM3 PWM2 PWM1 PWM0 RXD0 TXD0 RXD1 TXD1 VSS VDDA CAN1_RX CAN1_TX GND GPIO14 GPIO15 A52 A53 A54 A55 A56 A57 GPIO16 GPIO17 USB0_DM USB0_DP USB0_ID USB0_VBUS PTD6 -- -- -- -- -- -- -- -- -- PTA17 PTA5 PTA13 PTA15 PTA12 Ground ADC0_SE6b AD0_SE9 ADC0_DM0 ADC0_DP0 Ground DAC0_OUT PTB19 PTB18 -- 3.3 V Power PTB1 PTB0 PTC2 PTC1 PTA15 PTA14 ELEV_UART_RX ELEV_UART_TX VSSA VDDA -- -- Ground -- -- -- -- ELEV_USB_DN ELEV_USB_DP PTD7 ELEV_USB_VBUS TWR-K80F150M User's Guide, Rev. 0, 11/2015 Freescale Semiconductor, Inc. 17 Table 6. TWR-K80F150M Primary Connector Pinout (continued) 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 IRQ_E IRQ_D IRQ_C IRQ_B IRQ_A EBI_ALE / EBI_CS1_b EBI_CS0_b GND EBI_AD15 EBI_AD16 EBI_AD17 EBI_AD18 EBI_AD19 EBI_R/W_b EBI_OE_b EBI_D7 EBI_D6 EBI_D5 EBI_D4 EBI_D3 EBI_D2 EBI_D1 EBI_D0 GND 3.3 V PTB9 PTB5 PTA14 PTA13 PTA12 A58 A59 A60 A61 A62 PTD0 PTD1 Ground PTB18 PTB17 PTB16 PTB11 PTB10 PTC11 PTB19 PTB20 PTB21 PTB22 PTB23 PTC12 PTC13 PTC14 PTC15 Ground 3.3 V Power A63 A64 A65 A66 A67 A68 A69 A70 A71 A72 A73 A74 A75 A76 A77 A78 A79 A80 A81 A82 I2S0_DIN_BCLK I2S0_DIN_FS I2S0_RXD1 I2S0_TXD1 RSTIN_b PTA14 PTA16 PTA14 PTA16 RESET_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.3 V PTC3 Ground PTC0 PTC1 PTC2 PTC4 PTC5 PTC6 PTC7 PTC8 PTC9 PTC10 PTD2 PTD3 PTD4 PTD5 PTD6 Ground 3.3 V Power 7 References The list below provides references for more information on the Kinetis family, Tower System and the MCU modules. These can be found in the documentation section of freescale.com/TWR-K80F150M or freescale.com/kinetis. * TWR-K80F150M Quick Start Guide (document TWR-K80F150M-QSG) * TWR-K80F150M Schematics (document TWR-K80F150M-SCH) * K80 Family Data Sheet (document K80P121M150SF5) * K80 Family Reference Manual (document K80P121M150SF5RM) * Kinetis Quick Reference User Guide (document KQRUG) * Kinetis Software Development Kit (http://freescale.com/ksdk) * Kinetis Bootloader (http://freescale.com/kboot) 8 Revision history Table 7. Revision history Revision Number Date Substantive changes 0 11/2015 Initial release TWR-K80F150M User's Guide, Rev. 0, 11/2015 18 Freescale Semiconductor, Inc. How to Reach Us: Information in this document is provided solely to enable system and software Home Page: freescale.com 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. Web Support: freescale.com/support 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 Kinetis are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. All other product or service names are the property of their respective owners. ARM, ARM Powered, the ARM logo, mbed, and Cortex are registered trademarks of ARM Limited (or its subsidiaries) in the EU and/or elsewhere. (c) 2015 Freescale Semiconductor, Inc. . All rights reserved. Document Number: TWRK80F150MUG Rev. 0 11/2015