Home
FRDM-KL02Z User Manual - Freescale Semiconductor
Contents
1. N 2 freescale FRDM KLO2Z User Manual Rev 0 Freescale Semiconductor Inc FRDMKLO2ZUM Sy freescale 1 Overview The Freescale Freedom development platform is an evaluation and development tool ideal for rapid prototyping of microcontroller based applications The hardware design is form factor compatible with popular third party hardware designed to work with Arduino and Arduino compatible boards The Freescale Freedom KLO2Z hardware is a simple yet sophisticated design featuring a Kinetis L Series microcontroller the industry s first microcontroller built on the ARM Cortex MO core The KLO2Z32VFMA is the featured microcontroller on the FRDM KLO2Z The specifications of the KLO2Z32 and the flexible design of the FRDM KLO2Z enable a wide variety of design prototypes including those dependent on battery power or harvested energy The FRDM KLO2Z is the first hardware platform to feature the Freescale open standard embedded serial and debug adapter known as OpenSDA This circuit offers the user several options for serial communications flash programming and run control debugging There are also many software development tool options available to the user Choices include CodeWarrior for Microcontrollers IAR Embedded Workbench Keil MDK featuring the pVision IDE Atollic TrueSTUDIO Rowley Crossworks and more All of these features combine to give the user the freedoms needed to rapidly prototype many embe
2. FRDM KLO2Z Feature Call outs The target MCU featured on the FRDM KL02Z is a Kinetis L Series KLO family device the KLO2Z32VFM4 Features of the KLO2Z32VFMA target MCU include e 32 bit ARM Cortex MO 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 Computer operating properly COP Watchdog timer e Clocks FRDMKLO2ZUM FRDM KLO2Z User Manual Page 4 of 12 oe freescale Clock generation module with FLL for system and CPU clock generation 4 MHz and 32 kHz internal reference clock System oscillator supporting external crystal or resonator Low power 1kHz RC oscillator for COP watchdog e Analog peripherals High speed comparator e Communication peripherals One 8 bit Serial Peripheral Interfaces SPI Two I C modules One low power UART e Timers Two 2 channel Timer PWM modules Low power Timer LPT System tick timer e Human Machine Interfaces HMI General purpose input output controller 5 FRDM KLOZZ Hardware Description 5 1 Power Supply The FRDM KLO2Z offers a design with multiple power supply options 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 3
3. LED 3 Slide Up to Lock Sliding your finger up along the TSS Pad E1 from 1 to 2 will unlock the tilt functionality of the demo and the LED will only display the default color This example demo can be restored using the OpenSDA MSD application documented later in this User Manual 4 FRDM KLO02Z Hardware Overview The FRDM KLO2Z is a microcontroller development board based on the Freescale Freedom platform featuring the following e KinetisL Series KLO2 family MCU in an 32QFN package e 1 O headers for easy access to MCU I O pins e Freescale 3 axis accelerometer sensor MMA8451Q e Capacitive touch slider using GPIO method based on TSS lib e Reset pushbutton e RGBLED e On board serial and debug adapter OpenSDA Figure 1 shows a block diagram of the FRDM KLO2Z design I O Header 3 3V LDO RS BEREE EEEE SEN a Ke WW USB p USB D D Oo G A 10 pin B Debug B O 32 768 Khz 12C GPIO OpenSDA i Debug Inertial H H km d Sensor I O Header Indicates optional items that will not be populated by default FRDMKLO2ZUM FRDM KLO2Z User Manual Page 3 of 12 Po Pos I freescale Figure 1 FRDM KLO2Z Block Diagram J7 J8 I O Header KLO2Z32QFN RGBLED I O Header Capacitive Touch Reset Slider OpenSDA J9 J10 1 0 Header MMA8451Q 1 0 Header Figure 2
4. are trademarks of Freescale Semiconductor Inc All other product or service names are the property of their respective owners 2012 2013 Freescale Semiconductor Inc e Pe freescale Freescale Semiconductor Inc 2012 All rights reserved FRDMKLO2ZUM Rev 0 2013 06 07 FRDMKLO2ZUM FRDM KLO2Z User Manual Page 12 of 12
5. locate the device with CDC in the name Right click this device and choose Update Driver Software Choose to Browse for the driver and navigate to the enumerate Mass Storage Device drive FROM KLOZZ Click Install and follow the on screen prompts You should now have a new COM port under the Ports section in Device Manager You can use any terminal emulation program to connect to the COM port The default COM settings are Using 1 Using 1 the OpenSDA MSD Application to Program the KLO2Z If not already programmed install the OpenSDA MSD Application using the OpenSDA Bootloader The OpenSDA application will enumerate as a Mass Storage Device drive While running the MSD Application drag drop or copy paste one of the precompiled S record or binary files into the MSD drive The application file will automatically be programmed and executed on the KLO2Z the OpenSDA P amp E Debug Application Download and Install the latest Windows USB Drivers from the OpenSDA Support page accessed by selecting the SDA INFO HTM link located on mass storage device enumerated from the connected FRDM KLO2Z Install the OpenSDA P amp E Debug Application using the OpenSDA Bootloader Following a power cycle the board should enumerate as a PEMicro OpenSDA Debug Driver device You now have working environment within CodeWarrior 10 3 FRDMKLO2ZUM FRDM KLO2Z User Manual Page 11 of 12 freescale How to Reach Us Home P
6. TIAL SENSOR 35 PTBSIRO 10 12C0 SCLUARTO TX 35 PTBMIRO 11 1200 SDA JARTO RAX S gt PTAIMIRAS 35 Figure 6 MMA8451Q Schematic Diagram 5 5 RGB LED Three PWM capable KL02Z32 signals are connected to a red green and blue LED The signal connections are shown in Table 4 below Table 4 RGB LED Signal Connections RGB LED KLO2Z128 PTB6 Red Cathode Green Cathode PTB7 Blue Cathode PTB10 Page 8 of 12 FRDMKLO2ZUM FRDM KLO2Z User Manual e se oT freescale RGB LED FEATURE TPI7 TPIB i i 3 5 PTB6 IRQ 2 LPTMRO ALT3TPMI CH1 TPM CLKINt KG PTB7 IRO_3 TPM1_CHO 3 5 gt gt ADCO _SEQIPTBIOTPMO_CHI 35 CLV1A FKB CJ1M1FIBB7R4S3 5 6 Input Output Headers The KLO2Z32VFM4 microcontroller is packaged in an 32 pin QFN Some pins are utilized in on board circuitry but many are directly connected to one of four I O headers The pins on the KLO2Z 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 KLO2Z pin connected to it where applicable 5 7 Arduino Compatibility The I O headers on the FRDM KLO2Z 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 spacin
7. The reset button can also be used to force the OpenSDA circuit into bootloader mode Press and hold the Reset Bootloader pushbutton while you plug in a USB cable A to mini B to the OpenSDA USB connector J2 5 2 3 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 KLO2Z is the onboard OpenSDA circuit However an unpopulated 10 pin 0 05 Cortex Debug connector J1 provides access to the SWD signals SWD CONNECTOR Ji lt gt gt PTAZICMPO_OUT SWD_DIO 3 4 lt ADCO_SE12 CMP0_IN2 PTAQ IRQ_O TPM1_CHO SWD_CLK 3 45 KAST TGTMCU 3 4 5 J6 DNP HDR 1X2 TH DNP There is a bottom layer trace shorting pin 1 to pin 2 of jumper Figure 4 SWD connector 5 3 Capacitive Touch Slider Two Touch Sense Input GPIO signals GPIO PTA13 and PTB12 controlled by TSS lib emulate the TSI function 2 R29 510K 3 PTA Q TOUCH ELECTRODES P3V3 R30 510K 3 PTBI2K Figure 5 GPIO Touch Pad FRDMKLO2ZUM FRDM KLO2Z User Manual Page 7 of 12 ALI freescale 5 4 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 3 below By default the I C address is 0x1D SAO pulled high Table 3 Accelerometer Signal Connections MMA8451Q KLO2Z32 SCL PTB3 SDA PTB4 INTI NC INT2 PTA1O I2C INER
8. V 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 O provides the operational details and requirements for the power supplies Table 1 Power Supply Requirements DA Regulat Supplv Source Valid Range pels egulated on Operational board OpenSDA USB J2 5V Yes Yes Vin Pin 4 3 9V No Yes 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 FRDMKLO2ZUM FRDM KLO2Z User Manual Page 5 of 12 e se tr 2 freescale 35 Figure 3 Power Supplv Schematic Table 2 FRDM KLO2Z Power Supplies Power Supply Name Description P5 9V_VIN Power supplied from the Vin pin of the I O headers J9 pin 8 P5VO USBER Power supplied from the OpenSDA USB connector J2 and J9 pin 5 A Schottky diode provides back drive protection Regulated 3 3V supply Sources power to the P3V3 supply rail P3V3_VREG 1 through a back drive protection Schottky diode P3V3 BATT Coin cell battery supply voltage Sources power to the P3V3 supply rail through a back dri
9. age 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 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 and CodeWarrior Kinetis Processor Expert and ColdFire
10. dded designs a powerful microcontroller built on a very low power core and SoC platform easy access to I O with a large ecosystem of compatible hardware a flexible programming and debug interface and a large ecosystem of software development environments Freedom 2 Reference Documents OpenSDA User s Guide A guide for users of the OpenSDA embedded circuit FRDM KLOZZ Quick Start Guide This document overview and detailed information for the FRDM KLO2Z hardware FRDM KLO2Z Schematics PDF schematics for the FRDM KL25Z hardware FRDM KLO2Z Pinouts Spreadsheet of pin connections for all MCU pins Includes pinout for the I O headers Arduino R3 compatibility chart and OpenSDA MCU pinout 3 Getting Started The FRDM KLO2 default demo shows the functionality of TSS library PWM Accelerometer Sensor Timer and I2C module KLO2 has no TSI module on chip so in this demo the Analog Slider pad is controlled with GPIO method by TSSW Use a mini USB cable to attach the FRDM KLO2Z to a USB power source either a USB port ona computer or a USB power supply The expected behavior of the demo is as follows FRDMKLO2ZUM FRDM KLO2Z User Manual Page 2 of 12 Sy Z freescale 1 Slide Down to Unlock Sliding your finger down along the TSS Pad E1 from 2 to 1 will unlock the tilt functionality of the demo 2 Tilt to adjust the LED With the demo Unlocked tilting the board will change the RGB values displayed on the
11. g and placement as the I O headers on the Arduino Uno Revision 3 board design Figure 8 FRDM KLO2 Pinout FRDMKLO2ZUM FRDM KLO2Z User Manual Page 9 of 12 ey 2 freescale 6 FRDM KLOZZ OpenSDA Overview By default the FRDM KLO2Z board comes pre programmed with the OpenSDA Bootloader Using the OpenSDA Bootloader 1 Press and hold the Reset Bootloader pushbutton while you plug in a USB cable A to mini B to the OpenSDA USB connector J2 Release the pushbutton 2 The FRDM KLO2Z should enumerate as a mass storage device with a volume label of BOOTLOADER 3 You may now drag drop or copy paste OpenSDA applications e g Debug App MSD Programming App CMSIS DAP to your OpenSDA drive Applications can be found in the applications folder of the OpenSDA package 4 Unplug the USB cable and plug it in again Note this is a step that will not be required on future versions of the OpenSDA bootloader 5 You should now be running the programmed OpenSDA application 6 To boot back into the Bootloader start over at step 1 Reading the installed OpenSDA hardware information 1 Boot into the OpenSDA bootloader mode by following the steps in Using the OpenSDA Bootloader section 2 Open BOOTLOADER mass storage device drive 3 Open SDA_INFO HTM file with any web browser An HTML page will open with your Freedom OpenSDA hardware information including bootloader and application installation details 4 This HTML page w
12. ill also include links to download the latest OpenSDA Firmware MSD amp Debug applications as well as USB Drivers for OpenSDA CDC device Installing the OpenSDA CDC Drivers The Debug and MSD applications both include a CDC device for USB serial port The following instructions are specific to Windows 7 Note Driver installation for other operating systems may be slightly different Recommended Driver Installation Process 1 Download the latest Windows USB Drivers from the OpenSDA Support page accessed by selecting the SDA INFO HTM link located on mass storage device enumerated from the connected FRDM KLO2Z 2 Disconnect the FRDM KLO2Z from the host PC and install the downloaded Windows USB Driver installation executable 3 Once the installation is complete plug in your board that has be programmed with either the MSD or Debug application 4 Windows should automatically enumerate as an OpenSDA CDC Serial Port If the driver enumeration fails the driver can be ma Manual Driver Installation Process using the include INF file FRDMKLO2ZUM FRDM KLO2Z User Manual Page 10 of 12 4 KW e 1 freescale If not already programmed install the OpenSDA MSD Application using the OpenSDA Bootloader Open the Device Manager e g Control Panel gt System and Security gt System gt Device Manager or just type Device Manager in the search box of the Start Menu and hit Enter Look under Other Devices and
13. ve protection Schottky diode Main supply rail for the FRDM KLO2Z assembly May be sourced from P3V3 P3V3_VREG P3V3_BATT or directly from the I O headers J9 pin 2 and pin 4 P3V3 MCU KLO2Z MCU supply Header J4 provioes a convenient means for energy consumption measurements P3V3_USBER OpenSDA circuit supply Header J5 prayides a convenient means for energy consumption measurements Notes 1 By default the linear regulator 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 KLO2Z 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 trace on the bottom layer of the PCB To measure the energy consumption of either the KLO2Z 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 FRDMKLO2ZUM FRDM KLO2Z User Manual Page 6 of 12 ey 7 freescale 5 2 KL02Z Microcontroller 5 2 1 Clock Source The KL02Z32 on the FRDM KLO2Z is clocked from a 32 768KHz crystal 5 2 2 Reset The PTA20 RESET signal on the KL02Z32 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
Download Pdf Manuals
Related Search
Related Contents
Le tram à Pellegrin - Bordeaux Métropole Bowers & Wilkins DM640i User's Manual 1 - 取扱説明書ダウンロード Sinclair PG20 User's Manual Smeg CL6S Instructions for Installation and Use power network parameter analyser n10 service manual 761076 - Manual Técnico Laser GII (PET NBR 14136) JVC AV 27S776 User's Manual Pitco Frialator L20-293 Pasta Maker User Manual Copyright © All rights reserved.
Failed to retrieve file