Home

TWR-K70F120M Tower Module User`s Manual

image

Contents

1. freescale semiconductor e eo oe 7s 2 11 General Purpose Tower Plug in TWRPI Socket The TWR K70F120M 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 Refer to Table 6 I O Connectors and Pin Usage Table for the specific K70 pin connections to the General Purpose TWRPI socket Table 2 General Purpose TWRPI socket pinout Left side 2x10 Connector Right side 2x10 Connector Pin Description Pin Description 5V VCC GND 3 3 V VCC E GND DC SCL 3 3V VDDA 4 I2CSDA VSS Analog GND 5 GND VSS Analog GND 6 GND VSS Analog GND 7 GND __ ADC Analog 0 8 joo ADC Analog 1 9 SPI MISO VSS Analog GND VSS Analog GND ADC Analog 2 VSS Analog GND VSS Analog GND GND GND 17 ADC TWRPI IDO 2 12 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 E 0 E ES ER ES ER ES 12 ES The TWR K70F120M provides two methods for evaluating the TSI module There are four individual electrodes on board the TWR K70F120M t
2. 2 4 Debug Interface There are two debug interface options provided the on board OSJTAG circuit and an external Cortex Debug ETM connector 2 4 1 OSJTAG An on board MC9SO8JM60 based Open Source JTAG OSJTAG circuit provides a JTAG debug interface to the K7OFN1MO A standard USB A male to Mini B male cable provided can be used for debugging via the USB connector J13 The OSJTAG interface also provides a USB to serial bridge Drivers for the OSJTAG interface are provided in the P amp E Micro Kinetis Tower Toolkit available on the included DVD 2 4 2 Cortex Debug ETM Connector The Cortex Debug ETM connector is a 20 pin 0 05 connector providing access to the SWD SWV JTAG cJTAG EzPort and ETM trace 4 bit signals available on the K70 device The pinout and K70 pin connections to the debug connector J11 is shown in Table 1Table 1 NOTE The TRACE_CLKOUT signal is not connected to the debug connector by default In order to use trace functionality R137 should be populated and R138 and R11 should be removed Table 1 Cortex Debug ETM Connector Pinout Pin Function TWR K70F120M Connection 1 VTref 3 3V MCU supply P3V3_MCU 2 TMS SWDIO PTA3 SCIO_RTS b FTMO_CHO JTAG_MS SWD_DIO 3 GND GND 4 TCK SWCLK PTAO SCIO_CTS b FTMO_CH5 JTAG CLK SWD_ CLK EZP_CLK 5 GND GND 6 TDO SWO PTA2 SCIO_TX FTMO_CH7 JTAG_DO TRACE_SWO EZP_DO 7 Key 8 TDI PTA1 SCIO_RX FTMO_CH6 JTAG_DI EZP_DI 9 GNDDetect PTA4 FTMO_CH1 MS NMI_b EZP_CS b 10 NRESET RES
3. SPI2_CS2_b SPI 2 IRQ O Interrupt SPI2_CS3_b SPI 2 Interrupt PTB4 IRQ_M Interrupt PTB4 IRQ_L Interrupt PTB5 IRQ_K Interrupt PTB5 IRQ J Interrupt PTB6 Interrupt PTB7 LCD_D18 LCD P18 Display PTF22 LCD_D19 LCD P19 Display PTF23 EBI_AD20 EBI LCD P42 Display EBI_AD21 EBI LCD P43 Display EBI_AD22 EBI LCD_P44 Display EBI_AD23 EBI LCD_P45 Display TWR K70F120M Tower Module User s Manual Page 24 of 25 m LCD_D4 LCD_P4 PTF8 LCD_D5 LCD_P5 Display PTF9 LCD_D6 LCD_P6 Display PTF10 LCD_D7 LCD_P7 PTF11 LCD_D8 LCD_P8 PTF12 Display LCD_D9 LCD_P9 PTF13 Display LCD_D10 LCD_P10 PTF14 Displa LCD_D11 LCD PI PTF15 Display LCD_D15 LCD_P15 Display PTF19 LCD_D16 LCD_P16 Display PTF20 LCD_D17 LCD_P17 Display PTF21 EBI BE 32 24 b LCD_P28 Display EBI BE 23 16 b LCD_P29 Display EBI BE 15 8 b LCD_P30 Display EBI BE _7 0 b EBI LCD _P31 Display mn ce r Se TM Ze freescale semiconauctor EBI_AD24 LCD_ P46 LCD_P47 LCD_P48 LCD_P49 LCD_P50 LCD_P51 LCD_P52 EBI C7 EBI_TSIZEO LCD_P32 0 1 LCD_P33 Eeer 2 EBI_TS b LCD_P34 3 LCD_P35 9 LCD_P37 gt g C7 EBI_CS2_b 7 LCD_P39 EBI Display Displa Display Display Displa Display Display Displa LCD_D20 C7 EBI CS1 b EBI LCD_P20 ay NEES LCD_P40 Display LCD_D21 LCD P21 Display PTF25 LCD_D22 LCD_P22 TWR K70F120M Tower Module User s Manual C7 EBI_CS3_b 6 L
4. Description The TWR K70F120M is a Tower Controller Module featuring the MK7OFNIMOVMJ12 an ARM Cortex M4 based microcontroller with graphical LCD controller tamper detection USB 2 0 HS Controller USB 2 0 full speed OTG controller and 10 100 Mbps Ethernet MAC in a 256 MAPBGA package with a maximum core operating frequency of 120MHz 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 4 shows a block diagram of the TWR K70F120M The following sections describe the hardware in more detail TWR K70F120M Tower Module User s Manual Page 8 of 25 Sy 2 freescale semiconductor Tower Elevator Expansion Connectors SDHC IS SPI IC ADC USB DAC PWM UARTs Flexbus Ethernet LCD and up 23V 50 MHz OSC IR Output l Comparator Infrared Port GPIO Interrupts Reset Battery VBAT RTC Capacitive Touch TSI GPIO Pads DDR Controller NFC FlexBus General Purpose Touch Tower Plug in Tower Plug in TWRPI TWRPI a Freescale Device External Connectors Interface Circuits a Power Memory Figure 4 TWR K70F120M Block Diagram 2 1 K70FN1MO Microcontroller The TWR K70F120M module features the MK70FN1M0VMJ12 The K70 microcontroller family is part of the Kinetis portfolio of devices built around an ARM Cortex M4 core Refer to the
5. is available as a stand alone product or as a kit TWR K70F120M KIT with the Tower Elevator Modules TWR ELEV and the Tower Serial Module TWR SER The TWR K70F120M can also be combined with other Freescale Tower peripheral modules to create development platforms for a wide variety of applications O provides an overview of the Freescale Tower System Controller Module Primary Elevator e Tower MCU MPU i ae Wee ES D e Common serial board and expansion bus signals e Works stand alone or in Tower System e Two 2x80 connectors on backside for easy signal access and side mounting board LCD module e Features integrated debugging interface for easy programming and run control via standard USB cable Power regulation circuitry Secondary Elevator Standardized signal e Additional and assignments secondary serial and expansion bus signals Mounting holes e Standardized signal assignments g Board Connectors e Mounting holes and expansion connectors for side mounting peripheral boards e Four card edge connectors e Uses PCI Express connectors Size Peripheral Module x16 90 mm 3 5 long 164 pins e Tower is approx 3 5 H x 3 5 W e Examples include serial interface module x 3 5 D when fully assembled memory expansion module and Wi Fi Figure 1 Freescale Tower System Overview TWR K70F120M Tower Module User s Manual Page 5 of 25 2 freescale semiconductor 1 1 Contents The
6. of 25 e poss ei 2 freescale semiconductor List of Figures Figure 1 Freescale Tower System Overview ccccccsecccsseccsccceneceeeccceececenseseeceeeeceeeceeeuceteeeeeneceeeeseneneens 5 Figure 2 Callouts on front side of the TWR K70F120M oocccnccncnnccnnncnnnnccnonccnonannnnnnnnnncnnonccnnnnononarnnonanannnons 7 Figure 3 Callouts on back side of the TWRKZOELZOM 7 Figure 4 TWR K70F120M Block Diagram cccccscccssecccsseccncceeneceeescceeceeenceeeuecseeeceeeeceteuceteueeteneseeeeseeeeens 9 List of Tables Table 1 Cortex Debug ETM Connector PiNOUt oocccnncccnnccncnccncnannnnncnnnnccnonacnnnnononannnnnonnnnrononacnonnnonannnnnss 11 Table 2 General Purpose TWRPI socket PINOUT ccooccccnccncnccncnannnnncnnonccnnnccnonacnnnnnnonarnnnnncnonarnonannonannnnass 13 Table 3 TOUCH TWWRPESOCKeL pin OU Essen 14 Table 4 Ethernet operation jumper Settings cooocccnnccncnccnonannnnannnnncnnnncononacnonarnonnnnnnnrnnnnrononacnoncnonaanonass 14 Table 5 TWR K70F120M Jumper Table econ alicia 16 Table 6 I O Connectors and Pin Usage Table 17 Table 7 TWR K70F120M Primary Connector Pinout ccccceeeccceecccsececeneeceneceeeeceeeceeeuceeeuceseeeteneceeeess 19 Table 8 TWR K70F120M Primary Connector Pinout ccccceeeccceeccceecccenecceeeceeceeeeceeenceteuceteneeseneseeeuss 22 Revision History Date Changes Nov 17 2011 Initial Release for PWA 700 27166 Rev B Removed references to J18 and added i
7. 0F120M Tower Module User s Manual Analog Vref VDDA Ground USBO_DM USBO_DP VREGIN RESET_b Power PTC7 Page 21 of 25 2 freescale semiconductor PTC8 A7 3 A7 om PTC A7 EBI_AD5 SN eee A7 oc Pro A7 EBI_AD3 dl A7 EN 9 EBI_AD EBI_AD6 EBI_AD2 Gs EBI_AD1 EES gJ gJ gJ UY UY LO UY UY LO UY A8 e Tuta lacs i o sa Fm Table 8 TWR K70F120M Primary Connector Pinout TWR K70F120M Secondary Connector Pi Side D A Side C n Name Group Usage Name Group Usage 5 0V Di 5 0V Ee Cam a EA e 6ND Power plan ee gee ol ae e E D3 3 3V Power C3 Power ot across soe sem lea apy noe E D4 ELE PS SENSE Power Sense C4 Power S enD Power ee CR D sprzcsib Si pris Jo Sp DCH PTEI8 DI Spann sei PTD11 Loi GPIO25 GPIO D1 Ci K SPI2_MOSI SPI 2 PTD13 ULPI STOP ULPI PTAQ D1 Cl a SPI2_MISO SPI 2 PTD14 ULPI CLK ULPI PTAG D1 C1 ETH TXCLK Ethernet 4 ETH MDIO Ethernet D1 Ci 5 ETH_TXEN Ethernet 5 ETH_RXCLK Ethernet TWR K70F120M Tower Module User s Manual Page 22 of 25 O a N N LA LA D ce gt oe ES e freescale semiconductor GPIO18 GPIO19 SDHC_D4 GPIO20 SDHC_D5 ETH_TXD1 ETH_TXDO ULPI_NEXT USB1_DM ULPI_DIR USB1_DP UPLI_DATAS USB2_DM ULPI_DATA6 USB2_DP ULPI_DATA 7 LCD_HSYNC LCD_P24 LCD_VSYNC LCD_P25 AN13 AN12 LCD_CLK LCD_P26 TMR11 TMR10 GPIO21 3 3V PWM1
8. 1 Wire EE RXDO TXDO RXD1 SPIO_MISO TXD1 SPI 0 PTD14 SPIO_MOSI SPI 0 PTD13 VSS TWR K70F120M Tower Module User s Manual Etherne t PTA12 ber PTA13 re SES re PTE S PTE10 PGAO_DP ADCO_DPO A DC1_DP3 C PGA0_DM ADC0_DM0 ADC1_DM3 ADC PGA1_DP ADC1_DPO A DCO_DP3 C C PGA1_DM ADC1_DM0 ADCO_DM3 C DACO_OUT Timer PTA9 t D D D D A me es GPIO PTB9 Pun 3 3V Power EES on rm on rm EE UART 0 PTF7 UART O PTF8 UART 1 PTE17 UART 1 PTE16 Analog Vref VSSA Page 20 of 25 e eo so o UY UY UY UY UY UY UY UY UY gJ gJ gJ gJ UY UY UY LU LU LO LU LU UY UY LD gJ gJ gJ freescale semiconauctor SPIO Cen b SPIO PTD11 ne aie 6 VDDA SPIO CS1 b SPIO PTD15 nA CANRX1 SPIO_CLK SPIO PTD12 CANTX1 A4 9 GND SCL1 12C 1 PTE19 A gt 0 GPIO14 A5 SDA1 12C1 PTE18 i cmok GPIO5 GPIO A5 SD CARD DET SDHC PTE28 2 GPIO16 A5 USBO_DM_PDOW A5 A5 IRQ_H Interrupt PTB4 USBO_DP A5 IRQ_G Interrupt PTB4 USBO_ID A5 IRQ_F Interrupt PTBS USBO_VBUS A5 Den DIN SC IRQ C Interrupt PTB6 12SO_DIN1 IRQ P Interrupt PTB7 Den DOUT IRQ_A Interrupt PTB7 RSTIN_b EBI_ALE A6 EBI CS1 b EBI PTDO RSTOUT b A6 EBI CSO b EBI PTD1 KOUTO Lan a a eee 5 A6 EBI AD15 Gel PTB18 EBI AD14 A6 EBI AD16 PLSI EBI AD13 A6 EBI AD17 egi PTBL6 EBI_AD12 A6 EBI AD18 Gs PTB11 EBI AD11 A7 EBI_AD19 EBI PTB10 o EBI AD10 A7 EBI_R W_b EBI PTC11 i EBI ADO A7 EBI OE b EBI PTB19 EBI AC TWR K7
9. 5 PWM14 PWM13 PWM12 CANRX1 CANTX1 TWR K70F120M Tower Module User s Manual GPIO GPIO SDHC GPIO SDHC Ethernet Ethernet ULPI USB 1 ULPI USB ULPI USB 2 ULPI USB 2 ULPI Display Display ADC ADC Display Timer Timer GPIO PWM PWM PWM CAN 1 CAN 1 PTA8 PTA7 PTA27 PTA28 PTA29 PTF2 PTF3 PTFO 3 3V Power ETH_RXDV GPIO27 SDHC_D6 GPIO28 SDHC_D7 ETH_RXD1 ETH_RXDO ULPI_DATAO USB3_DM ULPI_DATA1 USB3_DP ULPI_DATA2 USB4 DM ULPI_DATA3 USB4 DP ULPI_DATA4 AN11 AN10 AN9 AN8 GPIO29 TMR9 TMR8 GPIO30 3 3V PWM11 PWM10 PWM9 PWM8 RXD2 TSIO TXD2 TSI1 Ethernet GPIO SDHC GPIO SDHC Ethernet Ethernet ULPI USB 3 ULPI USB 3 ULPI USB 4 ULPI USB 4 ULPI GPIO GPIO ES WM UART 2 TSI UART 2 TSI Page 23 of 25 PTA10 PTA11 PTA24 PTA25 PTA26 3 3V Power r eo oe freescale semiconductor UART 2 RTS2 TSI2 TSI UART 2 CTS2 TSE RXD3 TSI4 TSI TXD3 TSI5 TSI RTS3 TSI6 TSI CTS3 TSI7 TSI Displa LCD_CONTRAST Display PTC18 LCD_OE LCD_P27 Display PTF1 LCD_DO LCD_PO Display PTF4 LCD_D1 LCD _P1 Display PTF5 CD_D2 LCD_P2 Display PTF6 LCD_D3 LCD_P3 Display PTF7 GPIO23 GPIO GPIO24 GPIO LCD_D12 LCD_P12 Display PTF16 LCD_D13 LCD_P13 Displa PTF17 LCD_D14 LCD_P14 Display PTF18 IRQ Pi Interrupt
10. 8 PTA29 PTA10 PTE18 PTE19 PTB4 PTB PTE19 PTE18 PTD14 PTD13 PTD15 PTD12 PTB4 PTB8 PTB9 PTA19 PTE26 PTBO PTB1 PTB2 PTB3 PTCO PTC1 PTC2 PTA4 PTB16 PTB17 PTB18 PTB19 PTES PTE11 PTE10 TWR K70F120M Tower Module User s Manual PTA11 PTA28 PTA29 PTA10 ADC1 DM1 I2C0_SDA I2CO_SCL PTB4 PTB7 ADCO_DPO ADC1_DP3 ADCO_DMO ADC1_DM3 ADC1_DPO ADCO_DP3 ADCO DP1 ADC2 DPO ADC3_DP3 ADCO DM1 ADC2 DM0 ADC3 DM3 I2CO_SCL I2C0_SDA SPI2_SIN SPI2_SOUT SPI2_PCS1 SPI2_SCK PTB4 PTB8 PTB9 PTA19 PTE26 TSIO_CHO TSIO_CH6 TSIO_CH7 TSIO_CH8 TSIO_CH13 TSIO_CH14 TSIO_CH15 TSIO_CH5 TSIO_CH9 TSIO_CH10 TSIO_CH11 TSIO_CH12 ADC1_DP1 ADC1_SE16 Dep DN Es I250_TX_FS I250_TXDO Page 18 of 25 2 freescale semiconductor RXDO PTE7 I2S0_RXDO RX_BCLK PTE9 Dep _RX_BCLK TX_BCLK PTE12 1250 TX _BCLK MCLK PTE6 I2S0_MCLK 5 Tower Elevator Connections The TWR K70F120M features two expansion card edge 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 TWR K70F120M 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 TWR K70F120M Primary Connector Pinout TWR K70F120M Primary Connector Pi Side B Pi Side A i E Name Group Usage Name Group Usage I A rower 50V Power ALI A P
11. A Es gt freescale semiconductor N TWR K70F120M Tower Module User s Manual Rev 1 2 Freescale Semiconductor Inc ce a ZC freescale semiconductor Table of Contents 1 TWR K70F120M and TWR K70F120M KIT OvervieW cccccccccccccscccccsssccccsccecceseseceneceseeeeeeseeeees 5 A E 6 e E 6 EE eege 8 1 4 Reterence Ke TE e 8 Se HardWare CS Cr GL OND mes 8 AL KE OPIN IVI Microcon Tole EEN 9 Ee 10 E ICM OVA 10 LERTE VDA EE 11 ZF Ve Oe Er Te 11 a 11 A a EE TEE 11 2 5 Graphical LCD Interface cessssssssessesssesssscscsssssssscscsssesssscsssssesscscssesseescscesseseecsseessscaceseosasacsseseesaeecasesssacacesseranacasess 12 Zi WIZ MENO a 12 Ee NAND E EE 12 A Pa 12 2 9 Accelerometer mnmmiiiniininni EAEE a nanna 12 2 10 Potentiometer Pushbuttons LEDS visecccsssc2i ce ctcsczessciczicectcecscnessdiisncocacseaccuenddeedsasncncesicieevucecassetendsevieeenaeueeiaaesteoes 12 2 11 General Purpose Tower Plug in TWRPI Socket s sssssssssssssssssnensnssrnssnensnennnennnnnnennnennnnnnnnnnnnnnennnnnnnnnnnnnnnnnnnnne 13 Al Touch hiter ICE its 13 A uo Oe A 14 o 15 AE A A 15 SNE SS EE 15 Nye UIE UT Ga ACh Olano ines 15 2 16 External Bus Interface D E E diia 15 3 JUmper Cableado ina 16 4 Input Output Connectors and Pin Usage Table s ssusnunnunnnnnnnnnnnnnnnnnnnnnunnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 17 5 Tower Elevator Connections c ccmmmmmmmccnnnncnncccrcrr rr 19 TWR K70F120M Tower Module User s Manual Page 2
12. CD_P38 arnes 9 GPIO31 LCD Bai rs 0 LCD_D23 LCD_P23 eo 1 a a GPIO Display Page 25 of 25 PTF27 Y lt Power
13. CU VDD_INT Power 3 Connection On board 50MHz oscillator enabled On board 50 MHz clock drives main EXTAL On board 50MHz oscillator disabled Off board clock drives main EXTAL OFF NOTE This option must be selected whenever a tower module card that provides a clock on primary elevator pin B24 is connected to the CPU module Otherwise there will be contention between the two clock sources FAA A A A E SE SE E E PE E ER E ER PE E E PE E E E SE E E E PE E E E E E ER E E E ER E ER ER ER E Fj OFF ON Connect VDD and VDD_INT rails together pe A ae A em ALS OJEE e Eo MCU VDD_INT from power supply allows for 4 Input Output Connectors and Pin Usage Table The following table provides details on which K70FN1MO pins are used to communicate with the LEDs switches and other I O interfaces onboard the TWR K70F120M 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 Feature OSJTAG USB to serial Bridge SD Card Slot Infrared Port Pushbuttons Touch Pads TWR K70F120M Tower Module User s Manual Table 6 I O Connectors and Pin Usage Table Connection OSJTAG Bridge RX Data OSJTAG Bridge TX Data SD Clock SD Command SD Data SD Datal SD Data2 SD Data3 SD Card Detect IR Transmit IR Receive SW1 IR
14. ET_b 11 Target Power 5V supply via J12 12 TRACECLK PTA6 FTMO_CH3 TRACE_CLKOUT 13 Target Power 5V supply via J12 14 TRACEDATA O PTA10 FTM2_CHO FTM2_QD PHA TRACE_DO 15 GND GND 16 TRACEDATA 1 PTA9 FTM1_CH1 FTM1_QD PHB TRACE_D1 17 GND GND TWR K70F120M Tower Module User s Manual Page 11 of 25 ZC freescale semiconductor e eo bei 7s Function TWR K70F120M Connection TRACEDATA 2 PTA8 FTM1_CHO FTM1_QD PHA TRACE_D2 GND GND TRACEDATA 3 PTA7 FTMO_CH4 TRACE_D3 Note Many of the trace signals connected to the debug connector are also connected elsewhere on the TWR K70F120M Refer to Table 6 I O Connectors and Pin Usage Table and Table 7 TWR K70F120M Primary Connector Pinout for more information 2 5 Graphical LCD Interface The K70FN1MO processor includes an on chip graphical LCD controller module The module is not used directly on the TWR K70F120M board but the LCD signals are routed to the Secondary connector allowing the connection to an external LCD or additional circuitry on a Tower peripheral module The TWR LCD RGB will provide an LCD panel and all required external circuitry so that it can interface directly to the TWR K70F120M This is an easy way to evaluate the graphical LCD module on the K70 processor 2 6 DDR2 Memory The TWR K70F120M includes 1Gb of DDR2 memory MT47H64M16HR 25 The board also includes a DDR regulator that provides the main 1 8V supply for the memory and the processor
15. K70 Family Product Brief and the K70 Family Reference Manual for comprehensive information on the MK7OFNIMOVMJ12 device The key features are listed here e 32 bit ARM Cortex M4 core with DSP instructions e 120MHz maximum core operating frequency e 256 MAPBGA 17mm x 17mm 1 0mm pitch package e 1 71V 3 6V operating voltage input range e 1 Mbyte of program flash 128 Kbytes of static RAM e DDR controller supporting DDR1 LPDDR1 and DDR2 memory e NAND flash controller e External bus interface e Power management controller with 10 different power modes e Multi purpose clock generator with PLL and FLL operation modes e 16 bit SAR ADC 12 bit DAC e High speed analog comparator with 6 bit DAC e Programmable voltage reference e USB high speed OTG controller e USB full speed low speed OTG Host Device controller with device charge detect e 10 100 Mbps Ethernet MAC TWR K70F120M Tower Module User s Manual Page 9 of 25 2 freescale semiconductor e SPI VC w SMBUS support UART w 1507816 CEA709 1 B LON and IrDA support CAN e e SD Host Controller SDHC e GPIO with pin interrupt support DMA request capability digital glitch filtering e Capacitive touch sensing inputs TSI e Debug interfaces JTAG cJSTAG SWD e Trace TPIO FPB DWT ITM ETM ETB 2 2 Clocking The Kinetis MCUs start up from an internal digitally controlled oscillator DCO Software can enable one two or three external oscillators if des
16. QO SW2 IRQ1 SW3 RESET E1 Touch E2 Touch E3 Touch E4 Touch Port Pin PTE17 PTE16 PTE2 PTE3 PTE1 PTEO PTES PTE4 PTE28 PTD7 PTDO PTE26 RESET hb PTA4 PTB3 PTB2 PTB16 Pin Function UART2_RX UART2_TX SDHCO_DCLK SDHCO_CMD SDHCO_DO SDHCO_D1 SDHCO_D2 SDHCO_D3 PTE28 CMT_IRO CMP2_IN3 PTDO PTE26 RESET hb TSIO_CH5 TSIO_CH8 TSIO_CH7 TSIO_CH9 Page 17 of 25 e eo so e freescale semiconductor LEDs Potentiometer Accelerometer General Purpose TWRPI Socket Touch Pad Segment LCD TWRPI Socket I2S SAI Header E1 Orange LED E2 Yellow LED E3 Green LED E4 Blue LED Potentiometer R71 I2C SDA I2C SCL INT1 INT2 TWRPI ANO J4 Pin 8 TWRPI AN1 J4 Pin 9 TWRPI AN2 J4 Pin 12 TWRPI IDO J4 Pin 17 TWRPI ID1 J4 Pin 18 TWRPI 12C SCL US Pin 3 TWRPI 12C SDA J5 Pin 4 TWRPI SPI MISO J5 Pin 9 TWRPI SPI MOSI J5 Pin 10 TWRPI SPI SS J5 Pin 11 TWRPI SPI CLK J5 Pin 12 TWRPI GPIOO J5 Pin 15 TWRPI GPIO1 J5 Pin 16 TWRPI GPIO2 J5 Pin 17 TWRPI GPIO3 J5 Pin 18 TWRPI GPIO4 J5 Pin 19 Electrode O 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 IDO J3 Pin 17 TWRPI 1D1 J3 Pin 18 RX Es TX_FS TXDO PTA11 PTA2
17. R SER module that comes as part of the TWR K70F120M KIT 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 Table 4 shows the settings for proper interoperability between the Ethernet interface on the TWR SER and the TWR K70F120M Table 4 Ethernet operation jumper settings Tower Module Setting TWR K70F120M revB J19 OFF TWR K70F120M revC J18 ON TWR K70F120M Tower Module User s Manual Page 14 of 25 2 freescale semiconductor TWR SER J2 3 4 TWR SER J3 2 3 TWR SER J12 9 10 2 14 USB The K70FN1MO features two different USB modules a USB full speed low speed OTG Host Device controller with built in transceiver and a high speed OTG Host Device controller that requires a external ULPI PHY 2 14 1 FS LS USB The TWR K70F120M routes the USB D and D signals from the K70 MCU to the Primary Connector allowing the connection to external USB connectors or additional circuitry on a Tower peripheral module The TWR SER module included as part of the TWR K70F120M KIT provides a USB OTG Host Device interface with a mini AB USB connector There are many configuration options that can be selected to evaluate different USB modes of operation By default the TWR SER is configured for USB Device operation Please refer to the documentation included with the TWR SER for more information on the conf
18. TWR K70F120M contents include e TWR K70F120M board assembly e 3ft USB cable e Interactive DVD with software installers and documentation e Quick Start Guide The TWR K70F120M KIT contains e TWR K70F120M MCU module e TWR ELEV Primary and Secondary Elevator Modules e TWR SER Serial module including USB host device OTG Ethernet CAN RS232 and RS485 1 2 Features Figure 2 and Figure 3 show the TWR K70F120M with some of the key features called out The following list summarizes the features of the TWR K70F120M Tower MCU Module e Tower compatible microcontroller module e MK70FN1MOVMJ12 K7O0OFN1M in a 256 MAPBGA with 120 MHz operation e Touch Tower Plug in Socket e General purpose Tower Plug in TWRPI socket e On board JTAG debug circuit OSJTAG with virtual serial port e 1Gb of DDR2 SDRAM memory e 2Gb of SLC NAND flash memory e Three axis accelerometer MMA8451Q e Four 4 user controllable LEDs e Four 4 capacitive touch pads e Two 2 user pushbutton switches e Potentiometer e Battery Holder for 20mm lithium battery e g 2032 2025 e Micro SD Card slot TWR K70F120M Tower Module User s Manual Page 6 of 25 freescale semiconductor o A em gt wT 2 ke S DN S MH des SE E Le Pe BRE sw2 Infra Red NM 1 dis sf H DE we TZ i CN Touch TWRPI General Purpose 29 art Socket Tower Plug In TWRPI Socket Tp a LED Touch ei Butt
19. hat simulate pushbuttons Additionally twelve TSI signals 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 6 I O Connectors and Pin Usage Table for the specific K70 pin connections to the Touch TWRPI socket TWR K70F120M Tower Module User s Manual Page 13 of 25 2 freescale semiconductor e eo oe Ze Table 3 Touch TWRPI socket pinout Pin Description 4 3 3VVDDA 5 10 11 12 13 14 15 16 17 18 19 2 13 Ethernet The K70FN1MO features a 10 100 Mbps Ethernet MAC with MII and RMII interfaces The TWR K70F120M routes the RMII interface signals from the K70 MCU to the Primary Connector allowing the connection to an external Ethernet PHY device on a Tower peripheral module When the K70 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 TWR K70F120M provides the option see jumper descriptions Table 5 to clock the MCU from an external clock from the CLKINO pin on the Primary Connector The Tower peripheral module implementing the RMII PHY device should drive a 50 MHz clock on the CLKINO pin that is kept in phase with the clock supplied to the RMII PHY The TW
20. iguration options Note In order to use the USB module in true OTG mode VREGIN must be powered before the USB cable is plugged in By default the board does not support this The board can be modified by removing the jumper on J1 then directly connecting P5V_ELEV or another 5V net that will be active during testing to pin1 of J1 so that VREGIN has a 5V supply independent of the USB port on the TWR SER board 2 14 2 HS USB The TWR K70F120M routes the ULPI interface signals for the high speed USB module to the Secondary Connector allowing the connection to an external ULPI PHY or additional circuitry on a Tower peripheral module The TWR SER2 module includes a ULPI PHY that can be used with the TWR K70F120M in order to evaluate the high speed USB functionality The TWR SER2 is not included as part of the TWR K70F120M KIT but the boards can be ordered individually from Freescale 2 15 Secure Digital Card Slot A Micro Secure Digital SD card slot is available on the TWR K70F120M connected to the SD Host Controller SDHC signals of the K70 MCU This slot will accept micro SD memory cards Refer to Table 6 I O Connectors and Pin Usage Table for the SDHC signal connection details 2 16 External Bus Interface FlexBus The K70 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 TWR K70F120M Ins
21. ired Two of the external oscillators provide clocks to the Multipurpose Clock Generator MCG module and 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 EXTALO and EXTAL1 pins of the main external oscillators can also be driven directly from an external clock source The TWR K70F120M features a 50 MHz on board clock oscillator connected to EXTALO as seen in sheet 4 of the schematics However when the K70 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 TWR K70F120M provides the option see jumper description in Table 5 to select the clock input to the MCU from 1 the on board 50MHz source or 2 an external clock from the CLKINO pin on the Primary Connector When the K70 is operating in Ethernet RMII mode the Tower peripheral module implementing the RMII PHY device should drive a 50 MHz clock on the CLKINO signal that is kept in phase with the clock supplied to the RMII PHY Refer to section 2 13 Ethernet for more information The TWR K70F120M also includes a 12MHz crystal connected to EXTAL1 XTAL1 2 3 System Power In stand alone operation the main power source for the TWR K70F120M module is derived from the 5 0V input from e
22. ither the USB mini B connector J13 or the debug header J11 when a shunt is placed on jumper J12 A low dropout regulator provides a 3 3V supply from the 5 0V input voltage Refer to sheet 6 of the TWR K70F120M schematics for more details When installed into a Tower System the TWR K70F120M 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 K70F120M will default to the off board source The 3 3V power supplied to the MCU is routed through two jumpers J8 and J20 J8 can be supplies VDD to the processor and also VDD_INT as long as J20 is installed J20 supplies VDD_INT to the processor The jumper shunts 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 TWR K70F120M Tower Module User s Manual Page 10 of 25 2 freescale semiconductor e oe bei 7s 2 3 1 RTC VBAT The Real Time Clock RTC module on the K70 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 K70F120M 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 J17 in Table 5 TWR K70F120M Jumper Table for more information
23. nfo on using die casa J19 to replace J18 s functionality Added information on running EVB at 150MHz Nov 20 2012 Added jumper details for rev C board Added information on using trace TWR K70F120M Tower Module User s Manual Page 3 of 25 r oe oe freescale semiconductor Updated USB section to include instruction for 1 2 May 29 2014 12 May29 2014 connections to allow for USB OTG testing TWR K70F120M Tower Module User s Manual Page 4 of 25 2 freescale semiconductor 1 TWR K70F120M and TWR K70F120M KIT Overview The TWR K70F120M is a development board for the K61 and K70 family 32 bit ARM Cortex M4 MCUs The TWR K70F120M is populated with a device rated for 120 MHz operation across the full 40C to 85C temperature range At room temperatures the board can be over clocked to 150 MHz to allow for evaluation of the K70 and K61 devices that are rated for 150 MHz operation across the full temperature range The TWR K70F120M is a Tower Controller Module compatible with the Freescale Tower System It can function as a stand alone low cost platform for the evaluation of the Kinetis K10 K20 K6x and K70 family of microcontroller MCU devices The TWR K70F120M features the Kinetis K70 low power microcontroller based on the ARM Cortex M4 architecture with graphical LCD controller tamper detection USB 2 0 HS Controller USB 2 0 full speed OTG controller and 10 100 Mbps Ethernet MAC The TWR K70F120M
24. ons SW3 Reset Zei E1 E4 eg A a Power OSJTAG E I OFNIMOVMJ12 Mini B USB wF E Microcontroller Connector E S a oe Maer o Tra E py MMA8451 Secondary A eooni BCIE NIM eos FREESCALE eae Connector MITA 1Gb 16 bit wide LPDDR2 Memory Figure 2 Callouts on front side of the TWR K70F120M i l EM SD Card Potentiometer ct 4 Socket E ae ARS i y Kb Sar nee ei SE SE VE E ce VBAT RTC FAIR E Battery Loi de s e D e d IT W Holder Ap MC9S08JM60 vi Si SECONDARY el E wun 2Gb NAND OSJTAG Circuit IT Flash Figure 3 Callouts on back side of the TWR K70F120M TWR K70F120M Tower Module User s Manual Page 7 of 25 2 freescale semiconductor 1 3 Getting Started Follow the Quick Start Guide found printed in the TWR K70F120M 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 K70F120M http www freescale com TWR K70F120M 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 freescale com TWR K70F120M or freescale com kinetis e TWR K70F120M QSG Quick Start Guide e TWR K70F120M SCH Schematics e TWR K70F120M PWB Design Package e K70 Family Product Brief e K70 Family Reference Manual e Tower Configuration Tool 2 Hardware
25. ower t Zi SND Power Ground A2 GND Power Ground 3 3VPower A3 3 3V_ Power 3 3VPower Power 3 3V Pe Power ELE a SENSE n ER EE 3V ae eo SDHC O SDHC Power _ SPI1_CLK SPI 1 PTE2 SCLO I2C 0 PTE19 SDHC_D3 SDHC SPIL_CS1_b SPI 1 MA a ee ee SDHC_D3 SDHC PTE4 GPIO SPI1_ CSO b SPI 1 A9 GPIO9 CTS1 UART PTE18 Bi SDHC_CMD SDHC PTE3 Al GPIO8 GPIO 0 SPI1_MOSI SPI 1 0 SDHC_D2 SDHC PTE5 B1 SDHC_DO SDHC PTE1 Al GPIO7 GPIO 1 SPI1_ MISO SPI 1 1 SD_WP_DET SDHC PTE27 B1 A1 Etherne ETH_RXER Ethernet PTAS ETH MDC Ant B1 A1 Etherne ETH_TXEN Ethernet PTA15 ETH_RXCLK srl A B1 Al Etherne TWR K70F120M Tower Module User s Manual Page 19 of 25 ce gt oe ES e gJ gJ gJ gJ gJ gJ LO LO LO LO LO LO LO LO LO LO LO LO LO LO LO LO LO LO LO LO LO freescale semiconductor ETH_TXD1 Ethernet PTA17 ETH_RXD1 Ethernet PTA16 GPIO UART GPIO SDHC ETH_TXDO ETH_RXDO PTE19 SSI_MCLK GPIO1 RTS1 PTEO SSI_BCLK GPIO2 SDHC_D1 SSI_FS GPIO3 GPIO PTE28 SSI_RXD CLKINO Clock PTA18 SSI_TXD CLKOUT1 Clock PTE26 AN7 ADC ADCO D I AN3 AN6 ADC ADCO_DM1 AN2 AN5 ADC ADC1_DP1 AN1 AN4 ADC ADC1_DM1 ANO DAC1 DAC DAC1_OUT DACO TMR3 Timer TMR1 TMR2 Timer PTD6 TMRO GPIO4 GPIO PTB8 GPIO6 3 3V 3 3V Power PWM7 PWM PTA2 3 3V PWM3 PWM6 PWM PTA1 PWM2 PWM5 PWM PTD5 PWM1 PWM4 PWM PTA7 PWMO CANRXO CANO PTC16 CANTXO CANO PTC17 1WIRE
26. s powering board from external JTAG probe 7 RE ENEE OFF Disconnect on board 5V supply from JTAG port SS ge gg A we ae SMT ps tT O A A NA A ee Ge ge ge ge Sg 116 Infrared Receiver a Connection OFF Disconnect DAC1_OUT CMP2_IN3 to IR Receiver EZ Connect VBAT to on board 3 3V supply J17 VBAT Power Selection AAA AAA AAA AA AA Connect VBAT to the higher voltage between on board 3 3V supply or coin cell supply SE Le PA LEE On board 50MHz oscillator disabled Off board clock drives main EXTAL 118 ON NOTE This option should be selected whenever a tower revC 50 MHz oscillator output module card that provides a clock on primary elevator pin boardi enable B24 is connected to the CPU module Otherwise there will be contention between the two clock sources OFF On board 50MHz oscillator enabled On board 50 MHz clock drives main EXTAL TWR K70F120M Tower Module User s Manual Page 16 of 25 e pes ZC freescale SR Se a A GRR AS II E A RR RR RR a a A a A I H l Power supply to 50MHz oscillator enabled 50 MHz oscillator power EE OFF Power supply to 50MHz oscillator disabled hee ee eee ee eee ee eee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee el semiconductor J19 ON revC board J19 revB 50MHz clock disable board 120 M
27. s SDRAM pads as well as VTT and VREF voltages 2 7 NAND Flash The TWR K70F120M includes 2Gb of SLC NAND flash memory MT29F2G15ABAEAWP The data lines used for the NAND flash are shared between the NAND flash controller and the FlexBus interface Internal arbitration logic in the processor allows for dynamic sharing between the NAND flash and FlexBus interfaces 2 8 Infrared Port An infrared transmit and receive interface is implemented on the board The CMT_IRO pin directly drives an infrared diode The receiver uses an infrared phototransistor connected to an on chip analog comparator through a low pass filter Internal to the K70 device the output of the analog comparator can be routed to a UART module for easier processing of the incoming data stream 2 9 Accelerometer An MMA84510 digital accelerometer is connected to the K70 MCU through an 12C interface and a GPIO IRQ signal Refer to Table 6 I O Connectors and Pin Usage Table for connection details 2 10 Potentiometer Pushbuttons LEDs The TWR K70F120M features two pushbutton switches connected to GPIO interrupt signals one pushbutton 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 Connectors and Pin Usage Table for information about which port pins are connected to these features TWR K70F120M Tower Module User s Manual Page 12 of 25
28. tead a subset of the FlexBus is connected to the Primary Connector so that the external TWR K70F120M Tower Module User s Manual Page 15 of 25 e eo o gt ZC freescale semiconductor bus can access devices on Tower peripheral modules Refer to Table 7 TWR K70F120M Primary Connector Pinout and sheet 8 of the TWR K70F120M schematics for more details 3 Jumper Table There are several jumpers on the TWR K70F120M 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 TWR K70F120M Jumper Table Setting Description mz Connect USBO_VBUS from Primary Elevator A57 to USB VREGIN Power ONT DE S VREGIN Connection a a ag SS SE ge ES PN O EE OFF Disconnect VREGIN from Primary Elevator AAA A ASA E Ey ME EEE AI EI E NA O E A E E e al l ON Connect PTD7 CMT_IRO UARTO_TX to IR Transmitter D1 i Infrared Transmitter S e J2 Geet OFF Disconnect PTD7 CMT_IRO UARTO_ TX from IR Transmitter D1 po GE ON Connect on board 3 3V supply to MCU gt J8 MCU Power Connection Isolate MCU from power supply allows for external supply _ or power measurements pO OSITAG bootloader mode OSITAG fi rmware Cs Se ge eg a EA NAAA AE AN ee ee ee ee ee ee El J10 OSJTAG Mode Selection reprogramming Connect on board 5V supply to JTAG port support

Download Pdf Manuals

image

Related Search

Related Contents

Samsung S27E510C Manual de Usuario  SlimBANK UV-18 User Manual Rev. 1  Martin Audio W8VDQ User's Manual  01 anno 02 - piazza affari  European Project Semester “Multilevel Inverter” - e  quadro a - Prefeitura de Piên  000 Sommaire des fiches vidéo  HP PAVILION nx9000 User's Manual  Estimados Padres de Familia (Estudiantes de Preescolar): Reciban  UC864-E/G/WD/WDU Software User Guide  

Copyright © All rights reserved.
Failed to retrieve file