Home

FRDM-KL25Z User`s Manual

image

Contents

1. TSI Touch Pad Slider I2C GPIO IM re RT Te Deiere Indicates optional items that will not be populated by default Figure 1 FRDM KL25Z Block Diagram FRDMKL25ZUM FRDM KL25Z User s Manual Page 4 of 14 e Po oe es freescale KL25Z 80 LQFP J1 I O Header J2 I O Header Reset ke a 02 go 2 e H mo KL25Z USB a m 2012 FREESCALE P yi 4 Ci8ele i Aa Lihi O 4 rge R12 oS Son iz eae Se II es 4 wm ke s sma sha DS O by Capacitive d Touch Slider o N e aie E sx J10 I O ir 9e Header z oo E eed RGB LED CHE E mai TT J9 I O SF na Header il E TALL SE CRW MMA8451Q a 3 zee s Jee AB OpenSDA Figure 2 FRDM KL25Z Feature Call outs 5 FRDM KL25Z Hardware Description 5 1 Power Supply There are multiple power supply options on the FRDM KL25Z It can be powered from either of the USB connectors the Vix pin on the I O header an on board coin cell battery or an off board 1 71 3 6V supply from the 3 3V pin on the I O header The USB and Vi supplies are regulated on board using a 3 3V linear regulator to produce the main power supply The other two sources are not regulated on board Table 2 provides the operational details and requirements for the power supplies FRDMKL25ZUM Table 2 Power Supply Requirements OpenSDA Regulated on 5V Yes Yes Open
2. 18 0117 PTD6 PTEO 20 Ela PTD7 PTE30 E PTE29 9 PTE23 7 PTE22 5 PTE21 3 6 PTE20 1k Note that all pinout data is available in spreadsheet format in FRDM KL25Z Pinouts See the Reference Documents section for details 5 8 Arduino Compatibility The I O headers on the FRDM KL25Z are arranged to allow compatibility with peripheral boards known as shields that connect to Arduino and Arduino compatible microcontroller boards The outer rows of pins the even numbered pins on the headers share the same mechanical spacing and placement as the I O headers on the Arduino Revision 3 R3 standard FRDMKL25ZUM FRDM KL25Z User s Manual Page 12 of 14 e Ze Ze 7s freescale Not Used SDA PTD5 2 Jf Fr 1 PTB8 IOREF P3V3 4 KY Ni 3 PTB9 RESET RESET 6 KU 5 PIB10 3 3V P3V3 8 MAG 7 PIB11 5V P5V USB 10jkA JI 9 PTE2 GND GND 120 4111 PTE3 GND GND 14fed 13 PTE4 Vin P5 9V VIN 16 fka 15 PTES A0 PTB0 2 IER 1 PTE20 A1 PTB1 4 WT 3 PTE21 A2 PTB2 6 KAN 5 PTE22 A3 PTB3 8 KAJ 7 PTE23 A4 PTC2 10 KAd 9 PTE29 A5 PTC1 12 died 1 PTE30 PTD7 I a e PTC13 3 kb KL25Z Signals Arduino R3 Signals DC SCL GC SDA AREF GND D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO Refer to the FRDM KL25Z Pinouts spreadsheet for a compatibility chart showing how all the functions of the KL257 signals on the I O connectors map to the pin functions available
3. 2 channel Periodic Interrupt Timer PIT Real time clock RTC Low power Timer LPT System tick timer e Human Machine Interfaces HMI General purpose input output controller Capacitive touch sense input interface hardware module 5 3 1 Clock Source The Kinetis KL2 microcontrollers feature an on chip oscillator compatible with three ranges of input crystal or resonator frequencies 32 40 kHz low freq mode 3 8 MHz high freq mode low range and 8 32 MHz high freq mode high range The KL257128 on the FRDM KL25Z is clocked from an 8 MHz crystal 5 3 2 USB Interface The Kinetis KL2 microcontrollers feature a dual role USB controller with on chip full speed and low speed transceivers The USB interface on the FRDM KL25Z is configured as a full speed USB device J5 is the USB connector for this interface 5 3 3 Serial Port The primary serial port interface signals are PTA1 and PTA2 These signals are connected to both the OpenSDA and to the J1 I O connector 5 3 4 Reset The PTA20 RESET signal on the KL257128 is connected externally to a pushbutton SW1 and also to the OpenSDA circuit The reset button can be used to force an external reset event in the target MCU The reset button can also be used to force the OpenSDA circuit into bootloader mode Please refer to section 5 2 Serial and Debug Adapter OpenSDA for more details FRDMKL25ZUM FRDM KL25Z User s Manual Page 9 of 14 P ot Ps 7 freesca
4. The signal connections are shown in Table 5 below FRDMKL25ZUM FRDM KL25Z User s Manual Page 10 of 14 P ot Pj 7 freescale Table 5 RGB LED Signal Connections RGB LED KL252Z128 Red Cathode PTB18 Green Cathode PTB19 Blue Cathode PTD1 NOTE 1 PTD1 is also connected to the I O header on J2 pin 10 also known as D13 RGB LED FEATURE TP14 TP13 D3 PTB18 28 LEDRGB RED 1 9 pa 4 ILEDRGB GREEN R7 PTB19 Tv M20 P3V3 eT ig Tv M20 2 ci LS LEDRGB BLUE Ri en ons TP17 CLV1A FKB CJ1M1F1BB7R4S3 Figure 7 RGB LED Schematic Diagram 5 7 Input Output Connectors The KL25Z128VLK4 microcontroller is packaged in an 80 pin LQFP Some pins are utilized in on board circuitry but many are directly connected to one of four I O headers The pins on the KL25Z microcontroller are named for their general purpose input output port pin function For example the 1 pin on Port A is referred to as PTA1 The I O connector pin names are given the same name as the KL25Z pin connected to it where applicable FRDMKL25ZUM FRDM KL25Z User s Manual Page 11 of 14 A VREFH 16 freescale PTA1 2 0 erc PTA2 4 0113 PTCO PTD4 6 8115 erc PTA12 8 CXV PTC4 PTA4 10 CEO PICS PTAS 12 CX J 11 PTC6 PTC8 14 e e Eau PTC9 16 915 PTC11 PTA13 2211 PTC12 PTD5 4 EW R3 PTC13 PTDO es PTCI6 PTD2 8 M7 PTC17 PTD3 10 EE We PTA16 PTD1 12 EE 11 PTAI7 GND 14 EH PTE31 KJ i5 NC PTE1
5. serial and debug adapter 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 microcontroller MCU with 128 KB of embedded flash and an integrated USB controller OpenSDA features a mass storage device MSD bootloader which provides a quick and easy mechanism for loading different OpenSDA Applications such as flash programmers run control debug interfaces serial to USB converters and more Refer to the OpenSDA User s Guide for more details OpenSDA OpenSDA MCU K20DX128Vxx5 USB Host MSD Bootloader Target Processor GPIO ADC RESET IDE UART TX RX File System UART RX TX SWD JTAG Serial Terminal Application Figure 4 OpenSDA High Level Block Diagram OpenSDA is managed by a Kinetis K20 MCU built on the ARM Cortex M4 core The OpenSDA circuit includes a status LED D4 and a pushbutton SW1 The pushbutton asserts the Reset signal to the KL25Z target MCU It can also be used to place the OpenSDA circuit into Bootloader mode SPI and GPIO signals provide an interface to either the SWD debug port of the KL25Z Additionally signal connections are available to implement a UART serial channel The OpenSDA circuit receives power when the USB connector J7 is plugged into a USB host 5 2 1 Debug Interface Signals with SPI and GPIO capability are used to connect directly to the SWD of the KL25Z The
6. SDA USB J7 KL25Z USB J5 Vin Pin 3 3V Pin Coin Cell Battery 5V 4 3 9V 1 71 3 6V 1 71 3 6V No No No No Yes Yes No No FRDM KL25Z User s Manual Page 5 of 14 Pa ot Pj freescale Note that the OpenSDA circuit is only operational when a USB cable is connected and supplying power to J7 However protection circuitry is in place to allow multiple sources to be powered at once Figure 3 shows the schematic drawing for the power supply inputs and the on board voltage regulator P5 9V_VIN P5V_SDA C T tour GND OPTIONAL TP8 COIN CELL HOLDER g 3 2 iP3V3 BATT E C1 GND 4 10uF SHORTING HEADER 3003 P3V3 ON BOTTOM LAYER HDR 1X2 TH _ 2 Ce P7 BAT54C TP7 U1 3 3 2 P3V3 VREG 1 DNP VIN e VOUT al Z 4 O TAB ou BAT54C NCP1117ST33T3G aiinnvem even _ f 29MOhm Resistor in layout SHORTING HEADER ON BOTTOM LAYER P3V3_ SDA HDR 1X2 TH J3 QQ DNP Figure 3 Power Supply Schematic Table 3 FRDM KL25Z Power Supplies Power Supply Name P5 9V_VIN P5V_SDA P5V_KL25Z P3V3 VREG P3V3 BATT P3V3 P3V3 KL257 P3V3 SDA PSV USB NOTES Power supplied from the Vin pin of the I O headers J9 pin 16 Power supplied from the OpenSDA USB connector J7 A Schottky diode provides back drive protection Power supplied from the KL25Z USB connector J5 A Schottky diode provides back drive protection Regulated 3 3V supply Sources power to the P3V3 supply rail throu
7. e Ze N freescale A Es FRDM KL25Z User s Manual 4 Dec GI TH MLL LL TTT x PULE ITA d ff nea L 2 ima d FRDMKL25ZUM Freescale Semiconductor Inc P ot Ps 7 freescale Table of Contents E at 3 Z Relerence Documents EE 3 3 GENE EE 3 4 FRDM KL25Z Hardware OvervieW ssssssssssssssssssssssnessssessnsessnsessnecsssessnsessnsessneesssessnsessneessnessesessnsaesas 4 5 FRDM KL25Z Hardware Descripti0nu aa 5 3 Nee 5 5 2 Serial and Debug Adapter Open SDA luuumumauananaananawawanaanawanananaaasananaasasasananaanasananasnananannnannnnannnnn 7 al DANE AA AA AA 7 5 2 2 Virtual Serial POT Cs E 8 SINO NG DCO ege 8 SARE Tee 9 REN het e e 9 AG AA 9 SE AR RAYA RA RA E ARR AN 9 o AA E E 10 aye CaP VEe bou NO AA E 10 Dia AK ACC TOE E e AG AGA A 10 SC ROD AA AA 10 7 HECKER 11 EE 12 FRDMKL25ZUM FRDM KL25Z User s Manual Page 2 of 14 P ot Ps 7 freescale 1 Overview The Freescale Freedom development platform is a set of software and hardware tools for evaluation and development It is ideal for rapid prototyping of microcontroller based applications The Freescale Freedom KL257 hardware FRDM KL25Z is a simple yet sophisticated design featuring a Kinetis L series microcontroller the industry s first microcontroller built on the ARM Cortex MO core FRDM KL25Z can be used to evaluate the KL1 and KL2 Kinetis L series devices It features a KL257128VLK a KL2 family device boa
8. gh a back drive protection Schottky diode Coin cell battery supply voltage Sources power to the P3V3 supply rail through a back drive protection Schottky diode Main supply rail for the FRDM KL25Z assembly May be sourced from P3V3 VREG P3V3 BATT or directly from the I O headers J9 pin 8 KL25Z MCU supply Header J4 provides a convenient means for energy consumption measurements 7 OpenSDA circuit supply Header J3 provides a convenient means for energy consumption measurements 7 Nominal 5V supplied to the I O headers J9 pin 10 Sourced from either the PSV_KL25Z or P5V OSDA supply through a back drive protection Schottky diode 1 By default the linear regulator U1 is a 3 3V output regulator However this is a common footprint that would allow the user to modify the assembly to utilize an FRDMKL25ZUM FRDM KL25Z User s Manual Page 6 of 14 P ot Ps 7 freescale alternative device such as a 1 8V or 2 5V regulator The KL257 microcontroller has an operating range of 1 71V to 3 6V 2 J3 and J4 are not populated by default The two pins of these headers are shorted together by a trace on the bottom layer of the PCB To measure the energy consumption of either the KL257 or the OpenSDA MCU the trace between these pins must first be cut A current probe or a shunt resistor and voltage meter can then be applied to measure the energy consumption on these rails 5 2 Serial and Debug Adapter OpenSDA OpenSDA is an open standard
9. le 5 3 5 Debug The sole debug interface on all Kinetis L Series devices is a Serial Wire Debug SWD port The primary controller of this interface on the FRDM KL25Z is the onboard OpenSDA circuit see section 5 2 However an unpopulated 10 pin 0 05 Cortex Debug connector J6 provides access to the SWD signals The Samtec FTSH 105 02 F D or compatible connectors can be added to the J6 through hole debug connector to allow for an external debug cable to be connected 5 4 Capacitive Touch Slider Two Touch Sense Input TSI signals TSI0 CH9 and TSIO CH10 are connected to capacitive electrodes configured as a touch slider Freescale s Touch Sense Software TSS provides a software library for implementing the capacitive touch slider 5 5 3 axis Accelerometer A Freescale MMA8451Q low power three axis accelerometer is interfaced through an FC bus and two GPIO signals as shown in Table 4 below By default the 1 C address is Ox1D SAO pulled high Table 4 Accelerometer Signal Connections MMA8451Q KL25Z128 SCL PTE24 SDA PTE25 INT1 PTA14 INT2 PTA15 P3V3 P3V3 T up L T to R16 R18 GND GND 4 7K 4 7K P3V3 14 U7 4 e pg 3 I2CO SCL S g t f e SCL a pg 3 12C0 SDA SDA TP26 MMA8451 SERIAL ADDRO 7 TP23 MMA8451 BYP 2 11 INT1 ACCEL INT2 ACCEL gt R22 10K C22 DNP owr GND Figure 6 MMA8451Q Schematic Diagram 5 6 RGB LED Three PWM capable signals are connected to a red green blue LED D3
10. 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 PowerQUICC 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 e Po freescale Freescale Semiconductor Inc 2012 All rights reserved FRDMKL25ZUM Rev 0 90 2012 09 24 FRDM KL25Z User s Manual Page 14 of 14
11. on the Arduino Uno R3 FRDMKL25ZUM FRDM KL25Z User s Manual Page 13 of 14 freescale How to Reach Us Home Page freescale com Web Support freescale com support FRDMKL25ZUM 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 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 http www reg
12. se signals are also brought out to a standard 10 pin 0 05 Cortex Debug connector J6 It is possible to isolate the KL25Z MCU from the OpenSDA circuit and use J6 to connect to an off board MCU To FRDMKL25ZUM FRDM KL25Z User s Manual Page 7 of 14 Pa ot Pj 7 freescale accomplish this cut the trace on the bottom side of the PCB that connects J11 pin 1 to J11 pin 2 This will disconnect the SWD CLK pin to the KL25Z so that it will not interfere with the communications to an off board MCU connected to J6 SWD CONNECTOR SHORTING HEADER ON BOTTOM LAYER Jumper is shorted by a cut trace on bottom layer Cutting the trace will effectively isolate the on board MCU from the Opens5DA pg 3 4 SWD DIO TGTMCU lt lt gt gt debug interface i ma DNP Z TS KL25 SWD_CLK rom HDR1X2TH Y 16 KSWD CLK TGTMCU pg 4 CRST TGTMCU pg 3 4 5 GND Figure 5 SWD Debug Connector Note that J6 is not populated by default A Samtec FTSH 105 02 F D or compatible connector can be added to the J6 through hole connector A mating cable such as a Samtec FFSD IDC cable can then be used to connect from the OpenSDA of the FRDM KL25Z to an off board SWD connector 5 2 2 Virtual Serial Port A serial port connection is available between the OpenSDA MCU and pins PTA1 and PTA2 of the KL257 Several of the default OpenSDA Applications provided by Freescale including the MSD Flash Programmer and the P amp E Debug Application provide a USB Comm
13. sting a max operating frequency of 48MHz 128KB of flash a full speed USB controller and loads of analog and digital peripherals The FRDM KL25Z hardware is form factor compatible with the Arduino R3 pin layout providing a broad range of expansion board options The on board interfaces include an RGB LED a 3 axis digital accelerometer and a capacitive touch slider The FRDM KL25Z is the first hardware platform to feature the Freescale open standard embedded serial and debug adapter known as OpenSDA This circuit offers several options for serial communications flash programming and run control debugging 2 Reference Documents The table below provides a list of reference documents for the FRDM KL25Z hardware All of these documents are available online at www freescale com FRDM KL25Z Table 1 FRDM KL25Z Reference Documents Filename Description Quick Start Guide and supporting files for getting started with the FRDM KL257 This document overview and detailed information for the FRDM KL25Z hardware Spreadsheet of pin connections for all MCU pins Includes FRDM KL25Z Quick Start Package FRDM KL25Z User s Manual FRDM KL25Z Pinouts pinout for the I O headers Arduino R3 compatibility chart and OpenSDA MCU pinout FRDM KL25Z Schematics PDF schematics for the FRDM KL25Z hardware Zip file containing all design source files for the FRDM KL25Z FRDM KL25Z Design Pack 5Z Design Package Beschte Overview and instr
14. uctions for use of the OpenSDA embedded DA f OpenSDA User s Guide denue creu 3 Getting Started Refer to the FRDM KL25Z Quick Start Package for step by step instructions for getting started with the FRDM KL25Z See the Jump Start Your Design section onwww freescale com FRDM KL25Z for the Quick Start Package and software lab guides FRDMKL25ZUM FRDM KL25Z User s Manual Page 3 of 14 e Po Z freescale 4 FRDM KL25Z Hardware Overview The features of the FRDM KL25Z include e MKL25Z128VLK4 in an 80 LQFP package e Capacitive touch slider e MMA8451Q accelerometer e Tri color RGB LED e Flexible power supply options USB coin cell battery external source e Battery ready power measurement access points e Easy access to MCU I O via Arduino R3 compatible I O connectors e Programmable OpenSDA debug interface with multiple applications available including Mass storage device flash programming interface P amp E Debug interface provides run control debugging and compatibility with IDE tools CMSIS DAP interface new ARM standard for embedded debug interface Data logging application Figure 1 shows a block diagram of the FRDM KL25Z design The primary components and their placement on the hardware assembly are pointed out in Figure 2 UO Header W a PWM x3 PI GPIO gt SWD ij RESET i Pas e D Flash UT E tg OpenSDA H Inertial CELGCU SOE OOS CPO CUS CCC Oe EE NINE e Sensor UO Header
15. unications Device Class CDC interface that bridges serial communications between the USB host and this serial interface on the KL257 5 3 KL257Z Microcontroller The target microcontroller of the FRDM KL25Z is the KL25Z128VLK4 a Kinetis L series device in an 80 LQFP package The KL25Z MCU features include e 32 bit ARM Cortex MO core up to 48 MHz operation Single cycle fast I O access port e Memories 128 KB flash 16KBSRAM e System integration Power management and mode controllers Low leakage wakeup unit Bit manipulation engine for read modify write peripheral operations Direct memory access DMA controller Computer operating properly COP Watchdog timer e Clocks Clock generation module with FLL and PLL for system and CPU clock generation FRDMKL25ZUM FRDM KL25Z User s Manual Page 8 of 14 P ot Ps 7 freescale 4 MHz and 32 kHz internal reference clock System oscillator supporting external crystal or resonator Low power 1kHz RC oscillator for RTC and COP watchdog e Analog peripherals 16 bit SAR ADC w DMA support 12 bit DAC w DMA support High speed comparator e Communication peripherals Two 8 bit Serial Peripheral Interfaces SPI USB dual role controller with built in FS LS transceiver USB voltage regulator Two IC modules One low power UART and two standard UART modules e Timers One 6 channel Timer PWM module Two 2 channel Timer PWM modules

Download Pdf Manuals

image

Related Search

Related Contents

USER MANUAL - Electrocomponents  HUM-xxx-PRO Data Guide  Remote control and programming unit RCC-02 and  IOP EQP 02 - Servicio Integrado de Prevención de Riesgos Laborales  Gigabyte GA-MA770-US3 motherboard  Instrucciones  parts catalogue news  ÉhÉâÉtÉg 10/16/08 - Agilent Technologies  Kingston Technology HyperX Siberia v2  VISIR Operational Manual  

Copyright © All rights reserved.
Failed to retrieve file