background image

 

TWR-K65F180M User's Guide

Rev. 0

,

 05/2015

 

 

Freescale Semiconductor, Inc. 

 

 

 

3  Hardware description 

The TWR-K65F180M is a Tower MCU Module featuring the K65FN2M0VMI18 – an ARM

®

 

Cortex

®

-M4F based MCU with 2 MB on-chip flash, 256 KB on-chip SRAM, SDRAM controller and 

dual USB controllers in a 169 pin MAPBGA package. It has a maximum core operating frequency of 
180 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 mini-AB connector. The following sections describe the hardware in more detail. 
This figure shows a block diagram for the TWR-K65F180M. 

 

MK20DX128VFM5

K20 MCU

Digital

Accelerometer

MMA8451Q

SDRAM

2M x 32-bit

RESET

Button

JTAG

9-PIN

JTAG

19-PIN

ENET 1588 

Header

MMC-SD

Card Slot

General Purpose

  Tower Plug-in

Headers

INTERRUPT

Buttons

POTENTIOMETER

5K Ohm

XTAL

8 MHz

LPC

Logic

TOUCH

Pads

Tower Elevator Expansion Connectors

I2S, SPI, I2C, ADC, USB, DAC, PWM, TMR, CAN, IRQs, GPIOs, UARTs, Flexbus, Ethernet

5 V

3.3 V

USB

MINI-B

5 V

USB

Micro-AB

5 V

3.3 V 

LDO

1.8 V

LDO

TAMPER 

Header

Freescale Devices

External Connectors

Interface Circuits

Power Devices

XTAL

16 MHz

GPIO

UART

SWD

FS USB

FS USB

SDHC

I2C

VBAT

JTAG

GPIO

ADC

JTAG

50 MHz

1588 TMR

HS USB

SDRAM BUS

TAMPER

RESET

LED

Yellow/Orange

Green/Blue

I2C/SPI/ADC/GPIO

sheet 8

sheet 4

XTAL

32.768 KHz

TSI

sheet 4

sheet 7

sheet 4

sheet 4

sheet 5

sheet 5

sheet 5

sheet 5

sheet 5

sheet 5

sheet 5

sheet 6

sheet 6

sheet 6

sheet 6

sheet 6

sheet 7

sheet 7

sheet 7

sheet 7

sheet 4

sheet 7

BATTERY

Holder

3 V

sheet 4

MK65FN2M0VMI18

K65 MCU

RTC

 

 

Figure 3.

 

  TWR-K65F180M Block Diagram 

3.1 K65F180M microcontroller 

The TWR-K65F180M module features the K65FN2M0VMI18. The K65 microcontroller family is part 
of the Kinetis portfolio of devices built around an ARM Cortex-M4F core. Refer to the 

K65 Family 

Reference Manual

 (document 

K65P169M180SF5RMV2

) for comprehensive information on the 

K65FN2M0VMI18 device. The key features of K65FN2M0VMI18 are as follows.  

Summary of Contents for TWR-K65F180M

Page 1: ...controller modules and compatible peripherals Freescale Semiconductor Inc Document Number TWRK65F180MUG User s Guide Rev 0 05 2015 Contents 1 Introduction 1 1 1 Features 2 1 2 Getting started 3 2 Cont...

Page 2: ...l push buttons Socket for Tower Plug in TWRPI for instance a sensor board Standalone high speed USB host and device function Potentiometer SDRAM connection MMA8451Q three axis accelerometer Battery ho...

Page 3: ...ick Start Guide in the TWR K65F180M box that contains the list of recommended steps for getting started 2 Contents The TWR K65F180M includes TWR K65F180M for board assembly Quick Start Guide USB A to...

Page 4: ...8 MHz LPC Logic TOUCH Pads Tower Elevator Expansion Connectors I2S SPI I2C ADC USB DAC PWM TMR CAN IRQs GPIOs UARTs Flexbus Ethernet 5 V 3 3 V USB MINI B 5 V USB Micro AB 5 V 3 3 V LDO 1 8 V LDO TAMP...

