Home

TWR-K20D50M-UM TWR‐K20D50M Tower Module User`s Manual

image

Contents

1. 6 12 Touch Interface The touch sensing input TSI module of the K20DX128VLH5 MCUs provides capacitive touch sensing detection with high sensitivity and enhanced robustness Each TSI pin implements the capacitive measurement of an electrode The TWR K20D50M provides two methods for evaluating the TSI module There are two electrodes on board Additionally 12 TSI signals are connected to a Touch Tower Plug in TWRPI socket J5 that can accept Touch TWRPI daughter cards that may feature keypads rotary dials sliders etc Table 4 Touch TWRPI socket pinout Description C alava 6 VS Analog GND Electrode 3 Electrode 4 10 Electrode 5 11 Electrode 6 12 Electrode 7 TWRK20D50M Tower Module User s Manual Page 14 of 19 gt e freescale semiconductor 6 13 USB The K20DX128VLH5 features a full speed low speed USB module with OTG Host Device capability and built in transceiver The TWR K20D50M routes the USB D and D signals from the K20DX128 MCU directly to the on board USB connector J31 A power supply switch with an enable input signal and over current flag output signal is used to supply power to the USB connector when the K20DX128 is operating in host mode Port pin PTC8 is connected to the flag output signal and port pin PTC9 is used to drive the enable signal Both port pins can be isolated with jumpers J32 and J26 if needed 7 TWR K20D50M Jumper options The following is a list of all the jum
2. 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 K20D50M device the output of the analog comparator can be routed to a UART module for easier processing of the incoming data stream TWRK20D50M Tower Module User s Manual Page 11 of 19 pa Z freescale semiconductor aza GATH PTOT_OMTZRO UE Ed mis Pe wy POP YRTGT GEL ADAC MI RATE E rd afualt ne shari 1 0 Da f gulde ra abuse Disable TEER K 514 I O diimibla IMMI MTE TH car f CA Tea TH ep TE nT Eg 5 InfraRed il Intaraity will ba difFarart tat man FED 1 7 and 3 37 Figure 5 Infrared circuit 6 8 Accelerometer An MMA8451Q digital accelerometer is connected to the K20DX128MCU through I2C module 12C0 and GPIO IRQ signals PTBO and PTB1 The MMA8451Q is a smart low power three axis capacitive micromachined accelerometer with 14 bits of resolution The device can be configured to generate inertial wake up interrupt signals from any combination of the configurable embedded functions allowing the MMA8451Q to monitor events and remain in a low power mode during periods of inactivity For more information on the MMA8451Q please visit the MMA8451Q Product Summary Page 6 9 Microphone A microphone circuit is provided to allow sampling of audio data A single ended ADC signal ADCO_DP3 is used to sample the value on the microphone IC output Jumper
3. flow control RS485 1507816 and IrDA while the other two UARTS support RS232 with flow control and RS485 One Inter IC Sound 125 serial interface for audio system interfacing One DSPI module and one 2C module Memory protection unit provides memory protection for all masters on the cross bar switch increasing software reliability Cyclic redundancy check CRC engine validates memory contents and communication data increasing system reliability Independent clocked computer operating properly COP guards against clock skew or code runaway for fail safe applications such as the IEC 60730 safety standard for household appliances External watchdog monitor drives output pin to safe state for external components in the event that a watchdog timeout occurs This product is included in Freescale s product longevity program with assured supply for a minimum of 10 years after launch The Kinetis MCUs start up from an internal digitally controlled oscillator DCO Software can enable the main external oscillator EXTALO XTALO if desired The external oscillator resonator can range from 32 768 KHz up to a 32 MHz An 8 MHz crystal is the default external source for the MCG oscillator inputs XTAL EXTAL A 32 768 KHz crystal is connected to the RTC oscillator inputs by default TWRK20D50M Tower Module User s Manual Page 9 of 19 gt pe freescale semiconductor 6 4 System Power When installed into a Tower System the TWR K2
4. loading and faster system throughput Cross bar switch enables concurrent multi master bus accesses increasing bus bandwidth Independent flash banks allowing concurrent code execution and firmware updating with no performance degradation or complex coding routines TWRK20D50M Tower Module User s Manual Page 8 of 19 gt pe freescale semiconductor Timing and Control Human Machine Interface Connectivity and Communications Reliability Safety and Security 6 3 Clocking Two FlexTimers with a total of 10 channels Hardware dead time insertion and quadrature decoding for motor control Carrier modulator timer for infrared waveform generation in remote control applications Four channel 32 bit periodic interrupt timer provides time base for RTOS task scheduler or trigger source for ADC conversion and programmable delay block Hardware touch sensing interface TSI with up to 16 inputs TSI operates in low power modes minimum current adder when enabled TSI hardware implementation avoids software polling methods High sensitivity level allows use of overlay surfaces up to 5 mm thick Full Speed USB Device Host On The Go with device charge detect capability Optimized charging current time for portable USB devices enabling longer battery life USB low voltage regulator supplies up to 120 mA off chip at 3 3 volts to power external components from 5 volt input Three UARTs one UART supports RS232 with
5. 0D50M can be powered from either an on board source or from another source in the assembled Tower System In stand alone operation the main power source 5 0V for the TWR K20D50M module is derived from either the OSJTAG USB mini B connector J12 or the K20DX128VLH5 USB micro AB connector J31 Two low dropout regulators provide 3 3V and 1 8V supplies from the 5 0V input voltage Additionally the 3 3V regulator built into the KAODX128VLHS can be selected to power the 3 3V bus All the user selectable options can be configured using two headers J29 and J30 Refer to sheet 5 of the TWR K40X256 schematics for more details 6 5 Real Time Clock RTC The Real Time Clock RTC module on the K20 has two modes of operation system power up and system power down In system power up mode the RTC may be powered by either the MCU regulator or the backup power supply VBAT During system power down the RTC is only powered from the backup power supply VBAT The TWR K20D50M 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 6 6 Debug Interface There are two debug interface options provided the on board OSJTAG circuit and an external ARM JTAG connector 6 6 1 OSJTAG An on board MC9S08JM60 based Open Source JTAG OSJTAG circuit provides a JTAG debug interface to the K20DX128 A standard USB A male to mini B male cable provided can be use
6. 6 13 Potente EDS coccion 13 6 14 Touch Interface ss ese ee ee ee ee ee ee ee ee ee ee ee ee ee Ge ee ee ee ee ee Ge ee ee ee ee ee ee ee ee ee ee ee ee 14 6 15 USB EG ae ee see ee ee ee cc ee Ge ee Ge ee Ge Ge Ne 15 A o LCoS a SAA 15 6 S20 NEK oo yy ffl 18 TWRK20D50M Tower Module User s Manual Page 2 of 19 p LS 2 freescale semiconductor 1 TWR K20D50M The TWR K20D50M microcontroller module is designed to work either in standalone mode or as part of the Freescale Tower System a modular development platform that enables rapid prototyping and tool re use through reconfigurable hardware Take your design to the next level and begin constructing your Tower System today by visiting www freescale com tower for additional Tower System microcontroller modules and compatible peripherals For TWR K20D50M specific information and updates visit www freescale com TWR K20D50M Figure 1 Freescale Tower System Overview TWRK20D50M Tower Module User s Manual Page 3 of 19 Pp e freescale semiconductor 2 Contents The TWR K20D50M contents include e TWR K20D50M board assembly e 3ftAto mini B USB cable for debug interface and power e 3ft A to micro B USB cable for MK20DX128VLH5 USB interface e Micro B to A adapter for MK20DX128VLH5 USB Host applications e Quick Start Guide 3 TWR K20D50M Features e Tower compatible microcontroller module e MK20DX128VLH5 MCU 50 MHz 128KB Flash 16 KB RAM 32 KB FlexN
7. IO_CH14 SIO_RXD1 TSIO_CH13 _BCLK TSIO_CH 11 SS oa SSIO_CLK AA TO II LEDs LED orange Enable DEF 1 2 PTC10 LED Yellow Enable DEF 1 2 PTC9 TWRK20D50M Tower Module User s Manual Page 17 of 19 gt e freescale semiconductor Module Jumper name Options Signal Designator LED Green Enable DEF 1 2 PTC7 LED Blue DEF 1 2 PTC8 PTA12 J28 PTA12 1 MCU_PWR This header can be used to Header 2 PTA12 power up an external N EE ME 3 GND circuit sensor Push Buttons SW 2 Pushbutton1 PTC1 PTC1 UART_RTS FTMO_CH ee SW3 Pushbutton0 PTC2 PTC2 UART_CTS FTMO_CH Oe oes 8 Useful links http www freescale com twr k20d50M www freescale com www iar com freescale vY v yv Y www pemicro com e htto www pemicro com osbdm e OSBDM OSJTAG Virtual Serial Toolkit gt www freescale com codewarrior e CodeWarrior MCUv10 x gt www segger com e http www segger com jlink flash download html TWRK20D50M Tower Module User s Manual Page 18 of 19 2 freescale semiconductor Revision History Revision Date Description Jan 2012 Initial release for PWA 700 27272 A draft Feb 2012 Initial release for PWA 700 27272 A TWRK20D50M Tower Module User s Manual Page 19 of 19
8. J16 is provided to isolate the ADC signal from the microphone so that it can be used for other purposes TWRK20D50M Tower Module User s Manual Page 12 of 19 Pp pe freescale semiconductor 6 10 General Purpose Tower Plug in TWRPI Socket The TWR K20D50M features a socket J3 and J10 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 12C SPI IRQs GPIOs timers analog conversion signals TWRPI ID signals reset and voltage supplies The pinout for the TWRPI Socket is defined Table 1Table 3 Table 3 General Purpose TWRPI socket pinout J10 Pin Description al SAVVODA A a VSS Analog GND 7 VSS Analog GND 8 ADC AnalogO 9 ADC Analogt ADC Analog 2 13 VSS Analog GND 15 GND Reset J3 Pin Description 4 Posa o BD 9 SPEMISO END S O GND 14 GND GPIO GPIO5 Timer 6 11 Potentiometer Pushbuttons LEDs The TWR K20D50M features two pushbutton switches connected to GPIO interrupt signals one pushbutton connected to the master reset signal two capacitive touch pad electrodes four user controllable LEDs and a TWRK20D50M Tower Module User s Manual Page 13 of 19 ey os freescale semiconductor potentiometer connected to an ADC input signal Refer to Table 5 I O Connectors and Pin Usage Table for information about which port pins are connected to these features
9. VM Low power 64LQFP package e Dual role USB interface with Micro AB USB connector e Touch Tower Plug in Socket e General purpose Tower Plug in TWRPI socket e On board debug circuit MC9SO8JM60 open source JTAG OSJTAG with virtual serial port e Three axis accelerometer MMA8451Q e Four 4 user controllable LEDs e Two 2 capacitive touch pads e Two 2 user pushbutton switch e Infrared transmit and receive e Potentiometer e Microphone ADC e Buzzer e Battery backup for RTC TWRK20D50M Tower Module User s Manual Page 4 of 19 e freescale semiconductor 4 Getto Know the TWR K20D50M VBat options GPIO Header buzzer enable General Purpose RESET TWRPI Plug In si y Microphone MO ON di EE TE Ee TL 2 TWRPI TOUCH BEERS ET ma _ Enable options 2 jj p ius s AO G ve p dr otentiomete y l AE mu 2 El i FONE p rd ES as lt 0 eee E LED Green amp Blue mini AB USB ES E E SS PR gt is al IED Orange amp Yellow SN Ll am Dead oos ys AE die se Enable options 1 EE DOG BT re IT AS OO y EE Ha SW3 TIUETI JTAG K20 MicroUSB Regulator Option Selector selector ed N ek 1 Le od Fr 7 PA ke Ta f Fr AT EET A 3 i il m 1 mi Lal 1U A H 7 ay 7 i x ba J a F s O a k n Is mat JM60 BDM TT NN p f f f JM6O Bootloader Board power selection Enable Figure 2 Front side of TWR K20D50M module TWRPI devices n
10. Z freescale semiconductor TWR K20D50M Tower Module User s Manual TWR K20D50M UM Rev 1 1 Freescale Semiconductor Inc Microcontroller Solutions Group gt gt Y PEE Z freescale semiconductor Table of Contents 1 EW Rr ZO oy OM a No 3 Li CONTO Ra 4 S TWR K20D50M Features na 4 4 Get to Know 17 Bek 20D50M ioccccccccocccnccnnooocconnnnnonnnnnnnnnoonnnnnnnnn o EER ERRE 5 5 Referee eri ieee os IOPOOOcci 0 MURPO E An 6 TS o SSA 7 NL A o A 7 6 2 MIE OO ase rca 7 6 3 Clocking A acc cc 9 6 4 System POWAI ll ee eene nee eene ee ee ee ee ee ee ee ee Ee Ee Se De De ge De De 10 6 5 Debug Interface MEE ese ese se Se ee ee ee See ee Ge Be Be eek Se ge 10 6 6 OSTTAG esse ses sere EE eo se ae ee ae yy 10 6 7 Infrared Port sesse sees sees sees ad EI ee se eene ee ee ee Ge Ke Ke Ke Ke Ke Ke Ke Ke Re nne 11 6 8 Accelerometer essnee nananana eeen S L ee ee ee ee ee ee Ke ee ee ee ee ee Gee ee ee Ne Ke Ke 12 6 9 Potentiometer Pushbuttons LEDS esse ese ee ee ee ee ee ee ee Re Re Re Re ee Error Bookmark not defined 6 10 Microphone af ese sesse se se ese se se Se Be Be ee ee Ke Ke Ke Ge Be Be Be ee Re Re eek Se Be Be ee ee Ke Ke Ke Ge Be Be Be ee RE Ke Ke Ke 12 6 11 General Purpose Tower Plug in TWRPI Socket uses sesse se se se se se ee AR AR Ge Ee Ge Ge Ge Ge Ge ee AR Ke Ke Ke ee ee Ge egg AR AA ee 13 6 12 Accelero am EP ere ee ee ee ee narrar Ke ee Error Bookmark not defined
11. d for debugging via the USB connector J12 The OSJTAG interface also provides a USB to serial bridge Drivers for the OSJTAG interface are provided in the PRE Micro OSBDM OSJTAG Tower Toolkit These drivers and more utilities can be found online at http www pemicro com osbdm 6 6 2 Cortex Debug ETM Connector The Cortex Debug ETM connector is a standard 2x10 pin 0 05 connector providing an external debugger cable with access to the SWD JTAG cJTAG and EzPort interfaces of the K20DX128VLHS Alternatively the on board OSJTAG debug interface can be used to access the debug interface of the K20DX128VLH5 The pinout of the debug connector J22 is shown in following table TWRK20D50M Tower Module User s Manual Page 10 of 19 Veg L fre escale semiconductor Table 2 Cortex Debug connector Pin Function TWR K20D50M Connection 3 3V MCU supply MCU_PWR TMS SWDIO PTA3 SCIO RTS b FTMO CHO JTAG_MS SWD DIO 3 Jeb I JD TCK SWCLK PTAO SCIO_CTS_b FTMO_CH5 JTAG_CLK SWD o CLK GND END TDO SWO PTA2 SCIO_TX FTMO_CH7 JTAG_DO TRACE_S A A gt DO 7 key o 8 T R DE 9 GNDDetect PTA4 FTMO_CH1 MS NMI_b EZP_CS_b nRESET RESET_b 5V supply via J15 TRACECLK PTAG FTMO CH3 FB CLKOUT TRACE CLKOU T 5V supply via J15 14 O A eee GND Note K20 50MHz family do not have trace port 6 7 Infrared Port An infrared transmit and receive interface is implemented as shown in Figure 5 The CMT_IRO pin directly
12. l memory and analog operation down to 1 71V for extended battery life Low leakage wake up unit with up to eight internal modules and sixteen pins as wake up sources in low leakage stop LLS very low leakage stop VLLS modes Low power timer for continual system operation in reduced power states 32 KB 128 KB flash featuring fast access times high reliability and four levels of security protection 16 KB of SRAM 2 KB of FlexMemory user segmentable byte write erase EEPROM for data tables system data EEPROM with over 10M cycles and flash with 70 usec write time brownouts without data loss or corruption No user or system intervention to complete programming and erase functions and full operation down to 1 71V FlexNVM adds up 32 KB for extra program code data or EEPROM backup High speed 16 bit ADC with configurable resolution Single or differential output modes for improved noise rejection 500 ns conversion time achievable with programmable delay block triggering Two high speed comparators providing fast and accurate motor over current protection by driving PWMS to a safe state Optional analog voltage reference provides an accurate reference to analog blocks and replaces external voltage references to reduce system cost 50 MHz ARM Cortex M4 core with DSP instruction set single cycle MAC and single instruction multiple data SIMD extensions Up to four channel DMA for peripheral and memory servicing with reduced CPU
13. ot shown TWRK20D50M Tower Module User s Manual Page 5 of 19 Ss freescale a semiconductor pi Hi Accelerometer TE bie H ELEC R53 qim ENES d pe A TOUCH ELEC AI oo D as e 507 EE ME EIS Que EK 38 090906 Infrared port gt I ER rm y a p 1 MACS Te Haal QO i TPE TP I Figure 3 Back side of TWR K20D50M 5 Reference Documents So F 5 E EP Ll un ar o mo ar od Lu EE a O o PO SECONDARY om er aard N ed ed ar PP E id fee a ME F Buzzer 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 TWR K20D50M or http www freescale com kinetis e TWRK20D50MQSG Quick Start Guide e TWR K20D50M SCH Schematics e TWR K20D50M PWA Design Package e K20P64M50SFORM Reference Manual e Tower Configuration Tool e Tower Mechanical Drawing TWRK20D50M Tower Module User s Manual Page 6 of 19 pi o gt Z freescale semiconductor 6 Hardware description The TWR K20D50M is a Tower MCU Module featuring the MK20DX128VLH5 a Kinetis microcontroller with USB 2 0 full speed OTG controllers in a 64 LOFP package It is intended for use in the Freescale Tower System but can operate stand alone An on board debug circuit OSJTAG provides a JTAG interface and a power supply input through a
14. per options The default installed jumper settings are shown in bold Note Default Configuration Board powered by OSJTAG USB RTC powered by PWR_MCU Jumper Jumper Signal Jumper Option designator V_BRD ini EE VBAT P5V_TRG_USB J24 P5V_TRG_USB DEF open Disconnect target power of JTAG connector JM60 J34 JM60 BOOTLOAD EN open OSJTAG mode Bootloader 1 2 JM60 bootloader mode VREG IN J30 VREG IN SELECTOR DEF 1 2 Regulator powered by OSJTAG SELECTOR USB 5 6 K20 USB power the K20 Regulator 8 6 TWR USB power up the K20 Regulator TWRK20D50M Tower Module User s Manual Page 15 of 19 gt pe freescale semiconductor BOARD BOARD POWER SELECTION DEF 3 5 P3 3V_REG powers POWER VBRD MCU_PWR SELECTION 7 5 1 8V powers VBRD MCU Interface circuit input power 1 2 K20 3 3 Regulator Output powers VBRD MCU_PWR TWRK20D50M Tower Module User s Manual Page 16 of 19 Pp pe freescale semiconductor Table 5 Connectors and Pin Usage Module Jumper name Options Signal Designator a IRDAJ foem Po mo 37 CMPOLINO open PTC7_EBI_AD8 CMPO_IN1 Microphone Enable DEF 1 2 ADCO_DP3 Potentiometer Potentiometer Enable DEF 1 2 ADCO_DM3 Buzzer JM Buzzer Enable DEF 1 2 PTC4 Enable 3 TSIO_CH8 TSIO_CH7 ACCELEROMETER INT1 DEF OPEN PTBO ADCO_SE8 TSIO_CHO ACCELEROMETER INT2 DEF OPEN PTB1 ADCO_SE9 TSIO_CH6 GPIO Header J2 1 SAIO_RX_FS PTC10 EBI ADS EE ER _FS TSIO_CH12 S FTMO_CHO T S
15. single USB mini AB connector The block diagram of the TWR K20D50M board is presented in the following figure 6 1 Block Diagram Tower Elevator Expansion Connectors FS SPI C ADC USB PWM UARTs FTM 3 3V 1 8V 8 MHz XTAL 32 768 KHz XTAL regulator MEE y IR Output al EE 4 Comparator Infrared Port Hs GPIO Interrupts Micro VDD Reset NMI ool LLWU Battery VBAT RTC Holder GPIO SAI GPIO access citive CD Header O Capa FTM 2 l BUZZER SPI VC ADC GPIO TSI GPIO o ADC General Purpose General Purpose vd VV Microphone MM Av Tower Plug in Tower Plug in Amplifier TWRPI TWRPI Sensor TWRPI ar EI Freescale Device a External Connectors Interface Circuits ES Power Figure 4 Block Diagram of TWR K20D50M 6 2 Microcontroller The TWR K20D50M features the MK20DX128VLH5 This 50 MHz microcontroller is part of the Kinetis K20 family and is available in a 64 LQFP package The following table notes the features of MK20DX128VLH5 TWRK20D50M Tower Module User s Manual Page 7 of 19 Pp p freescale semiconductor Table 1 Features of MK20DX128VLH5 Feature Ultra low power Flash SRAM and FlexMemory Mixed signal capability Performance Description 11 low power modes with power and clock gating for optimal peripheral activity and recovery times Stop currents of lt 190 nA VLLSO run currents of lt 280 uA MHz 4 us wake up from Stop mode Ful

Download Pdf Manuals

image

Related Search

Related Contents

Instrukcja Obsługi (Rozwijaki)  Black & Decker BL10450HR Use & Care Manual  Eminent EM3162 mice  BOMBA DE CALOR  Motorola DS4208 Barcode Scanner User Manual  Weber SUMMIT 56576 User's Manual  胴體 ` 施工説明書  AirEther™ BR108 User Manual  BDA_TechniStar K2 ISIO_V57.qxp  Sony MZ-NHF800 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file