Home
Freescale FRDM-KL05Z User`s Manual
Contents
1. freescale N FRDM KL05Z User s Manual 2013 01 29 Rev 1 0 a wa a a ae TOCIL ILLL ee EJ L JS SBA n nu H B ITAG Freescale Semiconductor Inc FRDMKL25ZUM P ot OT freescale Table of Contents L OV VY ceacatar eect atta ete eee eae dee oe erated amet ee eee tans ace at sees soe cea eetleaet oc tenvatuetsssentseoceneaceteei 3 Z Relerence Documents 5 eisai ccc cathes cece ae serecn esc nsea EEEE 3 3 GONE SUE aaa ee Secs cece ences aaa sig onc eesti psc em recedes wats eeepc ct nen mee teen eee 3 4 FRDM KLO5Z Hardware OvervieW ssssssssssssssessnssesnessssessnsessnsessnecssessnsessneessnessssessnsnssneessnersesessnseesas 4 5 FRDM KLO5Z Hardware Description s sssnsunsnnnunnnnnnunnunnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnn 5 Sek OCT SUN OU eae cesc ce cecac nec ce eee seecasetecpe te tsned coe cctcs te cassc opaceeae euencd edeucqe tec seescetasgaetecesscspanescseseysyce qauestaneseseccateversenttcsrsaqceteste 5 5 2 Serial and Debug Adapter OpeNnSDA essssssssscssessesseseasscsssseseassesseneanessesseeanessesnestansesesneatessesseneaneseeseennaneeseeae 7 LD DUS TU Uae cate recta eves sa cece te eens E E cence ce eas nesta cence vee emcees eset E eceee 7 942 2 Virtual Serial 2 0 ie een an oe esa son Pane ee ae AEE EEEE o Eae Aea ee ee 8 so Wel SZ MICRO CO MEL OU E cayespecesctet E E sana nnc amano atnreTineniuns 8 SAO o ETOT a E A E E te er ere
2. GPIO ADC ARESET UART TX RX File System UART RX TX SELOLIO SWD JTAG Serial Terminal Application IDE Figure 4 OpenSDA High Level Block Diagram The OpenSDA circuit includes a status LED D1 and a pushbutton SW1 The pushbutton asserts the Reset signal to the KLO5Z target MCU It can also be used to place the OpenSDA circuit into Bootloader mode SPI and GPIO signals provide an interface to the SWD debug port of the KLO5Z Additionally signal connections are available to implement a UART serial channel The OpenSDA circuit receives power when the USB connector J2 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 KLO5Z These signals are also brought out to a standard 10 pin 0 05 Cortex Debug connector J1 It is possible to isolate the KLO5Z MCU from the OpenSDA circuit and use J1 to connect to an off board MCU To accomplish this cut the trace on the bottom side of the PCB that connects J6 pin 1 to J6 pin 2 This will disconnect the SWD_ CLK pin to the KLO5Z so that it will not interfere with the communications to an off board MCU connected to J1 FRDMKL25ZUM FRDM KLO5Z User s Manual Page 7 of 13 p ot OT freescale SWD CONNECTOR P3V3_MCU C lt gt gt PTAZ CMPO_OUT SWD_DIO 3 4 lt SWD_CLK PTAO 3 4 5 lt RST_TGTMCU 3 4 5 HDR 2X5 i DNP HDR 1X2 TH DNP There is a bottom layer trace shorting pin 1 t
3. Figure 1 FRDM KLO5Z Block Diagram FRDMKL25ZUM FRDM KLO5Z User s Manual Page 4 of 13 V x freescale RGB LED MKLO5Z 32QFN jesus eeeess ee ee ee ee EE OMe OS AA es C2 iti D Bi Se tgan t A On i i l Capacitive s i gt Touch Slider Reset peeeee OpenSDA Al MMA8451Q Figure 2 FRDM KLO5Z Feature Call outs 5 FRDM KLO5Z Hardware Description 5 1 Power Supply There are multiple power supply options on the FRDM KLOSZ It can be powered from the USB connector the Vin 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 Vn 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 Table 2 Power Supply Requirements OpenSDA Regulated on Valid R OpenSDA USB J2 Vin Pin EET A x 3 3V Pin 1 71 3 6V No No Coin Cell Battery 1 71 3 6V No No Note that the OpenSDA circuit is only operational when a USB cable is connected and supplying power to J2 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 FRDMKL25ZUM FRDM KLO5Z User s Manual Page 5 of 13 P ot OT freescale OPTIONAL COIN CELL an HOLD
4. U6 is a 3 3V output regulator However this is a common footprint that would allow the user to modify the assembly to utilize an alternative device such as a 1 8V or 2 5V regulator The KLO5Z microcontroller has an operating range of 1 71V to 3 6V 2 J4 and J5 are not populated by default The two pins of these headers are shorted together by a Oohm resistor on the top layer of the PCB To measure the energy consumption of either the KLO5Z or the OpenSDA MCU the resistor between these pins must first be removed A current probe or a shunt resistor and volt meter can then be applied to measure the energy consumption on these rails FRDMKL25ZUM FRDM KLO5Z User s Manual Page 6 of 13 e Po Po 7s freescale 5 2 Serial and Debug Adapter OpenSDA OpenSDA is an open standard 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
5. 5Z User s Manual Page 8 of 13 P ot OT freescale System oscillator supporting external crystal or resonator Low power 1kHz RC oscillator for RTC and COP watchdog e Analog peripherals 12 bit SAR ADC w DMA support 12 bit DAC w DMA support High speed comparator e Communication peripherals one 8 bit Serial Peripheral Interfaces SPI one IC modules One low power UART e Timers One 6 channel Timer PWM module one 2 channel Timer PWM modules 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 KLO 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 KLO5Z320n the FRDM KLOS5Z is clocked from a 32 768 kHz crystal 5 3 2 Serial Port The primary serial port interface signals are PTB1 and PTB2 These signals are connected to both the OpenSDA and tol O connector J8 5 3 3 Reset The PTA20 RESET signal on the KLO5Z32 is connected to pushbutton SW1 and 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 th
6. ER a PWO_USESER N De f BATHIC PoVO 0_ YIN Ug Cis 10uF M NCP1T1175THTIG TP15 Pav BATT Cid 10uF a Paw py Do BATS46 AARNE RIEAN N SERTAR IEN AAN RAR NEREA RAAR AN APER ANARA KARRAR RARRAR AN ARE RANNANE RRAN ERN y Figure 3 Power Supply Schematic Table 3 FRDM KLO5Z Power Supplies Ja DNF HDR 1x2 TH Eud Pa S_MGU k J5 DNF HDR 2 TH cid Pa 3_USBSER jn Power Supply Name P5 9V_VIN Power supplied from the Vin pin of the I O headers J9 pin 8 Power supplied from the OpenSDA USB connector J2 A Schottky P5V_SDA diode provides back drive protection Regulated 3 3V supply Sources power to the P3V3 supply rail P3V3_VREG through a back drive protection Schottky diode Coin cell battery supply voltage Sources power to the P3V3 supply P3V3_BATT P3V3 rail through a back drive protection Schottky diode Main supply rail for the FRDM KLO5Z assembly May be sourced from P3V3_VREG P3V3_ BATT or directly from the I O headers J9 pin 2 KLOSZ MCU supply Header J4 provides a convenient means for P3V3_ MCU 2 energy consumption measurements OpenSDA circuit supply Header J5 provides a convenient means for P3V3_USBSER 2 energy consumption measurements Nominal 5V supplied to the I O headers J9 pin 5 Sourced from P5V_USB NOTES P5V_SDA supply through a back drive protection Schottky diode 1 By default the linear regulator
7. MKL25ZUM FRDM KLO5Z User s Manual Page 11 of 13 e Po Z freescale 5 8 Arduino Compatibility The I O headers on the FRDM KL05Z are arranged to allow compatibility with peripheral boards known as shields that connect to Arduino and Arduino compatible microcontroller boards The headers share the same mechanical spacing and placement as the I O headers on the Arduino Revision 3 R3 standard Not Used IOREF RESET 3 3V 5V GND GND Vin AO A1 A2 A3 A4 A5 SDA_PTD5 P3V3 RESET PTA1 P3V3 P5V_USB GND GND P5 9V_VIN PTB8 PTB9 PTA8 PTAO PTAS PTB13 1 3 4 5 6 T 8 4 2 3 4 5 6 2 Yy 1s i C E E E E KLO5Z Signals Arduino R3 signals 10 PTB3 9 PTB4 8 VREFH T GND 6 PTBO 5 PTA6 4 PTAT 3 PTA5 2 PTB11 1 PTB10 8 PTB7 T PTB6 6 PTA12 5 PTA10 4 PTB5 3 PTA11 2 PTB1 1 PTB2 Refer to the FRDM KLO5Z Pinouts spreadsheet for a compatibility chart showing how all the functions of the KLO5Z signals on the I O connectors map to the pin functions available on the Arduino Uno R3 FRDMKL25ZUM FRDM KLO5Z User s Manual Page 12 of 13 Z 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 desig
8. SER MMA8451_ BYP 2 MMA8451Q si DNP C19 2 R23 0 1UF 10K TP25 Y R24 Figure 6 MMA8451Q Schematic Diagram 5 6 RGB LED Three PWM capable signals are connected to a red green blue LED D4 The signal connections are shown in Table 5 below Table 5 RGB LED Signal Connections RGB LED KLO5Z32 Red Cathode PTB8 Green Cathode PTB9 Blue Cathode PTB10 FRDMKL25ZUM FRDM KLO5Z User s Manual Page 10 of 13 e Po Z freescale RGB LED FEATURE TP17 3 5 ADCO SE11 PTBa FTMO_CH3 KCS NA ADCO SE10 PTRO FTMO CH2 3 5 J ADCO SE9 TSIO IN7 PTB1OFTMO CH1 3 5 CLV1A FKB CJ1M1F1BB7R4S3 Figure 7 RGB LED Schematic Diagram 5 7 Input Output Connectors The MKLO5Z32VFM4 microcontroller is packaged in a 32 pin QFN Some pins are utilized in on board circuitry but many are directly connected to one of four I O headers The I O connector pin names are given the same name as the KLO5Z GPIO pin name connected to it where applicable rye 10 PTB3 mar 9 PTB4 JE 8 VREFH f E T GND SDA_PTD5 i i 6 PTBO P3V3 CHi 5 PTAG RESET PTA1 Bal 4 PTA7 P3V3 Ei 3 PTA5 P5V_USB Ki 2 PTB11 GND Be 1 PTB10 GND PE Pel 2 pPTB7 P5 9V_VIN J 7 PTB6 PTBS q E 6 PTA12 PTB9 5 PTA10 PTAS F CH 4 PTB5 PTAO im gt PTA11 PTA9 e 2 PTB1 PTB13 at m S 1 PTB2 Note that all pinout data is available in soreadsheet format in FRDM KLO5Z Pinouts See the Reference Documents section for details FRD
9. a capacitive touch slider The FRDM KLO5Z also features 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 KLO5Z hardware All of these documents are available online at www freescale com FRDM KLO5Z Table 1 FRDM KLO5Z Reference Documents Filename Description Quick Start Guide and supporting files for getting started with the FRDM KLO5Z This document overview and detailed information for the FRDM KLO5Z hardware FRDM KLO5Z Quick Start Package FRDM KLO5Z User s Manual Spreadsheet of pin connections for all MCU pins Includes FRDM KLO5Z Pinouts pinout for the I O headers Arduino R3 compatibility chart and OpenSDA MCU pinout FRDM KLO5Z Schematics PDF schematics for the FRDM KLO5Z hardware Zip file containing all design source files for the FRDM KLO5Z FRDM KLO5Z Design Pack 05Z Design Package ranae Overview and instructions for use of the OpenSDA embedded DA OpenSDA User s Guide debuscircuit 3 Getting Started Refer to the FRDM KLO5Z Quick Start Package for step by step instructions for getting started with the FRDM KLO5Z See the Jump Start Your Design section onwww freescale com FRDM KLO5Z for the Quick Start Package and software lab guides FRDMKL25ZUM FRDM KLO5Z User s Ma
10. e OpenSDA circuit into bootloader mode Please refer to section 5 2 Serial and Debug Adapter OpenSDA for more details 5 3 4 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 KLO5Z is the onboard OpenSDA circuit see section 5 2 However an unpopulated 10 pin 0 05 Cortex Debug connector J1 provides access to the SWD signals The Samtec FTSH 105 02 F D or compatible connectors can be added to the J1 through hole debug connector to allow for an external debug cable to be connected FRDMKL25ZUM FRDM KLO5Z User s Manual Page 9 of 13 P ot OT freescale 5 4 Capacitive Touch Slider Two Touch Sense Input TSI signals TSIO CH8and TSIO_CH9 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 I C bus and two GPIO signals as shown in Table 4 below By default the I7C address is 0x1D SAO pulled high Table 4 Accelerometer Signal Connections MMA8451Q KLO5Z32 SCL PTB3 SDA PTB4 INT1 NC INT2 PTA10 P3V3 P3V3 P3V3 R21 R22 4 7K 4 7K 4 3 5 PTBYIRQ 1412C0 SCL UARTO_TX os ig ip aa PTB4 IRQ_15 LLWU P l2Co SDA UARTO RX S X p TP24 R26 4 0 NXTSIO IN11 PTA10 IRQ 12 3 5 P3V3_USB
11. eNet 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 Z freescale Freescale Semiconductor Inc 2012 All rights reserved FRDMKL25ZUM Rev 0 90 2013 01 29 FRDM KLO5Z User s Manual Page 13 of 13
12. eee ee en a eee een 9 Se ag 5 oF Ie eg 3 ee eee et nee et eee ee ee ee ee eee 9 Ty Ne ES A A cere ccnp css tec sce eae caec sccm ec ava ccm ec wees E ce cto nce nue E eee 9 ieee MES 0 11 AANA EA AANA A A A NAAN EAA 9 SA4 Capaciuve Touch SAET risana aE aaa aia aaaea aE E aa E AEE EA ai 10 Dye ACCOLTO mete E easa E AA AA 10 SOROPE a D ciee E E E A naeeteszueveetsaanstetevacseies 10 3 7 WOU Quipu COT COLON S sienna Eara aeaa VEEE OE EEA D naana Naa DaN E aaae Oaa raaraa 11 SOATU GOWN a CULT e a E E E an O E TEE 12 FRDMKL25ZUM FRDM KLO5Z User s Manual Page 2 of 13 P ot OT 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 KLO5Z hardware FRDM KLOSZ 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 KLO5Z can be used to evaluate the KLO4 and KLO5 Kinetis L series devices It features a MKLO5Z32VFM4 a KLO family device boasting a max operating frequency of 48MHz 32KB of flash and a multitude of analog and digital peripherals The FRDM KLO5Z 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
13. n 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 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 Cor
14. nual Page 3 of 13 P e e Po Po 7s freescale 4 FRDM KLO5Z Hardware Overview The FRDM KLO5Z includes MKLO5Z32VFM4 in a 32 QFN package Capacitive touch slider MMA8451Q accelerometer Tri color RGB LED Flexible power supply options USB coin cell battery external source Battery ready power measurement access points Easy access to MCU I O via Arduino R3 compatible I O connectors Programmable OpenSDA debug interface with multiple applications available including Mass storage device flash programming interface P amp E Debug interface which 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 KLO5Z design The primary components and their placement on the hardware assembly are pointed out in Figure 2 I O Header sy Vin 3 3V A 3 3V LDO crane I O B PWM x3 P PARAE AREA ETIEN KARES ARA ENAERE PEREA ONEN AARET B q O o i Mini B USB UART Y USB D D i PI GPIO gt SWD 2 0 aopn i Debug RESET D q O k i 8 MHz An 32 768 Khz a O 12C GPIO a 10 pin OpenSDA Debug Inertial EA T NE E E T Se r Sensor y I O Header Indicates optional items that will not be populated by default
15. o pin 2 of jumper Figure 5 SWD Debug Connector Note that J1 is not populated by default A Samtec FTSH 105 02 F D or compatible connector can be added to the J1 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 KLO5Z to an off board SWD connector 5 2 2 Virtual Serial Port A serial port connection is available between the OpenSDA MCU and the KLO5Z through pins PTB1 and PTB2 Several of the default OpenSDA Applications provided by Freescale including the MSD Flash Programmer and the P amp E Debug Application provide a USB Communications Device Class CDC interface that bridges serial communications between the USB host and this serial interface on the KLO5Z 5 3 KLO5Z Microcontroller The target microcontroller of the FRDM KLO5Z is the MKLO5Z32VFM4 a Kinetis L series device in a 32 QFN package The KLO5Z MCU features include e 32 bit ARM Cortex M0 core up to 48 MHz operation Single cycle fast I O access port e Memories 32 KB flash 4KB SRAM 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 for system and CPU clock generation 4 MHz and 32 kHz internal reference clock FRDMKL25ZUM FRDM KLO
Download Pdf Manuals
Related Search
Related Contents
KX-HJC200(設定ガイド) (2.11 MB/PDF) Ektron CMS400.NET Developer Reference Manual la synthèse sur la solution AwoO Sport TNo.023/TB-814 パワーリハビリSPL Service Service Service AMFLO® SONIC DryX Research Data Store User Guide HP 39.62 cm (15.6") Spectrum Red Sleeve EXHIBITOR EMAIL MARKETING OFFER (FREE!) Sonda contínua para sensores DGMA Copyright © All rights reserved.
Failed to retrieve file