FRDM-KL46Z FREESCALE | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 17
Technical content
Freescale Semiconductor Inc. Microcontroller Solutions Group FRDM-KL46Z User’s Manual FRDM-KL46Z-UM Rev. 1.0
Freescale Semiconductor, Inc FRDM-KL46Z Page 2 of 17 Table of Contents
1 FRDM-KL46Z Overview
built on the ARM® Cortex™-M0+ core. magnetometer, capacitive touch slider, and ambient light sensor. The FRDM-KL46Z 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 References documents
are available online at www.freescale.com/FRDM-KL46Z. Table 1. FRDM-KL46Z Reference Documents
3 Getting started
Package and software lab guides.
Freescale Semiconductor, Inc FRDM-KL46Z Page 4 of 17
4 FRDM-KL46Z Hardware Overview
The features of the FRDM-KL46Z include> MKL46Z256VLLZ4 MCU (48 MHz, 256KB Flash, 32 KB RAM, Low power, 100LQFP package) Dual role USB interface with mini-B USB connector Open SDA 4 digit segment LCD module Capacitive touch slider Ambient light sensor MMA8451Q accelerometer MAG3110 Magnetometer 2 user LEDs 2 user push buttons 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: o Mass storage device flash programming interface o P&E Debug interface provides run-control debugging and compatibility with IDE tools o CMSIS-DAP interface: new ARM standard for embedded debug interface o Data logging application Arduino R3 compatibility Figure 1 shows a block diagram of the FRDM-KL46Z design. The primary components and their placement on the hardware assembly are pointed out in Figure 2.
Figure 1. FRDM-KL46Z block diagram
Figure 2. FRDM-KL46Z main components placement.
5 FRDM-KL46Z Hardware Description
5.1.1 Power Supply
provides the operational details and requirements for the power supplies. Table 2. FRDM-KL46 Power Requirements OpenSDA USB. However, protection circuitry is in place to allow multiple sources to be powered at once.
Table 3. FRDM-KL46Z Power Supplies Schottky diode provides back drive protection. diode provides back drive protection. provides back drive protection. supply rail through a back drive protection Schottky diode. drive protection Schottky diode. can then be applied to measure the energy consumption on these rails.
5.1.2 Serial and Debug Adapter (OpenSDA)
Kinetis K20 family microcontroller (MCU) with 128 KB of embedded flash and an integrated USB controller. converters, and more. Refer to the OpenSDA User’s Guide for more details. Figure 4. OpenSDA High-Level Block Diagram channel. The OpenSDA circuit receives power when the USB connector J13 is plugged into a USB host. that it will not interfere with the communications to an off-board MCU connected to J11.
Freescale Semiconductor, Inc FRDM-KL46Z Page 10 of 17 Figure 5 SWD Debug Connector Note that J11 is not-populated by default. A Samtec FTSH-105-02-F-D or compatible connector can be added to the J11 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-KL46Z to an off-board SWD connector. Virtual Serial Port A serial port connection is available between the OpenSDA MCU and pins PTA1 and PTA2 of the KL46. Several of the default OpenSDA Applications provided by Freescale, including the MSD Flash Programmer and the P&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 K20.
5.3 MKL46Z4 Microcontroller
The target microcontroller of the FRDM-KL46Z is the KL462Z256VLL4, a Kinetis L series device in an 100 LQFP package. The KL46Z MCU features include:. 32-bit ARM Cortex-M0+ core o up to 48 MHz operation o Single-cycle fast I/O access port
Freescale Semiconductor, Inc FRDM-KL46Z Page 11 of 17 Memories 256 KB flash 32 KB SRAM System integration o Power management and mode controllers o Low-leakage wakeup unit o Bit manipulation engine for read-modify-write peripheral operations o Direct memory access (DMA) controller o Computer operating properly (COP) Watchdog timer Clocks o Clock generation module with FLL and PLL for system and CPU clock generation o 4 MHz and 32 kHz internal reference clock o System oscillator supporting external crystal or resonator o Low-power 1kHz RC oscillator for RTC and COP watchdog Analog peripherals o 16-bit SAR ADC w/ DMA support o 12-bit DAC w/ DMA support o High speed comparator o Communication peripherals o One Integrated Interchip Sound(I2S) Audio Interface(SAI) o Two 8-bit Serial Peripheral Interfaces (SPI) o USB dual-role controller with built-in FS/LS transceiver o USB voltage regulator o Two I2C modules o One low-power UART and two standard UART modules Timers o One 6-channel Timer/PWM module o Two 2-channel Timer/PWM modules o 2-channel Periodic Interrupt Timer (PIT) o Real time clock (RTC) o Low-power Timer (LPT) o System tick timer Human-Machine Interfaces (HMI) o Segment LCD controller. Maximum segment is 8X47 or 4x51. o General purpose input/output controller o Capacitive touch sense input interface hardware module
Freescale Semiconductor, Inc FRDM-KL46Z Page 12 of 17
5.1.3 Clock source
The Kinetis KL46 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 KL46Z256on the FRDM-KL46Z is clocked from an 8 MHz crystal..
5.1.4 USB Interface
The Kinetis KL46 microcontrollers feature a dual-role USB controller with on-chip full-speed and low-speed transceivers. The USB interface on the FRDM-KL46Z is configured as a full-speed USB device. VREGIN must be powered to enable the internal circuitry of USB (by jumper J7)
5.1.5 Serial Port
The primary serial port interface signals are PTA1 UART0 RX and PTA2 UART0_TX. These signals are connected the OpenSDA
5.1.6 Reset
The RESET signal on the K20 is connected externally to a pushbutton, SW2, and also 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 the OpenSDA circuit into bootloader mode. Please refer to section 5.2, Serial and Debug Adapter (OpenSDA), for more details.
5.1.7 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-KL46Z is the onboard OpenSDA circuit (see section 5.2). However, an unpopulated 10-pin (0.05”) Cortex Debug connector, J11, provides access to the SWD signals. The Samtec FTSH-105-02-F-D or compatible connectors can be added to the J11 through-hole debug connector to allow for an external debug cable to be connected.
5.1.8 Segment LCD
connection from KL46 to s401 display. Table 4. sLCD connections
1 LCD_P40 (COM0)
2 LCD_P52 (COM1)
3 LCD_P19 (COM2)
4 LCD_P18 (COM3)
5 LCD_P37
6 LCD_P17
7 LCD_P7
8 LCD_P8
9 LCD_P53
10 LCD_P38
11 LCD_P10
12 LCD_P11
5.1.9 Capacitive Touch Slider
implementing the capacitive touch slider.
5.1.10 Three-axis Accelerometer
signals as shown in Table 5 below. By default, the I2C address is 0x1D (SA0 pulled high). Table 5. Accelerometer Signal Connections
5.1.11 Three-axis Digital Magnetometer
Table 6. Magnetometer Signal Connections
5.1.12 LEDs
Two LED, Green LED is PWM capable, Signal connections are shown in Table 7. Table 7. LED Signal Connections
Freescale Semiconductor, Inc FRDM-KL46Z Page 15 of 17
5.1.13 Visible light sensor
The FRDM-KL46Z has a visible light sensor that is connected to ADC0_SE3 Figure 7 Visible light sensor schematic PTE22/ADC0_DP3/ADC0_SE3/
Freescale Semiconductor, Inc FRDM-KL46Z Page 16 of 17
5.1.14 Input/Output Connectors
The MKL46Z256VLL4 microcontroller is packaged in a 100-pin LQFP. Some pins are utilized in on-board circuitry, but many are directly connected to one of four I/O headers. The pins on the KL46 microcontroller are named for their general purpose input/output port pin function. For example, the 1st pin on Port A is referred to as PTA1. The I/O connector pin names are given the same name as the KL46 pin connected to it, where applicable. Figure 8 FRDM-KL46 Pin-Out
Freescale Semiconductor, Inc FRDM-KL46Z Page 17 of 17 Note that all pinout data is available in spreadsheet format in FRDM-KL46Z Pinouts. See the Reference Documents section for details.
5.1.15 Arduino Compatibility
The I/O headers on the FRDM-KL46Z 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 spacing and placement as the I/O headers on the Arduino Revision 3 (R3) standard.