Home

FRDM-KE02Z User's Manual

image

Contents

1. OMHZ l Inertial Sensor Motor Control Header Indicates optional items that will not be populated by default Figure 1 FRDM KE02Z Block Diagram The FRDM KEO2Z features two microcontrollers MCUs the target MCU and a serial and debug adapter OpenSDA MCU The target MCU is a Kinetis E Series MA64 family device the KE02264VQH2 The OpenSDA MCU is a Kinetis K Series K20 family device the K20DX128VFMB5 Features of the KE02Z64 target MCU include N e 2 freescale semiconductor e 32 bit ARM Cortex MO core upto 20 MHz operation Single cycle fast I O access port e Memories 64 KB flash and 256B D flash as EEPROM 4KBSRAM e System integration Power management and mode controllers Low leakage wakeup unit Bit manipulation engine BME for read modify write peripheral operations e Clocks Clock generation module with FLL for system and CPU clock generation 32 kHz internal reference clock System oscillator supporting external crystal or resonator Low power 1kHz RC oscillator for RTC and watchdog e Analog peripherals 12 bit SAR ADC Tow analog comparators e Communication peripherals Two 8 bit Serial Peripheral Interfaces SPI one IC modules Three UART modules e Timers One 6 channel FlexTimer module Two 2 channel Timer PWM modules 2 channel Periodic Interrupt Timer PIT Realtime clock RTC System tick timer One watchdog module e Sec
2. TTTJ 14 List of Figures Figure 1 FRDM KEO2Z Block Diagram essessscsssesssessssesscsnseensesasteasqacsnasqasescesastasssnss 5 Figure 2 FRDM KEO2Z Power SUPDPIY ss sssesscssscssscssscssscsasesscsnseqnsesareeasesscenarqartencesatasttnss 7 Figure 3 OpenSDA Block Diagram s sscssscssscsssccssesusossseascestequsosursenresarcesessresnrsqsrsasessss 9 Figure 4 SWD debug connector to KEO2Z osoossseseseeesesnssnsteasesasesasssassnastesennceqatqasesnss 9 Figure 5 ThermMmistorCONNECUON anistia ter EET buon E RNA ee 11 Figure 6 Infrared connection ssscssscssscssssessesscesasessssqasruncesetesseqnstqsssssesnscsnseqnressstns 11 Figure 7 Touch Slider connection ssscsssssscesscssscsaseeassencsnstesscqnscensssscensessseqntesastos 12 Figure 8 Accelerometer CONNCCLON sss UEL NO Eo 12 Figure 9 RGB LED connection assis kokeriko erre 13 Figure 10 VO Nedds E TTE EE 14 FRDMKEO2ZUM FRDM KEO2Z User Manual Page 2 of 14 5 P lt 2 freescale semiconductor Revision History Revision Date Changes 0 417 2014 FRDMKEO2ZUM FRDM KEO2Z User Manual Page 3 of 14 M N e 2 freescale semiconductor 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 facto
3. and a RESET pushbutton SW1 The pushbutton asserts the Reset signal to the KE02Z target MCU It can also be used to place the OpenSDA circuit into Bootloader mode by holding down the RESET pushbutton while plugging the USB cable to USB connector J6 Once the OpenSDA enters bootloader mode other OpenSDA applications such as debug app can be programmed SPI and GPIO signals provide an interface to the SWD debug port of the KEO2Z Additionally signal connections are available to implement a UART serial channel The OpenSDA circuit receives power when the USB connector J6 is plugged into a USB host 5 2 1 Debugging Interface Signals with SPI and GPIO capability are used to connect directly to the SWD of the KE02Z These signals are also brought out to a standard 10 pin 0 05 Cortex Debug connector J7 as shown in Figure 4 It is possible to isolate the KE02Z MCU from the OpenSDA circuit and use J7 to connect to an off board MCU To accomplish this cut the O ohm resistor R58 This will disconnect the SWD CLK pin to the KEO2Z so that it will not interfere with the communications to an off board MCU connected to J7 SWD CONNECTOR lt gt PTC4 SWD CLK GPIOB P34 SWD DIO TGTMCU X R58 pava KEQ Z 1 SWD CLK TGTMCU Fi T lt RST_TGTMCU P345 GND Figure 4 SWD debug connector to KE02Z 5 2 2 Virtual Serial Port A serial port connection is available between the OpenSDA MCU and UART1 pin PTC7 TXD1 and PTC6 RXD1 of KEO2Z S
4. ced from I O headers 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 3 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 Two or more OpenSDA applications can run simultaneously For example run control debug application and serial to USB converter runs in parallel to provide a virtual COM communication interface while allowing code debugging via OpenSDA with just single USB connection These two applications are provided in a single code package Refer to the OpenSDA User s Guide for more details OpenSDA OpenSDA MCU K20DX128Vxx5 USB Host MSD Bootloader Target Processor IDE kalk nRESET UART TX RX File System UART RX TX PCR OpensDA SPI GPIO MEN serial Terminal SWD JTAG Application FRDMKEO2ZUM FRDM KEO2Z User Manual Page 8 of 14 N e 2 freescale semiconductor Figure 3 OpenSDA 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
5. d a large ecosystem of software development environments Freedom 2 Reference Documents OpenSDA User s Guide A guide for users of the OpenSDA embedded circuit KEO2 Sub Family Reference Manual A reference manual for KEO2 sub family devices Arduino Overview A guide of Arduion platform Arduino Uno A guide of Arduion Uno revision 3 Getting Started Refer to the FRDM KEO2Z Quick Start Package for step by step instructions for getting started with the FRDM KEO22 See the Jump Start Your Design section on http www freescale com FRDM KEO2Z for the Quick Start Package and software lab guides FRDMKEO2ZUM FRDM KEO2Z User Manual Page 4 of 14 9 Ly freescale e e semiconductor 4 FRDM KE02Z Hardware Overview The FRDM KEO2Z hardware is a Freescale Freedom development platform microcontroller board assembled with the following features Kinetis E Series KE02 family MCU in an 64 QFP package 14x14 document number 98ASB42844B On board serial and debug adapter OpenSDA I O headers for easy access to MCU I O pins Freescale inertial sensor MMA8451Q Capacitive touch slider Reset pushbutton RGB LED infrared communication 1 thermistor Motor control header for simple BLDC motor control on APMOTORS56F8OOOE Figure 1 shows a block diagram of the FRDM KEO2Z board o e yu um mu ee GG GO e I O Header SCI Thermistor GPIO TSI t Touch Pad Slider I2C I O 33y T
6. e e e 2 freescale semicon ductor FRDM KEO02Z User s Manual Rev O Freescale Semiconductor Inc FRDMKEO2ZUM M N e o TM 7 freescale Table of Contents ONLINE dp 4 2 Rererenco DOCUMENTS TERT Um Ea m 4 OSUIDB Satelite as IE raia So A didi ada NNI UE 4 4 J FRDM KEO2Z Hardware Overview s ssscssscssscsscessssescssasqssenscssscqsscssseqasteacsnscsascqnsessstos 5 5 FRDM KEO2Z Hardware Description esses nennen nennen enne nnne nnns 6 5 1 weise m m 6 5 2 Serial and Debug Adapter OpenSDA sssssessssessvessevessovessonusorestonussvesseveseensessssos 8 5 2 1 Debe cine MEE O oes aa tette NE PIERII H OUO DIM OO D EDO ERG OER AEA E OEE OPER LONE EPOR T RE 9 cM MEER IE dE uo RETRO m 9 5 3 KEO27 MICTOCODEFOIIBE ure oportere KK RP EE Eo sat EUER PF ed nuda pene ed Ra 9 5 4 CIOCK SQUICO IH 9 SY MNE i deg Tm 10 SOAM ST RR RR e 10 o ID c E 10 5 5 TERMS DOR Uu mum 10 5 6 Infrd red POLL RR RN RR RD FILME RR RR TT 11 5 7 Capacitive TOUCH SION egante nk ME asda O nisi east ESNS 11 5 8 3d S A CCO El OI E ia aco sas ip a A E E DU Ea NU M Ub 12 5 9 os saga E E A S 13 SO Input OU OUT Hed o eerren a E E E 13 SL Arduino COMP ALIDINILY PPTTTTTETTTTETTTTTTTTTTTTTTTTTTTTRTTTTTTTTTTT
7. ebug connector J7 provides access to the SWD signals for the KEO2Z MCU The following table shows SWD connector signals description for KEO2Z Table 3 ARM JTAG SWD mini Connector Description Pin Function Connection to KE02Z 1 VTref 3 3V system power supply V BRD 5 GND 6 SWO TDO 8 TI NC 9 NC nc PTAS RESET 5 5 Thermistor One thermistor RT1 is connected to two ADC inputs PTF4 ADP12 PTF5 ADP13 of KE02Z for evaluating the ADC module FRDMKEO2ZUM FRDM KEO2Z User Manual Page 10 of 14 9 e TM freescale semiconductor P3V3 an 499K SOC to 20C Vdiff 0 372V to 2 879V Ta 25C 1 650V GND Figure 5 Thermistor connection 5 6 Infrared Port One infrared Rx port and one tx port as shown in Figure 6 are connected to ACMPO input pin ACMPO IN1 and SCIO TXDO pin of KEO2Z to demonstrate the capability of SCIO modulated by Flextimer for generating infrared signals and use ACMPO as a filter to receive the SCI data via infrared signal INFRARED PORT S e2K Qi PT12 21C TR8 1000PF IR12 21C TRA Figure 6 Infrared connection 5 7 Capacitive Touch Slider Two GPIO pins functioning as Touch Sense Input TSI signals are connected to capacitive electrodes configured as a touch slider as shown in Figure 7 below FRDMKEO2ZUM FRDM KEO2Z User Manual Page 11 of 14 e 2 2 freescale semiconductor TSI CAPACITIVE TOUCH INTERFACE Figure 7 Touch Sl
8. everal 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 KE02Z 5 3 KEO2Z Microcontroller 5 4 Clock Source The Kinetis KEO2 microcontrollers feature an on chip oscillator compatible with two ranges of input crystal or resonator frequencies 32 kHz low frequency mode 4 20 MHz high frequency mode The KE02Z64 on the FRDM KEO2Z is clocked from a 10 MHz crystal FRDMKEO2ZUM FRDM KEO2Z User Manual Page 9 of 14 M N e 2 freescale semiconductor 5 4 1 Serial Port The serial port interface signals used with OpenSDA are UART1 pin PTC7 TXD1 and PTC6 RXD1 These signals are also connected to I O header J1 5 4 2 Reset The PTA5 RESET signal on the KEO2Z is connected externally to a pushbutton SW1 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 when plugging the USB cable to J6 Please refer to the Serial and Debug Adapter OpenSDA section for more details 5 4 3 Debug The sole debug interface on all Kinetis E Series devices is a Serial Wire Debug SWD port The primary controller of this interface on the FRDM KEO2Z is the onboard OpenSDA circuit However a 2x5 pin 0 05 Cortex D
9. ider connection 5 8 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 I C address is 0x1D SAO pulled high Table 4 Accelerometer Signal Connections MMA8451Q KEO2Z SCL SDA I2C INERTIAL SENSOR C11 10uF P3V3 doko P9 PTAS ACCEL SOL eL 5 P3 PTA2 ACCEL SDA 4 5i MMAB451 SERIAL ADDRO Li D4 ACCEL INTI TPE TP3 PTD3 ACCEL INTO t R30 MMA8451 BYP 2 10K DNP ca lia 0 1UF GND oo LI MMAB4510 i GND Figure 8 Accelerometer connection FRDMKEO2ZUM FRDM KEO2Z User Manual Page 12 of 14 9 e Z freescale semiconductor 5 9 RGB LED Three PWM capable KE02Z signals are connected to a red green blue LED The signal connections are shown in Table 5 below Table 5 RGB LED Signal Connections RGB LED KEO2Z Red Cathode PTH1 FTM2CH1 Green Cathode PTH2 FTM1CHO Blue Cathode PTE7 FTM1CH1 RGB LED FEATURE pp TP7 D4 PTH1 RED H46 J LEDRGB RED 1 R 4 LEDRGB GREEN RA PTH GREEN Tv 920 P3V3 a P90 2 4 LEDRGB BLUE R43 a PTE7 BLUE HN 220 TPE CLV1A FKE CJ1M1FIBB7RA4S3 Figure 9 RGB LED connection 5 10 Input Output Headers The KE02Z264 microcontroller is packaged in an 64 pin QFP Some pins are utilized in on board circuitry but many are directly connected to one of four I O headers J1 J2 J9 and J10 J1andJ2 also function as motor cont
10. r compatible with popular third party hardware designed to work with Arduino and Arduino compatible boards The Freescale KE02Z freedom board FRDM KEO22 is a simple yet sophisticated design featuring a Kinetis E Series microcontroller KEO2Z64VQH2 the industry s first microcontroller built on the ARM Cortex MO core with 0 18um process The Kinetis E series is the most scalable portfolio of low power high robustness mixed signal 32 bit ARM Cortex M0 MCUs running up to 20MHz in the industry based on 18um process It supports power supply voltage range from 2 7V to 5 5V ambient operating temperature ranges from 40C to 105C and includes up to 64KB flash The FRDM KEO22 includes 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 nu Vision IDE Red Suite from Code Red Technologies Atollic TrueSTUDIO Rowley Crossworks and more All of these features combine to give the user the freedoms needed to rapidly prototype many embedded 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 an
11. rol headers to provide access to a motor control board such as simple BLDC motor driving board APMOTORS6F8000E FRDMKEO2ZUM FRDM KEO2Z User Manual Page 13 of 14 9 e 2 freescale semiconductor Arduino R3 Signals NC IOREF RESET 3 3V 5V GND GND VIN AO Al A2 A3 AA A5 NC 2 P3V3 4 RESET 6 P3V3 8 P5V USB 10 GND 12 GND 14 P5 9V VIN 16 PTF7 2 PTCO 4 PUB pupei rdt prez 8 PTC3 10 PTF6 12 3 PTE1 5 PTE2 7 PTE3 9 PTD2 11 PTF1 13 PTFO 15 PTG3 1 PTG1 3 PTG2 5 PTGO 7 PTC4 9 PTH7 11 PTH6 PTB3 ANB2 19 PTA7 ANB1 17 PTA6 ANBO 15 P3V3 MOTOR 13 PTF6 ANA1 11 PTF7 ANAO 9 PTF2 7 PTF3 5 PTC1 3 PTB2 1 PTE5 15 PTE6 13 PTC5 11 PTE4 9 PTD6 7 PTD7 5 PTC6 3 PTC7 1 Arduino R3 Signals 20 PTA3 18 PTA2 16 AREF 14 GND 12 PTB2 10 PTB4 8 PTB3 6 PTB5 4 PTHO 2 PTAO 16 PTA7 14 PTB4 12 PTD1 10 PTA1 8 PTDO 6 PTD5 4 PTB1 2 PTBO
12. upply Name Description P5 9V VIN Power supplied from the Vin pin of the I O headers J9 pin 16 PSV SDA Power supplied from the OpenSDA USB connector J6 Regulated 3 3V supply Sources power to the P3V3 supply rail P3V3 VREG through a back drive protection Schottky diode Main supply rail for the FRDM KEO2Z can be sourced from P3V3 P3V3 VREG or directly from the I O headers J9 pin 8 or from P3V3 MOTOR FRDMKEO2ZUM FRDM KEO02Z User Manual Page 7 of 14 M N e z freescale semiconductor were korta energy comuni easements o P3V3 KEO2Z for KE02Z energy consumption measurements pum ODE a P3V3 SDA means for K20 energy consumption measurements P5V SDA supply through a back drive protection Schottky diode Notes 1 J3 and J4 are not populated by default on the production version The two pins of these headers are shorted together by O ohm resistor R11 and R26 on the PCB To measure the energy consumption of either the KE02Z64 or the OpenSDA MCU the O ohm resistor 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 When the MCU current measurement is done with no further need this O ohm resistor can be soldered on again 2 To better get ADC accuracy on KEO2Z64 it is recommended that a O ohm resistor R13 be soldered on and ensure there is no power supply from P3V3 MOTOR and P3V3 sour
13. urity One CRC e Human Machine Interfaces HMI General purpose input output controller IRQ 5 FRDM KE02Z Hardware Description 5 1 Power Supply The FRDM KEO2Z 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 off board 1 71 3 6V supply from the 3 3V pin on the I O header or 3 3V from motor control header The USB and Vy 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 The following figure shows the schematic drawing for the power supply inputs and the on board voltage regulator FRDMKEO2ZUM FRDM KEO2Z User Manual Page 6 of 14 e e oe TM freescale semiconductor l TPS Pay SDA PE OV VIN FII x a DE MERIANLEFTIG Pava KEI DF Da A E HER 1X2 TH E E i a uz C1h 10uF NCP11173T33T3G EI Figure 2 FRDM KEO2Z Power Supply Table 1 provides the operational details and requirements for the power supplies Table 1 Power Supply Requirements OpensDA Regulated on Operational board OpenSDA USB 37 header header 3 3V Pin on motor 3 3V Yes control header Note that the OpenSDA circuit is only operational when a USB cable is connected and supplying power to J6 However the protection circuitry is in place to allow multiple sources to be powered at once Supply Source Valid Range Table 2 FRDM KEO02Z Power Supplies Power S

Download Pdf Manuals

image

Related Search

Related Contents

  User Manual - Van Sant Enterprises:Trick Tools  OPERATOR`S MANUAL MANUEL de L`UTILISATEUR MANUAL del  Frigidaire FAC085M7A Air Conditioner  Samsung Monitor LED de 24 inchi cu design negru Manual de utilizare  User`s Manual for Ambery PIPV3 Model  Manuel N|vu Standard - version 1pr  Belkin Patch Cable CAT5 10er Pack 2m  Samsung P2370H User Manual  

Copyright © All rights reserved.
Failed to retrieve file