Home

TWR-KL25Z48M User Manual - Freescale Semiconductor

image

Contents

1. FTM 8MHz 32 768 kHz OSC IROUTPUT NA Comparator lt gt GPIO HEADER SPI 12C ADC GPIO General Purpose TWRPI Sensor EJ Interface Power circuits CI Freescale CI External Device Connectors Figure 4 Block Diagram of TWR KL25Z TWRKL25ZUM TWR KL25Z Page 6 of 17 e E e freescale 6 2 Microcontroller The TWR KL25Z features the MKL25Z128VLK4 This 50 MHz microcontroller is part of the Kinetis L series and is available in an 80 LQFP package The following table notes the features of MKL25Z128VLK4 Table 1 Features of MKL25Z128VLK4 Feature Description Ultra low power 10 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 Full 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 Flash SRAM and 32 KB 128 KB flash featuring fast access times high reliability and four levels FlexMemory of security protection 16 KB of SRAM No user or system intervention to complete programming and erase functions and full operation down to 1 71V Mixed signal capability High speed 16 bit ADC
2. TSIO_CH10 PTB17 TSIO_CH10 UART J24 KL25 UART RX OpenSDA DEF 2 3 UARTI RX TGTMCU or Elevator J26 KL25 UART TX OpenSDA DEF 2 3 UART1_TX_TGTMCU or Elevator 8 Useful links http Yy V V Yy 4 www freescale com www iar com freescale www pemicro com www freescale com codewarrior CodeWarrior MCUv10 3 and above gt www segger com http www freescale com TWR KL25Z www segger com jlink flash download htm TWRKL25ZUM TWR KL25Z Page 15 of 17 e E So freescale Revision History Revision Date Description 1 0 July 2012 First draft 1 0 1 September 2012 First version Updated to board rev C TWRKL25ZUM TWR KL25Z Page 16 of 17 i freescale How to Reach Us Home Page freescale com Web Support freescale com support Information in this document is provided solely to enable system and software implementers to use Freescale products There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document 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
3. 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 Tvpicals 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 http www reg net v2 webservices Freescale Docs TermsandConditions htm Freescale the Freescale logo Altivec C 5 CodeTest CodeWarrior ColdFire C_Ware Energy Efficient Solutions logo Kinetis mobileGT PowerQUuICC Processor Expert QorlQ Qorriva StarCore Symphony and VortiQa are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off Airfast BeeKit BeeStack ColdFire CoreNet Flexis MadniV MXC Platform in a Package QorlQ Qonverge QUICC Engine Ready Play SafeAssure SMARTMOS TurboLink Vybrid and Xtrinsic are trademarks of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Apple iPod iPhone and iPad are trademarks of Apple Inc registered in the U S and other countries e Ze i freescale Freescale Semiconductor Inc 2012 All rights reserve
4. with configurable resolution Single or differential output modes for improved noise rejection 500 ns conversion time achievable with programmable delay block triggering Analog comparator with 6 bit DAC reference 12 bit independent DAC Performance 48 MHz ARM Cortex M0 core Up to four channel DMA for peripheral and memory servicing with reduced CPU 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 Bit manipulation engine BME allows execution of single instruction atomic bit modify write operations on the peripheral address space TWRKL25ZUM TWR KL25Z Page 7 of 17 e E e freescale Timing and Control Low power timers Hardware dead time insertion and quadrature decoding for motor control Four channel 32 bit periodic interrupt timer provides time base for RTOS task scheduler or trigger source for ADC conversion Human Machine Hardware touch sensing interface TSI with up to 16 inputs Interface 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 Connectivity and Full Speed USB Device Host On The Go with devi
5. 8 VDD select General purpose TWRPI socket Touch TWRPI socket Eee TAR EREI O S debug header OpenSDA 1 3 ji BER Gei Touch sensing USB debug Ze Jr a electrodes connector ACE Sp with center LED User push buttons Figure 2 Top side of TWR KL25Z module Potentiometer 32 768 kHz clock Infrared port Figure 3 Bottom side of TWR KL25Z module TWRKL25ZUM TWR KL25Z Page 5 of 17 e E oz freescale 5 Reference Documents The documents listed below should be referenced for more information on the Kinetis familv Tower Svstem and MCU Modules These can be found in the documentation section of http www freescale com TWR KL25Z or http www freescale com kinetis e TWRKL25ZQSG Quick Start Guide e TWR KL25Z SCH Schematics e TWR KL25Z PWA Design Package e MKL25Z128VLK4 Reference Manual e Tower Configuration Tool e Tower Mechanical Drawing 6 Hardware description The TWR KL25Z is a Tower MCU Module featuring the MKL25Z128VLK4 a Kinetis microcontroller with USB 2 0 full speed OTG controllers in a 80 LQFP package It is intended for use in the Freescale Tower System but can operate stand alone An on board debug circuit openSDA provides a JTAG interface and a power supply input through a single USB mini AB connector as well as a serial to USB CDC class compliant UART interface 6 1 Block Diagram Tower Elevator Expansion Connectors 12C SPI ADC PWM UART
6. B11 SPI1_SCK J21 KL25 USB FLGA DEF OPEN PTE31 FTMO_CH4 IRDA SW1 6 3 IRDAJ OPEN PTE22 ADCO_DP3 ADCO_SE 3 UART2_TX SW1 5 4 CMPO INO OPEN PTE23 ADCO DM3 ADCO S E7A UART2 RN Potentiometer J1 POT 5K DEF 1 2 PTE29 ADCO_SE4B Accelerometer J24 SDA Accelerometer DEF 1 2 PTC11 I2C1 SDA Enable J23 SCL Accelerometer Enable DEF 1 2 PTC10 12C1_SCL J14 ACCELEROMETER INT1 DEF OPEN PTC5 LLWU_P9 SPIO_SCK C MPO OUT J15 ACCELEROMETER INT2 DEF OPEN PTC6 LLWU_P10 EXTRG_IN SPIO_MISO GPIO Header J11 1 PTE2O ADCO DPO ADCO SEO J11 2 PTE21 ADCO DMO ADCO SE4A J11 3 PTA1 TSIO_CH2 UARTO_R X J11 4 GND J11 5 SWD_DIO_TGTMCU J11 6 PTE31 FTMO_CH4 J11 7 PTB9 J11 8 PTA2 TSIO_CH3 UARTO_T X J11 9 PTB11 SP11_SCK J11 11 PTB10 SP1I1_PCSO J11 12 GND J11 13 PTC4 LLWU_P8 UART1_T X FTMO_CH3 J11 14 PTC3 LLWU_P7 UART1_R X FTMO_CH2 CLKOUT J11 15 PTC12 FTM_CLKINO TWRKL25ZUM TWR KL25Z Page 14 of 17 e E e freescale Module Board Name Options Signal Designator J11 16 PTC6 LLWU P10 EXTRG lI N SPIO MISO Jil 17 PTC16 J11 18 PTC13 FTM_CLKIN1 J11 19 GND J11 20 PTC17 LEDs J19 LED orange Enable DEF 1 2 PTA5 FTMO_CH2 J22 LED Yellow Enable DEF 1 2 PTA16 SW1 8 1 LED Green Enable OPEN PTA17 SW1 7 2 LED Red Enable OPEN PTB8 EXTRG_IN Push Buttons SW3 SW3 PTA4 PTA4 SW4 SW4 PTC3 PTC3 LLWU P7 UARTI RX FTMO CH2 CLKOUT TSI Electrodes Eleci Electrodel TSIO CH9 PTB16 TSIO CH9 UARTO R X Elec2 Electrode2
7. L EXTAL A 32 768 KHz crystal is connected to the RTC oscillator inputs by default TWRKL25ZUM TWR KL25Z Page 8 of 17 e E oz freescale 6 4 Svstem Power When installed into a Tower Svstem the TWR KL25Z can be powered from either an on board source or from another source in the assembled Tower Svstem In stand alone operation the main power source 5 0V for the TWR KL25Z module is derived from either the openSDA USB mini B connector or the MKL25Z128VLK4 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 MKL25Z128VLK4 can be selected to power the 3 3V bus All the user selectable options can be configured using two headers J3 and J8 6 5 Real Time Clock RTC Y500 is a 32 768 kHz clock connected to RTC_CLKIN By enabling the external clock option in the RTC it can be used as a highly precise time reference 6 6 Debug Interface There are two debug interface options provided the on board openSDA circuit and an external ARM SWD connector 6 6 1 OpenSDA An on board MK20 OpenSDA circuit provides an SWD debug interface to the KL25Z128 A standard USB A male to mini B male cable provided can be used for debugging via the USB connector J22 The OpenSDA interface also provides a USB to serial bridge 6 6 2 Cortex Debug SWD Connector The Cortex Debug SWD connector is a standard 2x5 pin 0 05 connec
8. button 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 potentiometer connected to an ADC input signal Refer to Table 5 I O Connectors and Pin Usage Table for information about which pins are connected to these features 6 11 Touch Interface The touch sensing input TSI module of the KL25Z128 MCU provides capacitive touch sensing detection with high sensitivity and enhanced robustness Each TSI pin implements the capacitive measurement of an electrode The TWR KL25Z 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 J2 that can accept Touch TWRPI daughter cards that may feature keypads rotary dials sliders etc TWRKL25ZUM TWR KL25Z Page 11 of 17 K freescale Table 4 Touch TWRPI socket pinout Pin Description P5V_TRG_USB V_BRD TSIO_CH9 3 3V VDDA TSIO_CH10 VSS Analog GND TSIO_CH11 TSIO_CH12 TSIO_CH13 TSIO_CHO TSIO_CH6 TSIO_CH7 TSIO_CH8 TSIO_CH1 TSIO_CH4 TSIO_CH3 ADC TWRPI ID O ADC TWRPI ID 1 GND Reset WO Did DD MW BB WI NM PR KA o LA LA KA N e w LA B KA U1 KA On KA N e DO KA VD N e 6 12 USB The KL25Z128 features a full speed lo
9. ce charge detect capability Communications 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 flow control RS485 ISO7816 and IrDA while the other two UARTS support RS232 with flow control and RS485 One Inter IC Sound 12S serial interface for audio system interfacing One DSPI module and one I2C module Reliability Safety and Memory protection unit provides memory protection for all masters on the Security cross bar switch increasing software 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 6 3 Clocking 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 XTA
10. d TWR KL25Z UM Rev 1 0 09 2012 TWRKL25ZUM TWR KL25Z Page 17 of 17
11. d G treescale TWR KL25Z Tower Module User Manual TWR KL25Z UM Rev 1 0 Freescale e E e freescale Table of Contents 1 TR E 3 ae 4 3 TWR KL25Z e 4 4 Getto Know the TW RZ indiaani sanag idsin 5 5 Reference e 6 G Hardware description d dk a 6 6 1 Blo k Dia ratti eme degkeet SEO EE EE EE A EEN EE A dee ah 6 6 2 Mieporontroller auto eeue eeng AER EEN H 63 Keel EE 8 o d svstem POwet iii ai i a a A A a a a 9 6 5 Real Time Clock REC iii etika eb ga ad ke da tra a a aaan 9 6 6 Debug Interface iii pa i ee 9 GO El RE 9 6 6 2 Cortex Debug SWD CONNGCtOP issir eta a a rected 9 b 7 MVE ATCO EE 10 6 8 Acceleromete iii ie g G sieved Bad ka e baka kal Spot FEDON taka bija sani ro 10 6 9 General Purpose Tower Plug in TWRPI Socket ENEE 10 6 10 Potentiometer Pushbuttons LEDS ENEE NENNEN 11 6 WM TOUCH MACH Fed CO iraa A se 11 6 12 USB iinei avid b pa chill aie dahil b p ara 12 7 TWR KL2Z5Z Jumper OpOMs sis cissiscsiiccsasnicesccscsnsaseensseneususesancaninsnscensusussnntneacuaiansusncndauntasusuenscanianoinen 13 8 Usef l RMS ii da da g d a a aaa Beak na aeaeaei 15 TWRKL25ZUM TWR KL25Z Page 2 of 17 e Ze Se freescale 1 TWR KL25Z The TWR KL25Z 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
12. tor providing an external debugger cable with access to the SWD interface of the KL25Z128 Table 2 Cortex Debug connector Pin Function TWR KL25Z Connection GND a Joor PTAO TSI0_CHI FTWO_CHS SWO_CIK e me 0 seo h wS oo e wS TWRKL25ZUM TWR KL25Z Page 9 of 17 A MU freescale 6 7 Infrared Port An infrared transmit and receive interface is implemented as shown in Figure 55 The UART2 TX pin directly drives an infrared diode The receiver uses an infrared phototransistor connected to UART2_RX 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 IrDA data stream S oo PES oo PTEZ2JADCO DP3 ADCO SE3 JART2 TX PTE23 ADCO DM3 ADCO SEZA UART2 FIX SW DIP 4 R538 1 54K R539 4_ RDA SEN o CMPo_INO 1 0K 1 k 3 g 0 1UF Intensity will be different between V_BRD 1 8V and 3 3V Figure 5 Infrared circuit 6 8 Accelerometer An MMA8451Q digital accelerometer is connected to the KL25Z128 MCU through I2C module I2C1 and GPIO IRQ signals PTCS and PTC6 The MMA84510 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 lo
13. w power mode during periods of inactivity For more information on the MMA84510 please visit the MMA8451Q Product Summary Page 6 9 General Purpose Tower Plug in TWRPI Socket The TWR KL25Z features a socket J4 and J5 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 TWRKL25ZUM TWR KL25Z Page 10 of 17 e Ze i freescale Table 3 General Purpose TWRPI socket pinout JA J5 Pin Description Pin Description 1 5V VCC 1 GND 2 3 3 VVCC 2 GND 3 GND 3 12C SCL 4 3 3V VDDA 4 12C 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 VSS Analog GND 11 SPI SS 12 ADC Analog 2 12 SPI CLK 13 VSS Analog GND 13 GND 14 VSS Analog GND 14 GND 15 GND 15 GPIO GPIOO IRQ 16 GND 16 GPIO GPIO1 IRQ 17 ADC TWRPI ID O 17 UARTO RX GPIO GPIO2 18 ADC TWRPIID 1 18 GPIO GPIO3 19 GND 19 GPIO GPIO4 Timer 20 Reset 20 UARTO_TX GPIO GPIO5 6 10 Potentiometer Pushbuttons LEDs The TWR KL25Z features two push
14. w speed USB module with OTG Host Device capability and built in transceiver The TWR KL25Z routes the USB D and D signals from the KL25Z128 MCU directly to the on board USB connector J13 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 KL25Z128 is operating in host mode TWRKL25ZUM TWR KL25Z Page 12 of 17 e E Go freescale 7 TWR KL25Z Jumper options The following is a list of all the jumper options The default installed jumper settings are shown in bold Note Default Configuration Board powered by OpenSDA USB RTC powered by V_BRD Jumper Jumper Signal Jumper Option designator V_BRD J7 V_BRD DEF 1 2 VBRD to MCU_PWR J9 VDDA_HDR DEF 1 2 VDDA to MCU_PWR VREG IN J8 VREG IN SELECTOR DEF 1 2 Regulator powered by SELECTOR OpenSDA USB 2 3 Regulator powered by tower elevator power BOARD J3 BOARD POWER SELECTION DEF 1 3 P3 3V_REG powers POWER V_BRD MCU_PWR SELECTION 3 5 1 8V powers VBRD MCU amp Interface circuit input power TWRKL25ZUM TWR KL25Z Page 13 of 17 d RU freescale Table 5 Connectors and Pin Usage Module Board Name Options Signal Designator USB J6 KL25 VOUT33 DEF OPEN MCU_PWR J18 KL25 USB VREGIN DEF OPEN PSV_VREGIN_K25 J20 KL25 USB ENA DEF OPEN PT
15. 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 KL25Z specific information and updates visit www freescale com TWR KL25Z Figure 1 Freescale Tower System Overview TWRKL25ZUM TWR KL25Z Page 3 of 17 e E oz freescale 2 Contents The TWR KL25Z contents include e TWR KL25Z board assembly e 3ft Ato mini B USB cable for debug interface and power e 3ft A to micro B USB cable for MKL25Z128VLK4 USB interface e Micro B to A adapter for MKL25Z128VLK4 USB Host applications e Quick Start Guide 3 TWR KL25Z Features e Tower compatible microcontroller module e MKL25Z128VLK4 MCU 48 MHz 128KB Flash 16 KB RAM Low power 80LQFP 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 MK20 openSDA serial debug interface with virtual serial port and mass storage device bootloader e Three axis accelerometer MMA8451Q e Four 4 user controllable LEDs e Two 2 capacitive touch pads e Two 2 user pushbutton switches e Infrared transmit and receive e Potentiometer for ADC measurements e GPIO header for prototyping TWRKL25ZUM TWR KL25Z Page 4 of 17 e Ze se Ps freescale 4 Getto Know the TWR KL25Z Touch TWRPI socket 3 3 1

Download Pdf Manuals

image

Related Search

Related Contents

SPX Cooling Technologies CS4000 User's Manual  Myair Toolkit for Model Evaluation User Guide  

Copyright © All rights reserved.
Failed to retrieve file