Page 5: ...16 bit low power timer Two 16 bit low power timer PWM modules Two 8 channel motor control general purpose PWM timers Two 2 channel quad decoder general purpose timers Real time clock Human machine in...

Page 6: ...the MCU The TWR K65F180M 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 3 5 Seria...

Page 7: ...EZP_CLK 5 GND GND 6 TDO SWO PTA2 UART0_TX FTM0_CH7 JTAG_DO TRACE_SWO EZP_DO 7 Key 8 TDI PTA1 UART0_TX FTM0_CH6 JTAG_DI EZP_DI 9 GNDDETECT PTA4 FTM0_CH1 MS NMI_b EZP_CS_b 10 nReset RESET_b 11 Target P...

Page 8: ...is not affected by the accelerometer connection For information on Kinetis Bootloader see freescale com kboot Default 1 2 3 4 Enable Accel Interrupts Default 1 2 3 4 Enable Accel I2C ACC_SA0 ACC_BYP A...

Page 9: ...CC 2 GND 3 GND 3 I 2 C SCL 4 3 3 V VDDA 4 I2 C SDA 5 VSS Analog GND 5 GND 6 VSS Analog GND 6 GND 7 VSS Analog GND 7 GND 8 ADC Analog 0 8 GND 9 ADC Analog 1 9 SPI MISO 10 VSS Analog GND 10 SPI MOSI 11...

Page 10: ...ler DP DM signals can be selectively routed to the MicroUSB connector J15 or the MiniUSB connector J14 on a TWR SER1 board by changing the 0 ohm resistor to connect either to A or B as shown in the fo...

Page 11: ...cted to CLKIN0 B24 of the primary elevator 4 Jumper table There are several jumpers provided for isolation configuration and feature selection See the following table for details Table 4 TWR K65F180M...

Page 12: ...onnection 1 2 Connects INT1 from MMA8451 to PTE27 1 2 3 4 3 4 Connects INT2 from MMA8451 to PTE28 J23 K65 VREGIN selection 1 2 VREG_IN0 connected with ONBOARD_USB_VBUS 1 2 3 4 1 3 VREG_IN1 connected w...

Page 13: ...ature Connection Port Pin Pin Function OPENSDA USB to serial bridge OPENSDA RX data PTE17 UART2_RX OPENSDA TX data PTE16 UART2_TX SD Card Slot SD clock PTE2 SDHC0_DCLK SD Command PTE3 SDHC0_CMD SD Dat...

Page 14: ...Pin 9 PTD14 SPI2_SIN TWRPI SPI MOSI J12 Pin 10 PTD13 SPI2_SOUT TWRPI SPI SS J12 Pin 11 PTD15 SPI2_PCS1 TWRPI SPI CLK J12 Pin 12 PTD12 SPI2_SCK TWRPI GPIO0 J12 Pin 15 PTC14 PTC14 TWRPI GPIO1 J12 Pin 16...

Page 15: ...I2S0_DOUT_FS PTE11 B24 CLKIN0 PTE26 A24 I2S0_RXD0 PTE7 B25 CLKOUT1 PTC3 A25 I2S0_TXD0 PTE10 B26 GND Ground A26 GND Ground B27 AN7 PTA6 A27 AN3 ADC0_SE16 B28 AN6 PTC3 A28 AN2 ADC1_DP0 B29 AN5 PTE24 A2...

Page 16: ...B57 IRQ_F PTC11 A57 USB0_VBUS ELEV_USB_VBUS B58 IRQ_E PTC11 A58 I2S0_DIN_BCLK PTE9 B59 IRQ_D PTC3 A59 I2S0_DIN_FS PTE8 B60 IRQ_C PTC3 A60 I2S0_RXD1 PTE8 B61 IRQ_B PTE28 A61 I2S0_TXD1 PTE9 B62 IRQ_A P...

Page 17: ...TWR K65F180M User s Guide Rev 0 05 2015 Freescale Semiconductor Inc 17 8 Revision history Table 7 Revision history Revision number Date Substantive changes 0 05 2015 Initial release...

Page 18: ...arameters 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 typ...

Reviews: