Home

TWR-KL46Z User`s Manual

image

Contents

1. 2 freescale semiconductor TWR KL46Z Tower Module User s Manual TWR KL46Z UM Rev 1 1 Freescale e lt 4 oe ZC freescale semiconductor Table of Contents 1 WRK LAGE assess shee ada i a i kk ki Ba da a a ak g ada wa d 3 2 ONtENUS a i aa sa a aa a Ka aa 4 3 EWR KLA Z FOAtur eS i ta ta ai kata e akkadut ea ida ka wa baka 4 4 Get to Know the TWR KLAGZ E 5 5 Reference Documents ia ka aka aka ata ka ad akk tad sindusisaiacasbecitcabanstudautesinicloensuds 5 6 Hardware TSS CEU is ikieie iii e A d kd ke 6 6 1 Block Did grati ii ii ubi id tf a la qa at 6 6 2 Microcontrolleti i a ap a 7 6 3 CVO CI AN E 9 6A SYSTEM Eben a B aenie 9 6 5 Real Time Clock RTC EE 9 6 6 Debu Interessente aber teak ions sum aardeeb alana ania ence a R a 9 OTU RE eaa a E E E 10 6 8 Infrared Port ect wk ki anaia aaa ia a da pa a a tat ge 10 EE TEE EE 11 6 10 General Purpose Tower Plug in TWRPI Socket mm mer meeemnnnnnnzznzzznzznnznzanzannzzznanznnznzazzanranamnzznnznzn zz 12 6 11 Potentiometer Pushbuttons LEDS airnn aana NENNEN 13 6 12 Touch Interface TWRPI SLCD enen 13 6 13 US B oaea a a a teed 14 7 TWR K KL46Z Jumi per e Si sacar ee ctu ica amen casa ea neta ekdaee ee andiae chica sa edad anaes peace 14 8 Useful HKS wisi i a a a a sani a e e 16 TWR KL46Z48M User s Manual Page 2 of 17 2 freescale semiconductor 1 TWR KL46Z The TWR KL46Z microcontroller mod
2. semiconductor Revision 1 0 Revision History Date Description June 2013 Initial release for PWA 700 27760 A draft 1 1 July 2013 Update for board Rev C TWR KL46Z48M User s Manual Page 17 of 17
3. 6 9 Accelerometer TWR KL46Z48M User s Manual Page 11 of 17 freescale semiconductor An MMA8451Q digital accelerometer is connected to the MKL46Z256VLL4 MCU through I2C module DCL and GPIO IRQ signals PTC10 and PTC11 The MMA84510Q is a smart low power three axis capacitive micromachined accelerometer with 14 bits of resolution The device can be configured to generate inertial wake up interrupt signals from any combination of the configurable embedded functions allowing the MMA8451Q to monitor events and remain in a low power mode during periods of inactivity For more information on the MMA8451Q please visit the MMA8451Q Product Summary Page 6 10 General Purpose Tower Plug in TWRPI Socket The TWR KL46Z features a socket J6 and J1 that can accept a variety of different Tower Plug in modules featuring sensors RF transceivers and more The General Purpose TWRPI socket provides access to 12C SPI IRQs GPIOs timers analog conversion signals TWRPI ID signals reset and voltage supplies The pinout for the TWRPI Socket is defined Table 1Table 3 Table 3 General Purpose TWRPI socket pinout J6 J1 Pin Description Pin Description 1 5V VCC 1 GND 2 3 3 VVCC 2 GND 3 GND 3 12C SCL 4 3 3V VDDA 4 12C SDA 5 VSS Analog GND 5 GND 6 VSS Analog GND 6 GND 7 VSS Analog GND 7 GND 8 ADC Analog 0 8 GND 9 ADC Analog 1 9
4. Control Low power timers Four channel 32 bit periodic interrupt timer provides time base for RTOS task scheduler or trigger source for ADC conversion Human Machine Hardware touch sensing interface TSI with up to 16 inputs Interface TSI operates in low power modes minimum current adder when enabled TSI hardware implementation avoids software polling methods High sensitivity level allows use of overlay surfaces up to 5 mm thick segment LCD controller up to 8X47 or 4x51 segments Connectivity and Full Speed USB Device Host On The Go with device charge detect capability Communications Optimized charging current time for portable USB devices enabling longer battery life USB low voltage regulator supplies up to 120 mA off chip at 3 3 volts to power external components from 5 volt input Three UARTs one UART supports RS232 with flow control RS485 ISO7816 and IrDA while the other two UARTS support RS232 with flow control and RS485 One Inter IC Sound 12S serial interface for audio system interfacing two SPI module two 12C module Reliability Safety and Security Memory protection unit provides memory protection for all masters on the cross bar switch increasing software reliability Independent clocked computer operating properly COP guards against clock skew or code runaway for fail safe applications such as the IEC 60730 safety standard for household appliances TWR KL46Z48M User s Manua
5. DEF OPEN PTC5 LLWU P9 SPIO SCK CMPO _OUT J25 ACCELEROMETER INT2 DEF OPEN PTC6 LLWU_P10 EXTRG_IN SPI 0 MISO GPIO Header J9 1 PTE20 ADCO_DPO ADCO_SEO J9 2 PTE21 ADCO DMO ADCO SEAA J9 3 PTA1 TSIO CH2 UARTO RX J9 4 GND J9 5 SWD_DIO_TGTMCU J9 6 PTE31 FTMO_CH4 J9 7 PTB9 J9 8 PTA2 TSIO_CH3 UARTO_TX J9 9 PTB11 SPI1_SCK J9 10 PTB10 SP11_PCSO J9 11 PTC2 ADCO SE11 TSIO CH15 12 C1 SDA 19 12 GND 19 13 PTC4 LLWU_P8 UART1_TX FTM 0_CH3 J9 14 PTC3 LLWU_P7 UART1_RX FTM O_CH2 CLKOUT J9 15 PTC12 FTM_CLKINO J9 16 PTC6 LLWU_P10 EXTRG_IN SPI TWR KL46Z48M User s Manual Page 15 of 17 e oe e freescale semiconductor Module Jumper name Options Signal Designator 0 MISO J9 17 PTC16 J9 18 PTC13 FTM_CLKIN1 J9 19 GND J9 20 PTC17 LEDs SW3 1 8 Green LED DEF 1 2 PTA17 SW3 2 7 Red LED DEF 1 2 PTB8 EXTRG_IN J13 Orange LED DEF 1 2 PTE26 TPMO CH5 J15 Vellow LED DEF 1 2 PTA16 Push Buttons SW4 Pushbutton1 PTA4 SW2 Pushbutton2 PTC3 LLWU_P7 UART1_RX FTM O CH2 CLKOUT TSI Electrodes Eleci Electrodel TSIO_CH10 PTB16 TSIO CH9 Elec2 Electrode2 TSIO CH9 PTB17 TSIO CH10 8 Usefullinks Yy VvV V y Yy gt http www freescale com TWR KL46Z www freescale com www iar com freescale www pemicro com www freescale com codewarrior e CodeWarrior MCUv10 4 www segger com TWR KL46Z48M User s Manual Page 16 of 17 ey lt freescale
6. package It is intended for use in the Freescale Tower System but can operate stand alone An on board debug circuit OSJTAG provides a JTAG interface and a power supply input through a single USB mini AB connector The block diagram of the TWR KL46Z board is presented in the following figure 6 1 Block Diagram TOWER Elevator Expansion Connectors 8 MHz 32 768 KHz XTAL Osc IR Output REGULATOR REGULATOR Comparator INFRARED PORT MICRO USB Device Host USB SWD RESET B GPIO HEADER USER LED S JTAG SWD JTAG SWD TOUCH ELECTRODES TWR PI TOUCH SLCD External Connector Interface Circuits Freescale Device Figure 2 Block Diagram of TWR KL46Z TWR KL46Z48M User s Manual Page 6 of 17 freescale semiconductor 6 2 Microcontroller The TWR KL46Z is a Tower MCU Module featuring the MKL46Z256VLL4 a Kinetis microcontroller with USB 2 0 full speed OTG controllers and segment LCD controller in a 100 LQFP package It is intended for use in the Freescale Tower System but can operate stand alone An on board debug circuit openSDA provides a SWD interface and a power supply input through a single USB mini AB connector as well as a serial to USB and CDC class compliant UART interface Table 1 Features of MKL46Z256VLL4 Feature Description Ultra low power 10 low power modes with power and clock gating for optimal peripheral activity and recovery times Stop currents of lt 190 nA V
7. LLSO run currents of lt 280 uA MHz 4 us wake up from Stop mode Full memory and analog operation down to 1 71V for extended battery life Low leakage wake up unit with up to eight internal modules and sixteen pins as wake up sources in low leakage stop LLS very low leakage stop VLLS modes Low power timer for continual system operation in reduced power states Flash SRAM 256 KB flash featuring fast access times high reliability and four levels of security protection No user or system intervention to complete programming and erase functions and full operation down to 1 71V 32 KB of SRAM Mixed signal capability High speed 12 16 bit analog to digital converter ADC Comparator CMP with internal 6 bit digital to analog converter DAC 12 bit digital to analog converter DAC TWR KL46Z48M User s Manual Page 7 of 17 pa eo KA freescale semiconductor Performance 48 MHz ARM Cortex M0 core Up to four channel DMA for peripheral and memory servicing with reduced CPU loading and faster system throughput Cross bar switch enables concurrent multi master bus accesses increasing bus bandwidth Independent flash banks allowing concurrent code execution and firmware updating with no performance degradation or complex coding routines Bit manipulation engine BME allows execution of single instruction atomic bit modify write operations on the peripheral address space Timing and
8. SPI MISO 10 VSS Analog GND 10 SPI MOSI 11 VSS Analog GND 11 SPI SS 12 ADC Analog 2 12 SPI CLK 13 VSS Analog GND 13 GND 14 VSS Analog GND 14 GND 15 GND 15 GPIO GPIOO IRQ 16 GND 16 GPIO GPIO1 IRQ 17 ADC TWRPI ID O 17 GPIO GPIO2 18 ADC TWRPIID 1 18 GPIO GPIO3 19 GND 19 GPIO GPIO4 Timer 20 Reset 20 GPIO GPIO5 Timer TWR KL46Z48M User s Manual Page 12 of 17 Kei Ee 2 freescale semiconductor 6 11 Potentiometer Pushbuttons LEDs The TWR KL46Z features two pushbutton switches connected to GPIO interrupt signals one pushbutton connected to the master reset signal two capacitive touch pad electrodes four user controllable LEDs and a potentiometer connected to an ADC input signal Refer to Table 5 I O Connectors and Pin Usage Table for information about which port pins are connected to these features 6 12 Touch Interface TWRPI sLCD The touch sensing input TSI module of the MKL46Z256 MCUs provides capacitive touch sensing detection with high sensitivity and enhanced robustness Each TSI pin implements the capacitive measurement of an electrode The TWR KL46Z provides two methods for evaluating the TSI module There are two electrodes on board Additionally 12 TSI signals are connected to a Touch Tower Plug in TWRPI socket J2 that can accept Touch TWRPI daughter cards that may feature keypads rotary dials sliders etc Touch connector is also
9. compatible with TWRPI SLCD Table 4 shows TWRPI TWRPI sLCD pin out and corresponding connection to GD 6363P LCD Table 4 Touch TWRPI socket pinout Module Module Pin TWRPI LCD n KL46 pin signal 1 P5V_TRG_USB 2 V_BRD 3 Touch TWRPL1 LCD_P12 PTB16 TSIO CH9 UARTO RX 1 COMO 4 5 Touch_TWRPI_2 LCD_P13 PTB17 TSIO CH10 2 COM1 6 7 Touch_TWRPI_3 LCD P14 PTB18 TSIO_CH11 3 COM2 8 Touch_TWRPI_4 LCD_P15 PTB19 TSIO CH12 4 COM3 9 Touch_TWRPI_5 LCD_P23 PTC3 LLWU_P7 UART1_RX FTMO_CH2 CLKOUT 5 _3A 10 Touch_TWRPI_6 LCD PO PTBO ADCO SE8 TSIO CHO 6 S1 11 Touch TWRPI 7 LCD_P1 PTB1 ADCO SE9 TSIO CH6 7 _3F 12 Touch TWRPI 8 LCD_P2 PTB2 ADCO_SE12 TSIO_CH7 13 Touch TWRPI 9 LCD_P3 PTB3 ADCO_SE13 TSIO_CH8 8 28 14 Touch_TWRPI_10 LCD_P20 PTCO ADCO_SE14 TSIO_CH13 9 _2F 15 Touch TWRPI 11 LCD P22 PTC2 ADCO SE11 TSIO CH15 12C1 SDA 10 _1A 16 Touch_TWRPI_12 LCD_P24 PTC4 LLWU_P8 UART1_TX FTMO_CH3 11 _1F 17 Touch_TWRPI_IDO LCD_P59 PTE20 ADCO_DPO ADCO_SEO 18 Touch_TWRPI_ID1 LCD_P60 PTE21 ADCO_DMO0 ADCO_SE4A 19 GND 20 RST_TGT_MCU RST_TGTMCU_B TWR KL46Z48M User s Manual Page 13 of 17 2 freescale semiconductor 6 13 USB The MKL462256 features a full speed low speed USB module with OTG Host Device capability and built in transceiver The TWR KL46Z routes the USB D and D signal
10. ed transmit and receive Potentiometer GPIO header for prototyping Potentiometer for ADC measurements 32 768 clock for RTC operation Power selectable 3 3V 1 8V TWR KL46Z48M User s Manual Page 4 of 17 ey 2 freescale semiconductor 4 Getto Know the TWR KL46Z Touch sLCD TWRPI socket TWRPI Socket General Purpose il sal Reset push button 7 e ALE OpenSDA USB cw on o Se R47 e Ges d UART selection N 4 bur HO VREG input selector 3 3 1 8 VDD select General purpose Touch Sensing Electrodes and user s LEDs GPIO User s push button SW3 KL46 USB Port 8 k p RST d an 3 3 i R r SE HFE Ae oo User s push User LEDs KL46 S JTAG connector The documents listed below should be referenced for more information on the Kinetis family Tower System and MCU Modules These can be found in the documentation section of http www freescale com TWR KL46Z or http www freescale com kinetis 5 Reference Documents TWR KL46Z48M QSG Quick Start Guide TWR KL46Z48M_SCH Schematics TWR KL46Z48M PWB Design Package MKL46Z256VLL4 Reference Manual Tower Configuration Tool Tower Mechanical Drawing TWR KL46Z48M User s Manual Page 5 of 17 ke z freescale semiconductor 6 Hardware description The TWR KL46Z is a Tower MCU Module featuring the MKL46Z256VLL4 a Kinetis microcontroller with USB 2 0 full speed OTG controllers in a 64 LQFP
11. l Page 8 of 17 2 freescale semiconductor 6 3 Clocking The Kinetis MCUs start up from an internal digitally controlled oscillator DCO Software can enable the main external oscillator EXTALO XTALO if desired The external oscillator resonator can range from 32 768 KHz up to a 32 MHz An 8 MHz crystal is the default external source for the MCG oscillator inputs XTAL EXTAL A 32 768 KHz oscillato is connected to the RTC clock in input 6 4 System Power When installed into a Tower System the TWR KL46Z can be powered from either an on board source or from another source in the assembled Tower System In stand alone operation the main power source 5 0V for the TWR KL46Z48Mmodule is derived from either the openSDA USB mini B connector or the KL46 USB micro AB connector J5 Two low dropout regulators provide 3 3V and 1 8V supplies from the 5 0V input voltage Additionally the 3 3V regulator built into the KL46 can be selected to power the 3 3V bus All the user selectable options can be configured using two headers J7 and J3 6 5 Real Time Clock RTC Y500 is a 32 768 kHz oscillator connected to RTC_CLKIN By enabling the external clock input option in the RTC it can be used as a highly precise time reference 6 6 Debug Interface There are two debug interface options provided the on board openSDA circuit and an external ARM SWD connector 6 6 1 OpenSDA An on board MK20 OpenSDA circuit provides an SWD debug inte
12. rface to the MKL46Z256 A standard USB A male to mini B male cable provided can be used for debugging via the USB connector J5 The OpenSDA interface also provides a USB to serial bridge 6 6 2 Cortex Debug SWD Connector The Cortex Debug SWD connector is a standard 2x5 pin 0 05 connector providing an external debugger cable with access to the SWD interface of the MKL46Z256 TWR KL46Z48M User s Manual Page 9 of 17 ta z freescale semiconductor Table 2 Cortex Debug connector Pin Function TWR KL46Z Connection a Jaen IPTAO SGD CS Meng GHS SWO_CIK 5 JN LI 7 JN Le C C 6 7 UART UART2 can be connected to OpenSDA ot TWR Elevators through jumpers J10 and J11 J10 UART2_TX_TGTMCU PTE16 UART2_TX J11 UART2_RX_TGTMCU PTE17UART2_RX HDR TH K3 J10 1 UARTI TX EBEV EN 2 TERT EX ESTER gt UART2 TX TGTMCU S i 19 UARTI TX BEV lt C HDR WH 1X2 1 1 UART1 AX ELEV EN 2 3 UARTI TX Koo EN gt UART2AX TGTMCU Ba 6 8 Infrared Port An infrared transmit and receive interface is implemented as shown in Figure 5 The UART2_TX pin directly drives an infrared diode The receiver uses an infrared phototransistor connected to UART2_RX through a low TWR KL46Z48M User s Manual Page 10 of 17 ta z freescale semiconductor pass filter OS ETESBADZA DPNACCI SEMUARTI TX Te PTEIVADOC CND SGTALARTI AX Intensity will be different between V_BRD 1 8V and 3 3 Figure 3 Infrared circuit
13. s from the KL46Z256 MCU directly to the on board USB connector J5 A power supply switch with an enable input signal and over current flag output signal is used to supply power to the USB connector when the KL46Z256 is operating in host mode 7 TWR KL46Z Jumper options The following is a list of all the jumper options The default installed jumper settings are shown in bold Note Default Configuration Board powered by OSJTAG USB RTC powered by PWR_MCU Jumper Jumper Signal Jumper Option designator V BRD J7 V BRD DEF 1 3 VBRD 3 3V 1 5 VBRD 1 8V J28 VDDA_HDR DEF 1 2 VDDA to MCU_PWR VREG IN J3 VREG IN SELECTOR DEF 1 2 Regulator powered by SELECTOR OpenSDA 2 3 Regulator powered by TWR elevator MCU_PWR J27 MCU_PWR DEF 1 2 You can use this jumper for Idd measurements TWR KL46Z48M User s Manual Page 14 of 17 e e oe freescale semiconductor Table 5 Connectors and Pin Usage Module Jumper name Options Signal Designator USB J20 KL46 USN ENA DEF 1 2 PTB11 J21 KL46 USB FLGA DEF 1 2 PTE31 IRDA SW3 6 3 IRDAJ OFF PTE22 ADCO DP3 ADCO SE3 U ART2 TX SW3 5 4 CMPO INO OFF PTE23 ADCO DM3 ADCO SE7A UART2 RX Potentiometer J22 Potentiometer Enable DEF 1 2 PTE29 ADCO_SE4B Accelerometer J26 SDA Accelerometer DEF 1 2 PTC11 I2C1 SDA Enable J24 SCL Accelerometer Enable DEF 1 2 PTC10 12C1_SCL J23 ACCELEROMETER INT1
14. ule is designed to work either in standalone mode or as part of the Freescale Tower System a modular development platform that enables rapid prototyping and tool re use through reconfigurable hardware Take your design to the next level and begin constructing your Tower System today by visiting www freescale com tower for additional Tower System microcontroller modules and compatible peripherals For TWR KL46Z specific information and updates visit www freescale com TWR KL46Z Figure 1 Freescale Tower System Overview TWR KL46Z48M User s Manual Page 3 of 17 freescale semiconductor 2 Contents The TWR KL46Z contents include e TWR KL46Z board assembly e 3ft Ato mini B USB cable for debug interface and power e 3ft A to micro B USB cable for MKL46Z256VLL4 USB interface e Micro B to A adapter for MKL46Z256VLL4 USB Host applications e Quick Start Guide e TWRPI sLCD 3 TWR KL46Z Features e Tower compatible microcontroller module e MKL46Z256VLL4 MCU 48 MHz 256KB Flash 32 KB RAM segment LCD Low power 100 LQFP package e Dual role USB interface with Micro AB USB connector e Touch Tower Plug in sLCD Socket e General purpose Tower Plug in TWRPI socket e On board debug circuit MK20 openSDA serial debug interface with virtual serial port and mass storage device bootloader e Three axis accelerometer MMA8451Q e Four user controllable LEDs e Two capacitive touch pads e Two 2 user pushbutton switch e Infrar

Download Pdf Manuals

image

Related Search

Related Contents

  シクロクリーンポータブルシリーズ(PDF1.05MB  Samsung RSG5K User's Manual  Bosch 2609256A35  Room Mount Type - Takara Belmont  Nouveautés 2012 Collection Léopold Robert Deux Jeunes Filles à  atmósferas explosivas - Instituto Cántabro de Seguridad y Salud en  MS Play Sport Video Support and Upload Directions  HOT WATER SYSTEM TROUBLESHOOTING  Betriebsanleitung  

Copyright © All rights reserved.
Failed to retrieve file