NXP Semiconductors FRDM-KL28Z User Manual

NXP Semiconductors
Document Number: FRDMKL28ZUG
User's Guide
Rev. 0
,
Contents
1. Introduction .................................................................... 1
2. Getting Started ................................................................ 2
3. FRDM-KL28Z Features .................................................. 2
4. FRDM-KL28Z Hardware Description .............................. 4
4.1. Power supply ........................................................ 4
4.2. Serial and debug adapter (OpenSDA) .................... 5
4.3. Microcontroller ..................................................... 7
4.4. Capacitive touch slider .......................................... 9
4.5. I2C Inertial Sensor .............................................. 10
4.6. RGB LED........................................................... 11
4.7. Visible light sensor ............................................. 11
4.8. EMVSIM Header ................................................ 12
4.9. SPI2 Header ....................................................... 13
4.10. Analog reference voltage..................................... 13
4.11. Input/output headers............................................ 14
5. References .................................................................... 15
6. Revision History ........................................................... 15
FRDM-KL28Z User’s Guide
1. Introduction
The Freedom development platform is a set of software and hardware tools for evaluation and development. It is an ideal tool for the rapid prototyping of microcontroller-based applications.
The FRDM-KL28Z supports power supply voltage range from 1.71 V to 3.6 V. It features a KL28Z, a device boasting a maximum operating frequency of 96 MHz, up to 512 KB Flash and numerous analog and digital peripherals.
The FRDM-KL28Z includes the NXP 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.
The FRDM-KL28Z 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), a 3-axis digital angular rate gyroscope, an ambient light sensor, and a capacitive touch slider.
There are many software development tool options available to the user. Choices include Kinetis Design Studio (KDS), IAR Embedded Workbench, Keil MDK featuring the µVision IDE, and so on.
All of these features combine to give users the freedom needed to rapidly prototype many embedded designs: a
© 2016 NXP B.V.
FRDM-KL28Z Features
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.
2. Getting Started
Refer to the FRDM-KL28Z Quick Start Package for step-by-step instructions for getting started with the
freedom board. See the “Jump Start Your Design” section at nxp.com/FREDEVPLA for the Quick Start
Package and software lab guides.
3. FRDM-KL28Z Features
The FRDM-KL28Z hardware is a Freedom development board assembled with the following features:
MKL28Z512VLL7 MCU (96 MHz, 512 KB Flash, 128 KB RAM, 32 KB ROM,100 LQFP
package)
3-Axis Digital Angular Rate Gyroscope, FXAS21002CQ (U2) Accelerometer and magnetometer, FXOS8700CQ (U10) OpenSDA: On-board serial and debug adapter (U7) I/O headers for easy access to MCU I/O pins Ambient light sensor (Q1) Flexible power supply options: USB, coin cell battery, external source Capacitive touch slider Reset push button (SW1) NMI and LLWU buttons (SW2, SW3) RGB LED (D2)
The FRDM-KL28Z features two MCUs: The target MCU is the MKL28Z512VLL7. The OpenSDA MCU is the MK20DX128VFM5.
The primary components and their location on the hardware assembly are pointed out in Figure 1.
Figure 2 shows a block diagram of the FRDM-KL28Z board.
FRDM-KL28Z User’s Guide, Rev. 0, 06/2016
2 NXP Semiconductors
FRDM-KL28Z Features
MK20DX128VFM5
KL28Z
Digital Angular
Rate Gyroscope
Accelerometer and
Magnetometer
Capacitive touch
slider
RGB LED
Open SDA USB
KL28Z USB
SPI2 Header
Ambient Light
Sensor
Reset Push Button
LLWU button
NMI button
Figure 1. FRDM-KL28Z feature call-outs
Figure 2. FRDM-KL28Z block diagram
NXP Semiconductors 3
FRDM-KL28Z User’s Guide, Rev. 0, 06/2016
FRDM-KL28Z Hardware Description
Supply Source & Location
Valid Range
OpenSDA Operational?
Regulated on-board?
OpenSDA USB (J13)
5 V
Yes
Yes
KL28Z USB (J10)
5 V
No
Yes
P5V0-9V0_VIN
(J3 PIN16)
4.3-9 V
No
Yes
P3V3 PinJ3 PIN8
1.71-3.6 V
No
No
Battery
2-3.6 V
No
No
4. FRDM-KL28Z Hardware Description
4.1. Power supply
The FRDM-KL28Z offers a design with multiple power supply options. It can be powered from the USB connector, battery on the board, the VIN pin on the I/O header, or an off-board 1.71-3.6 V supply from the 3.3 V 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. Other sources are not regulated on-board.
The following table provides the operational details and requirements for the power supplies.
Table 1. Tags Power supply requirements
Figure 3 shows the schematic drawing for the power supply inputs and the on-board voltage regulator.
In addition, regulated power can be supplied to J3 pin 16 from an external source through P5-9V_VIN by populating the board with an optional voltage regulator (for instance 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, C34, C35, C36, and C37 should be populated with appropriately sized capacitors to match the regulator chosen.
4 NXP Semiconductors
Figure 3. Power supply schematic
FRDM-KL28Z User’s Guide, Rev. 0, 06/2016
FRDM-KL28Z Hardware Description
Power Supply Name
Description
P5V0-9V0_VIN
Power supplied from the VIN pin of the I/O headers (J3 pin 16).
P5V_SDA
Power supplied from the OpenSDA USB connector
P5V_USB
Nominal 5 V is supplied to the I/O headers (J3 pin 10). Sourced from either the P5V_KL28Z
or P5V_SDA through a back drive protection Schottky diode.
P5V_KL28Z
Power supplied from the Mini USB connector.
P3V3_VREG
Regulated 3.3 V supply. Sources power to the P3V3 supply rail through an optional back
drive protection Schottky diode.
P3V3
Main supply rail for the FRDM-KL28Z. Can be sourced from P3V3_VREG (J3 pin 8).
P3V3_KL28Z
KL28Z MCU power supply. Header J17 provides a convenient means for KL28Z energy
consumption measurements.
P3V3_SDA
OpenSDA circuit power supply.
P3V3_BATT
Coin cell battery supply voltage. Sources power to the P3V supply rail with the option of
adding a Schottky diode.
NOTE
The OpenSDA circuit is operational only when a USB cable is connected and supplying power to J13. However, the protection circuitry is in place to allow multiple sources to be powered at once.
Table 2. FRDM-KL28Z power supplies
NOTE
J9 and J17 are populated by default. It is very convenient to measure the energy consumption of the KL28Z by a parallel voltmeter or a series ammeter.
4.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 4. 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 is managed by a Kinetis K20 MCU built on the ARM Cortex-M4 core. The OpenSDA circuit includes a status LED (D1) and a RESET pushbutton (SW1). The pushbutton asserts the Reset signal to the KL28Z 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 J13. 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 KL28Z. Additionally, signal connections are available to implement a UART serial channel. The OpenSDA circuit receives power when the USB connector J13 is plugged into a USB host.
FRDM-KL28Z User’s Guide, Rev. 0, 06/2016
NXP Semiconductors 5
Loading...
+ 11 hidden pages