Home
FRDM-KL26Z User's Guide
Contents
1. 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 4 MHz and 32 kHz internal reference clock System oscillator supporting external crystal or resonator Low power IkHz 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 16 bit Serial Peripheral Interfaces SPI USB dual role controller with built in FS LS transceiver USB voltage regulator Two FC modules One low power UART and two standard UART modules One DS module e Timers One 6 channel Timer PWM module Two 2 channel Timer PWM modules 2 channel Periodic Interrupt Timer PIT Real time clock RTC Low power Timer LPTMR System tick timer e Human Machine Interfaces HMI General purpose input output controller FRDM KL26Z User s Guide Rev 0 Freescale Semiconductor 9 FRDM KL26Z hardware description Capacitive touch sense input interface hardware module 5 3 1 Clock source The Kinetis KL26 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 frequency mode low range and 8 32 MHz high frequency mode high range The KL26Z128 on the FRDM KL26Z is c
2. 10 2013 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 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 freescale com Sales TermsandConditions Freescale the Freescale logo and Kinetis are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off ARM is the registered trademark of ARM Limited ARM Cortex
3. e FXOS8700CQ accelerometer and magnetometer e Tri color RGB LED e Ambient light sensor e User push button 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 FRDM KL26Z User s Guide Rev 0 2 Freescale Semiconductor FRDM KL26Z hardware overview CMSIS DAP interface new ARM standard for embedded debug interface Data logging application Figure I shows a block diagram of the FRDM KL26Z design The primary components and their placement on the hardware assembly are pointed out in Figure 2 4 3 LDU Touch Pad Slider inertial Sensor Indicates optional items that will not be populated by default Figure 1 FRDM KL26Z block diagram FRDM KL26Z User s Guide Rev 0 Freescale Semiconductor 3 FRDM KL26Z hardware overview Light sensor User pushbutton KL26Z 64 LQFP og A Ir od KN J1 I O Header J2 I O Header KL26Z USB Reset Figure 2 FRDM KL26Z feature call outs FRDM KL26Z User s Guide Rev 0 Capacitive Touch Slider J4 I O Header RGB LED J3 I O Header FXOS8700CQ Open
4. M0 is the trademark of ARM Limited All other product or service names are the property of their respective owners 2013 Freescale Semiconductor Inc CH Lu oc LLI a m ARM 2 freescale
5. DNP P3v3 SDA 10uF a P cra NOPI I 178T38T3G GND IR i J14 S 20mOhm Resistor S GND i in layout i Keel HORIXATH STING AER OH BOTTOM LAYER p DNP Se Figure 3 Power supply schematic In addition regulated power can be supplied to J3 pin 10 from an external source through P5 9V VIN by populating the board with an optional voltage regulator e g a 7805 style regulator in a TO 220 package thus providing a high current supply to external devices To prevent voltage sag under a high load C23 FRDM KL26Z User s Guide Rev 0 Freescale Semiconductor 5 FRDM KL26Z hardware description C24 C25 amp C28 should be populated with appropriately sized capacitors to match the regulator chosen See Figure 4 Figure 4 Optional voltage regulator schematic Table 3 FRDM KL26Z power supplies mower Description Supply Name H P5 9V VIN Power supplied from the Vin pin of the I O headers J3 pin 16 PSV SDA Power supplied from the OpenSDA USB connector J10 A Schottky diode provides back drive protection PSV KL26Z Power supplied from the KL26Z USB connector J6 A Power supplied from the KL26Z USB connector J6 A Schottky diode provides back drive protection diode provides back drive protection P3V3 VREG Regulated 3 3V supply ee power to the P3V3 supply rail with an optional back drive protection Schottky diode 12 P3V3 BATT Coin cell battery supply voltage ECU power to the P3V3 supply rail with the
6. Freescale Semiconductor Doc Number FRDMKL26ZUG User s Guide Rev 0 10 2013 FRDM KL26Z User s Guide by Freescale Semiconductor Inc 1 Ove rview Contents bo COVELL EE 1 Reference documents 2 Getting started 2 EEN Reg ened ee ees d 2 FRDM KL26Z hardware overview 2 FRDM KL26Z hardware description 5 The Freescale Freedom development platform is a set of software and hardware tools for evaluation and development It s ideal for the rapid prototyping of microcontroller based applications The Freescale Freedom KL26Z hardware FRDM KL26Z is a capable and cost effective design featuring a Kinetis L series microcontroller the industry s first microcontroller built on the ARM Cortex M M0 core FRDM KL26Z can be used to evaluate the KL 16 and KL26 Kinetis L series devices It features a KL26Z128VLH4 a device boasting a maximum operating frequency of 48MHz 128KB of flash a full speed USB controller and numerous analog and digital peripherals The FRDM KL26Z 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 6 axis digital sensor combining a 3D accelerometer and 3D magnetometer ambient light sensor and a capacitive touch slider The FRDM KL26Z features the Freescale open standard embedded serial and debug adapter known as OpenSDA On BW N Re 2013 Freescale Se
7. O from the Openi DA SW OL OM TAT WSU ify debug interface E PIWS KLAGZ HOR 1X2TH Es 23 KL25_SWD_GLK 1 DND a Si amp SWD SLK TET MOU RST_TGTMOU Figure 6 SWD debug connector Note that J7 is not populated by default A Samtec FTSH 105 02 F D or compatible connector can be added to the J7 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 KL26Z to an off board SWD connector 5 2 2 Virtual serial port A serial port connection is available between the OpenSDA MCU and pins PTA 1 and PTA2 of the KL26Z 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 KL26Z 5 3 KL26Z microcontroller The target microcontroller of the FRDM KL26Z is the KL26Z128VLH4 a Kinetis L series device in a 64 LQFP package The KL26Z MCU features include FRDM KL26Z User s Guide Rev 0 8 Freescale Semiconductor FRDM KL26Z hardware description e 32 bit ARM Cortex M0 core Up to 48 MHz operation Single cycle fast I O access port e Memories 128 KB flash 16 KB SRAM e System integration Power management and mode controllers Low leakage wakeup unit Bit manipulation engine for read modify write peripheral operations
8. SDA Freescale Semiconductor FRDM KL26Z hardware description 5 FRDM KL26Z hardware description 5 1 Power supply There are multiple power supply options on the FRDM KL26Z It can be powered from either of the USB connectors 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 VIN supplies are regulated on board using a 3 3 V 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 Supply Source Valid Range OpenSDA Operational Regulated on board 3 3V pin 1 71 3 6V Coin cell battery 1 71 3 6V Note that the OpenSDA circuit is only operational when a USB cable is connected and supplying power to J10 However protection circuitry is in place to allow multiple sources to be powered at once aT Figure 3 shows the schematic drawing for the power supply inputs and the on board voltage regulator i OPTIONAL TP7 COIN CELL en HOLDER DNP D MBR120VLSFT1G i 3 2 P3v3 BAT A o JS JI HDR 1 X2TH DNP DNP P3Y3_KL26Z GND Gi Eegeregie i 104F Fri P5 OV VIN PSV SDA PSY KL Z GND Si x st T 2 MBR 1 20VLSFT1G 0 A G DS LG D4 J A A D MBRI Z20VLSFT1G MBRI J0VLSFT1G MBRI Z20vLSFTIG ui D p ei a a PS OW_VIN_WR Sl vir _ WOU JIS 2 gt HDR 1X2TH ag SG TAB
9. amp R14 if required 5 3 4 Reset The PTA20 RESET signal on the KL26Z128 is connected externally to a pushbutton SW2 and also to the OpenSDA circuit However J13 has been provided to isolate the OpenSDA MCU from SW2 Isolating the RESET line allows a more accurate measurement of the target device s power consumption in low power modes 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 See Section 5 2 Serial and debug adapter OpenSDA for more details 5 3 9 Debug The sole debug interface on all Kinetis L Series devices 1s a serial wire debug SWD port The primary controller of this interface on the FRDM KL26Z is the onboard OpenSDA circuit see Section 5 2 Serial and debug adapter OpenSDA However an unpopulated 10 pin 0 05 Cortex Debug connector J7 provides access to the SWD signals The Samtec FTSH 105 02 F D or compatible connector can be added to the J7 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 TSIO 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 6 axis accelerometer and magnetometer A Freescale FXOS8700CQ low power six axis acceleromet
10. e of four I O headers The pins on the KL26Z microcontroller are named for their general purpose input output port pin function For example the 15 pin on Port A is referred to as PTA1 The I O connector pin names are given the same name as the KL26Z pin connected to it where applicable VE TI RI D S oe E bo ET FRDM KL26Z User s Guide Rev 0 Freescale Semiconductor 13 FRDM KL26Z hardware description Note that all pinout data is available in spreadsheet format in FRDM KL26Z Pinouts See Section 2 Reference documents for details 5 9 Analog reference voltage The onboard ADC of the KL26Z128VLH4 MCU uses the Reference Voltage High VREFH and Reference Voltage Low VREFL pins to set high and low voltage references for the analog modules On the FRDM KL26Z by default VREFH is attached to P3V3 KL26Z 3 3V Supply VREFL is connected to GND Figure 10 illustrates this circuitry Fig WREFH ey 3 AREF USB WOUT S3 LG ER 2 2UF GND GND r oc E Figure 10 FRDM KL26Z VREFH circuit schematic If desired VREFH can use a VDDA independent reference by adding R11 and a Zener diode D6 R10 0 Q resistor must be removed when implementing this option Alternatively VREFH can be attached to an external source through AREF by removing R10 and populating R9 with a 0 Q resistor 5 10 Arduino compatibility The I O headers on the FRDM KL26Z are arranged to allow compatibility with peripheral boards kn
11. er and magnetometer is interfaced through an I C bus and two GPIO signals as shown in Table 4 By default the I C address is 0x1D SAO pulled high Table 4 Accelerometer signal connections FX0S8700CQ KL262128 SCL PTE24 SDA PTE25 INT1 PTDO INT2 PTD FRDM KL26Z User s Guide Rev 0 Freescale Semiconductor 11 FRDM KL26Z hardware description Paws Paws EI O20 CAT O 1UF O 1UF Zu H SND R27 H Dan 47E 47k 1200 SOL CC MGE gt NTT AGGEL 1200 Soa ZC gt INT2_AGGEL FXOSSTONGO 135 SAD FXOSSTONGO 135 5A TFIZ MASS BYP GET O1UF AND Figure 8 FXOS8700CQ schematic diagram 5 6 RGB LED Three PWM capable signals are connected to a red green blue LED D7 The signal connections are shown in Table 5 Table 5 RGB LED signal connections RGB LED KL26Z128 Red cathode PTE29 Green cathode PTE31 Blue cathode PTD5 1 PTD5 is also connected to the I O header on J2 pin 10 also known as D13 Figure 9 RGB LED schematic diagram TFIO TPH gr 013 OGLYTA FKBSJI Mi F1 BBS RASS FRDM KL26Z User s Guide Rev 0 12 Freescale Semiconductor KD FRDM KL26Z hardware description 5 7 Ambient light sensor An ambient light sensor is connected to ADCO SE3 PTE22 This sensor may be isolated from PTE22 by removing R36 5 8 Input Output connectors The KL26Z128VLK4 microcontroller is packaged in a 64 pin LQFP Some pins are utilized in on board circuitry but many are directly connected to on
12. locked from an 8 MHz crystal 5 3 2 USB interface The Kinetis KL26 microcontrollers feature a dual role USB controller with on chip full speed and low speed transceivers The USB interface on the FRDM KL26Z is configured as a full speed USB device J6 is the USB connector for this interface PS KL R 2 J e CONN USB MINEB 230 OHM TOUF 8 i PSWO USB GONN VBLS S SND MR USB GONN DON RE ES USE DN E USB GONN OP R5 a E USE DP Ty ai led te use ora mms e 9 E OPTIONAL USE HOST FUNCTIONALITY d R PEW SDA PSY KL Z I Ue i Gef GSOTOEG G50 ai Cah O Ja DHP HOR 122TH TG USBIOTP RS i PORILATE THESE T 330 OHM SND PARTS FOR DKP i USE HOST FUNGTICHALITY i KL264 USB CONNECTOR ELECTRICAL PROTECTION 15 WOT FROVIDED SHO USE IT AT YOUR OWH RISK H EG a NK EN EN FK EN bah VS NN Ka EN ba KK Figure 7 USB connector schematic In order to enable USB host functionality on the FRDM KL26Z it is necessary to populate J9 and R8 as shown in Figure 7 However there is no electrical protection provided Use the USB host functionality at your own risk FRDM KL26Z User s Guide Rev 0 10 Freescale Semiconductor FRDM KL26Z hardware description 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 Note that the OpenSDA connection can be isolated from J1 by removing R13
13. miconductor Inc All rights reserved Au K freescale Reference documents 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 KL26Z hardware All of these documents are available online at www freescale com FRDM KL26Z Table 1 FRDM KL26Z reference documents Filename Description FRDM KL26Z Quick Start Package Quick Start Guide and supporting files for getting started with the FRDM KL26Z FRDM KL26Z User s Guide This document overview and detailed information for the FRDM KL26Z hardware FRDM KL26Z Pinouts Spreadsheet of pin connections for all MCU pins Includes pinout for the I O headers Arduino R3 compatibility chart and OpenSDA MCU pinout FRDM KL26Z Schematics PDF schematics for the FRDM KL26Z hardware FRDM KL26Z Design Package Zip file containing all design source files for the FRDM KL26Z hardware OpenSDA User s Guide Overview and instructions for use of the OpenSDA embedded debug circuit 3 Getting started See the FRDM KL26Z Quick Start Package for step by step instructions to get started with the FRDM KL26Z See the Jump Start Your Design section on www freescale com FRDM KL26Z for the Quick Start Package and software lab guides 4 FRDM KL26Z hardware overview The features of the FRDM KL26Z include e MKL26Z128VLH4 in a 64 LQFP package e Capacitive touch slider
14. minal Application SWD JTAG OpenSDA is managed by a Kinetis K20 MCU built on the ARM Cortex M4 core The OpenSDA circuit includes a status LED D8 and a pushbutton SW2 The pushbutton asserts a reset signal to the KL26Z target MCU It can also be used to place the OpenSDA circuit into Bootloader mode OpenSDA MCU RESET can be isolated from SW2 by cutting the trace between pins on J13 SPI and GPIO signals FRDM KL26Z User s Guide Rev 0 Freescale Semiconductor T FRDM KL26Z hardware description provide an interface to the SWD debug port of the KL26Z Additionally signal connections are available to implement a UART serial channel The OpenSDA circuit receives power when the USB connector J10 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 KL26Z These signals are also brought out to a standard 10 pin 0 05 Cortex Debug connector J7 It is possible to isolate the KL26Z MCU from the OpenSDA circuit and use J7 to connect to an off board MCU To accomplish this cut the trace on the bottom side of the PCB that connects J8 pin 1 to J8 pin 2 This will disconnect the SWD CLK pin to the KL26Z so that it will not interfere with the communications to an off board MCU connected to J7 SVYD CONNECT OF SARE MES AERDEN ee Juniper is shorted In a cut trace on bottom layer Cutting the trace will effectively isolate the on bosrd M
15. option of adding a back drive protection Schottky diode 3 P3V3 Main supply rail for the FRDM KL26Z assembly May be sourced from P3V3 VREG P3V3 BATT or directly from the I O headers J3 pin 8 P3V3 KL26Z KL26Z KL26Z MCU KL26Z MCU supply Header J5 provides a convenient means for energy consumption measurements Header J5 provides a convenient means for KL26Z MCU supply Header J5 provides a convenient means for energy consumption measurements consumption measurements P3V3 GE OpenSDA reui supply Header J15 provides a convenient means for energy consumption measurements 4 P5V_USB Nominal 5V supplied to the I O headers J3 pin 10 Sourced from either the P5V_KL26Z or P5V_SDA supply through a back drive protection Arn diode FRDM KL26Z User s Guide Rev 0 6 Freescale Semiconductor FRDM KL26Z hardware description 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 alternative device such as a 1 8V or 2 5V regulator The KL26Z microcontroller has an operating range of 1 71V to 3 6V 2 D2 is bypassed by J14 By default the pins of J14 are shorted together to reduce the voltage drop across D2 To use D2 cut the trace between the pins of J14 3 If a coin cell battery is to be used add a small amount of solder to the coin cell ground pad before adding the battery holder Also it is recommended to populate D1 a
16. own 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 FRDM KL26Z User s Guide Rev 0 14 Freescale Semiconductor eg FRDM KL26Z hardware description Not Used BDA_PTD5 2 IOREF RESET 3 3V 5V GND GND Vin P3V3 4 RESET 6 P3V3 8 P5V_USB 10 GND 12 GND 14 P5 9V VIN 16 PTBO 2 PTB1 4 PTB2 6 PTB3 8 PTC2 10 PTC1 12 5 PTE22 7 PTE23 9 PTE29 1 PTE30 KL26Z Signals Arduino R3 Signals PTD7 49 20 PTE1 PTD6 17 18 PTEO NC 15 16 VREFH PTE31 13 14 GND PTAI7 111 12 PTD1 PTA16 9 FY 10 PTD3 PTC17T 7 8 PTD2 PTC16 5 6 PTDO PTC13 3 4 PTD5 PTC12 LTH 2 PTA13 PTC11 15 16 PTC9 PTC10 13 14 PTC8 PTC6 11 NN 12 PTAS PTC5 9 10 PTA4 PTC4 7 8 PTA12 PTc3 5 NN S PTD4 PTCO 3 4 PTA2 PTC7 1 2 PTA1 DC SCL DC SDA AREF GND D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO Refer to the FRDM KL26Z Pinouts spreadsheet for a compatibility chart showing how all the functions of the KL26Z signals on the I O connectors map to the pin functions available on the Arduino Uno R3 Freescale Semiconductor FRDM KL26Z User s Guide Rev 0 15 How to Reach Us Home Page freescale com Web Support freescale com support Document Number FRDMKL26ZUG Rev 0
17. s a protection diode when using a coin cell battery 4 J5 and J15 are not populated by default The two pins of these headers are in parallel with 0 Q resistors In addition J5 is also in parallel with a 10 Q resistor To measure the energy consumption of the KL26Z either a voltmeter or an ammeter may be used To use a voltmeter R3 0 2 must be removed before connecting the voltmeter probes to the pins of JS Both R3 and R2 10 Q must be removed to measure current with an ammeter For the OpenSDA MCU energy consumption can be measured by removing R4 0 Q and connecting ammeter probes to the pins of J15 5 2 Serial and debug adapter OpenSDA OpenSDA 1s 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 5 The hardware circuit 1s 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 See the OpenSDA User s Guide for more details Figure 5 OpenSDA high level block diagram OpenSDA OpenSDA MCU GPIO K20DX128Vxx5 Y res PWM USB Host MSD Bootloader Target Processor IDE NRESET File System USB UART RX TX vm O pen SDA Serial Ter
Download Pdf Manuals
Related Search
Related Contents
Panasonic ES-LV81 Electric Shaver User Manual KR12001 公衆浴場におけるレジオネラ症防止対策 取扱説明書 1 Edital de Pregão Eletrônico PROCESSO Nº PREGÃO Décision de réévaluation RVD2012-10 Windmere D100 Use & Care Manual Módulo de Requisición de Compras MANUAL DE INSTRUÇÕES I61 Series Toshiba MK6017MAP Camcorder User Manual Copyright © All rights reserved.
Failed to retrieve file