NXP K32 L2 User guide

Type
User guide

This manual is also suitable for

NXP K32 L2: is an MCU module featuring the K32L2B3—a K32 L Series MCU in a 64 LQFP package. The K32L2B3 is a 32-bit Arm Cortex-M0+ core MCU clocked at 48 MHz and has memories of up to 256 KB of flash and 32 KB of SRAM. It includes two 8-bit Serial Peripheral Interfaces (SPI), USB FS device controller, UART, FlexIO module, and Timers. The module also features an on-board OpenSDA debug circuit that provides a SWD debug interface to the K32L2B31VLH0A and a USB-to-serial bridge.

NXP K32 L2: is an MCU module featuring the K32L2B3—a K32 L Series MCU in a 64 LQFP package. The K32L2B3 is a 32-bit Arm Cortex-M0+ core MCU clocked at 48 MHz and has memories of up to 256 KB of flash and 32 KB of SRAM. It includes two 8-bit Serial Peripheral Interfaces (SPI), USB FS device controller, UART, FlexIO module, and Timers. The module also features an on-board OpenSDA debug circuit that provides a SWD debug interface to the K32L2B31VLH0A and a USB-to-serial bridge.

FRDM-K32L2B3 Freedom Board
NXP Semiconductors Document identifier: FRDMK32L2B3UG
User's Guide Rev. 0, 04/2020
Contents
Chapter 1 Overview............................................................................................... 3
Chapter 2 FRDM-K32L2B3 features......................................................................4
Chapter 3 Get to know the FRDM-K32L2B3..........................................................5
Chapter 4 References ...........................................................................................6
Chapter 5 Hardware description............................................................................ 7
Chapter 6 FRDM-K32L2B3 jumper options and headers.................................... 10
Chapter 7 Known issue........................................................................................11
Chapter 8 Useful links..........................................................................................12
NXP Semiconductors
FRDM-K32L2B3 Freedom Board, Rev. 0, 04/2020
User's Guide 2 / 13
Chapter 1
Overview
The FRDM-K32L2B3 Freedom board is designed to work in a stand-alone mode or as the main board of the Arduino boards.
The FRDM-K32L2B3 is a modular development platform that enables rapid prototyping and tool reuse through reconfigurable
hardware.
NXP Semiconductors
FRDM-K32L2B3 Freedom Board, Rev. 0, 04/2020
User's Guide 3 / 13
Chapter 2
FRDM-K32L2B3 features
The FRDM-K32L2B3 supports the following features:
MK32L2B31VLH0A MCU (Arm
®
Cortex
®
-M0+ core, 48-MHz clock, up to 256 KB of Flash, 32 KB of RAM, 64LQFP
package)
I/O headers for easy access to MCU I/O pins
Compatible with Arduino boards
On-board debug circuit: MK20DX128VFM5 (OpenSDA) with a virtual serial port
NXP inertial sensor FXOS8700CQ
Reset button and two user buttons
2 user LEDs
Four-digit segment LCD module
Dual-role USB interface with a micro USB connector
NXP Semiconductors
FRDM-K32L2B3 Freedom Board, Rev. 0, 04/2020
User's Guide 4 / 13
Chapter 3
Get to know the FRDM-K32L2B3
Figure 1. FRDM-K32L2B3 top side
The FRDM-K32L2B3 features two MCUs: the target MCU and the serial and debug adapter (OpenSDA) MCU. The target MCU
is a K32 L series family device (K32L2B31VLH0A). The OpenSDA MCU is a Kinetis K series K20 family device
(MK20DX128VFM5).
NXP Semiconductors
FRDM-K32L2B3 Freedom Board, Rev. 0, 04/2020
User's Guide 5 / 13
Chapter 4
References
The documents listed below should be referenced for more information on the K32 L series, Freedom System, and MCU modules.
These can be found in the documentation section at www.nxp.com/FRDM-K32L2B3.
FRDM-K32L2B3-SCH (schematics)
K32L2B3xRM (reference manual)
Software package
NXP Semiconductors
FRDM-K32L2B3 Freedom Board, Rev. 0, 04/2020
User's Guide 6 / 13
Chapter 5
Hardware description
FRDM-K32L2B3 is a Freedom MCU module featuring the K32L2B3—a K32 L Series MCU in a 64 LQFP package. An on-board
OpenSDA debug circuit provides the Serial Wire Debug (SWD) interface and a power supply input through a single micro-USB
connector. The block diagram of the FRDM-K32L2B3 board is shown in Figure 2.
Figure 2. Block diagram of FRDM-K32L2B3
5.1 MCU
FRDM-K32L2B3 features the K32L2B31VLH0A MCU. This 48-MHz MCU is a part of the K32 L family and it is implemented in a
64 LQFP package. The features of the K32L2B31VLH0A MCU are as follows:
32-bit Arm Cortex-M0+ core, 48 MHz
Memories
Up to 256 KB of flash
32 KB of SRAM
Clocks
Clock generation module with a High-frequency Internal Reference Clock (HIRC) of 48 MHz and two Low-frequency
Internal Reference Clocks (LIRC) of 2 MHz and 8 MHz for the system and CPU clock generation
System oscillator supporting external crystals or resonators
Low-power 1-KHz RC oscillator for the RTC and COP watchdog
Analog peripherals
16-bit SAR ADC w/ DMA support
NXP Semiconductors
FRDM-K32L2B3 Freedom Board, Rev. 0, 04/2020
User's Guide 7 / 13
12-bit DAC w/ DMA support
Two high-speed analog comparators (CMP) with internal 6-bit Digital-to-Analog Converters (DAC)
VREF 1.2 V voltage reference
Connectivity and communications interfaces
Two 8-bit Serial Peripheral Interfaces (SPI)
USB FS device controller
USB voltage regulator
Two I
2
C modules
Two low-power UART modules (LPUART)
UART with an ISO7816 module
FlexIO module (with 8 pins/4 shifters/4 timers implemented)
Timers
6-channel Timer/PWM module
Two 2-channel Timer/PWM modules
2-channel Periodic Interrupt Timer (PIT)
Real-Time Clock (RTC)
Low-Power Timer (LPT)
System tick timer
Human-Machine Interface (HMI)
Segment LCD controller—the maximum segment is 8 x 28/4 x 32
General-purpose input/output controller clocking
The K32 L series MCU starts up from the internal 48-MHz HIRC by default. The software can enable the main external oscillator
(EXTAL/XTAL) if desired. The external oscillator ranges from 4 MHz to 40 MHz. The 8-MHz oscillator is the default external
source for the system and RTC clocks (respectively) on the FRDM-K32L2B3 board.
5.2 System power
FRDM-K32L2B3 is compatible with DC 5 V and 3.3 V power supplies, because the K32L2B3 MCU can work at voltages from
1.71 V to 3.6 V.
The main power source for the FRDM-K32L2B3 module is derived from the OpenSDA USB micro-B connector (J13). One low-
dropout regulator provides a 3.3-V supply from the 5-V input voltage. Refer to the "POWER" page of the FRDM-K32L2B3
schematics for more details. The OpenSDA MK20DX128VFM5 is always powered by 3.3 V.
5.3 Debug interface
There are two debug interfaces provided: the on-board OpenSDA circuit and the external Arm Cortex SWD connector (J11). The
ARM Cortex SWD connector is a standard 10-pin connector that provides an external debugger cable access to the SWD interface
of the K32L2B31VLH0A. Alternatively, the on-board OpenSDA debug interface can be used to access the debug interface of the
K32L2B31VLH0A.
5.4 OpenSDA
The on-board MK20DX128VFM5-based OpenSDA circuit provides a SWD debug interface to the K32L2B31VLH0A. A standard
USB A male to micro-B male cable can be used for debugging via the USB connector (J13). The OpenSDA interface also provides
a USB-to-serial bridge. The drivers for the OpenSDA interface are at the official NXP website. These drivers and more utilities
NXP Semiconductors
Hardware description
FRDM-K32L2B3 Freedom Board, Rev. 0, 04/2020
User's Guide 8 / 13
are at www.nxp.com/design/microcontrollers-developer-resources/ides-for-kinetis-mcus/opensda-serial-and-debug-
adapter:OPENSDA.
Figure 3. OpenSDA block diagram
5.5 Accelerometer and magnetometer
The FXOS8700CQ 6-axis digital sensor accelerometer and magnetometer is connected to the K32L2B31VLH0A MCU through
an the I
2
C interface (I2C0) and GPIO/IRQ signals (PTE24 and PTE25).
5.6 Pushbuttons, visible light sensor, and LEDs
FRDM- K32L2B3 also features:
Two push-button switches: SW1-PTA4 and SW3-PTC3
Visible light sensor connected to the ADC input signals (ADC0_SE3/PTE22)
Two LEDs
NXP Semiconductors
Hardware description
FRDM-K32L2B3 Freedom Board, Rev. 0, 04/2020
User's Guide 9 / 13
Chapter 6
FRDM-K32L2B3 jumper options and headers
FRDM-K32L2B3 jumper options and headers shows all jumper options on the FRDM-K32L2B3. The default installed jumper
settings are indicated by in bold.
Table 1. FRDM-K32L2B3 jumper options
Option Jumper Setting Description
K32L2 SWD CLK J18 ON Connect J11_4 to
K32L2_SWD_CLK
OFF Disconnect J11_4 to
K32L2_SWD_CLK
MCU VDD current
measurement
J17 ON Connect VDD to
VDD_K32L2B3
OFF Allow current measurement
on MCU VDD
VDD_K32L2 J20 ON Connect VDD_K32L2 to
P3V3_K32L2
OFF Disconnect VDD_K32L2 to
P3V3_K32L2
Visible light sensor J8 ON Connect visible light sensor
to PTE22
OFF Disconnect visible light
sensor to PTE22
SW3 J21 ON Connect SW3 to PTC3
OFF Disconnect SW3 to PTC3
VREGIN J7 ON Connect VREGIN to
P5V_K32L2
OFF Disconnect VREGIN to
P5V_K32L2
P3V3_SDA J9 ON Connect P3V3_SDA to
P3V3_VREG
OFF Disconnect P3V3_SDA to
P3V3_VREG
NXP Semiconductors
FRDM-K32L2B3 Freedom Board, Rev. 0, 04/2020
User's Guide 10 / 13
Chapter 7
Known issue
In the SCH-46355 Rev A version, C1 is not DNP. Because there is only a weak internal pull-up resistor on the NMI pin (SW1), it
may cause an unexpected NMI interrupt at powerup if the NMI is enabled, or boot a ROM entry (if it is enabled). Removing
capacitor C1 prevents this. If a filter is required, an external pull-up resistor of 4.7 k and a capacitor of 100 pF are suggested. In
Rev A1, capacitor C1 is DNP.
NXP Semiconductors
FRDM-K32L2B3 Freedom Board, Rev. 0, 04/2020
User's Guide 11 / 13
Chapter 8
Useful links
www.nxp.com
www.iar.com/NXP
www.segger.com
www.segger.com/jlink-flash-download.html
NXP Semiconductors
FRDM-K32L2B3 Freedom Board, Rev. 0, 04/2020
User's Guide 12 / 13
How To Reach Us
Home Page:
nxp.com
Web Support:
nxp.com/support
Information in this document is provided solely to enable system and software implementers to
use NXP 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. NXP
reserves the right to make changes without further notice to any products herein.
NXP makes no warranty, representation, or guarantee regarding the suitability of its products for
any particular purpose, nor does NXP 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 NXP 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. NXP does not convey any license under
its patent rights nor the rights of others. NXP sells products pursuant to standard terms and
conditions of sale, which can be found at the following address: nxp.com/
SalesTermsandConditions.
While NXP has implemented advanced security features, all products may be subject to
unidentified vulnerabilities. Customers are responsible for the design and operation of their
applications and products to reduce the effect of these vulnerabilities on customer’s applications
and products, and NXP accepts no liability for any vulnerability that is discovered. Customers
should implement appropriate design and operating safeguards to minimize the risks associated
with their applications and products.
NXP, the NXP logo, NXP SECURE CONNECTIONS FOR A SMARTER WORLD, COOLFLUX,
EMBRACE, GREENCHIP, HITAG, ICODE, JCOP, LIFE VIBES, MIFARE, MIFARE CLASSIC,
MIFARE DESFire, MIFARE PLUS, MIFARE FLEX, MANTIS, MIFARE ULTRALIGHT,
MIFARE4MOBILE, MIGLO, NTAG, ROADLINK, SMARTLX, SMARTMX, STARPLUG, TOPFET,
TRENCHMOS, UCODE, Freescale, the Freescale logo, AltiVec, CodeWarrior, ColdFire,
ColdFire+, the Energy Efficient Solutions logo, Kinetis, Layerscape, MagniV, mobileGT, PEG,
PowerQUICC, Processor Expert, QorIQ, QorIQ Qonverge, SafeAssure, the SafeAssure logo,
StarCore, Symphony, VortiQa, Vybrid, Airfast, BeeKit, BeeStack, CoreNet, Flexis, MXC, Platform
in a Package, QUICC Engine, Tower, TurboLink, EdgeScale, EdgeLock, eIQ, and Immersive3D
are trademarks of NXP B.V. All other product or service names are the property of their respective
owners. AMBA, Arm, Arm7, Arm7TDMI, Arm9, Arm11, Artisan, big.LITTLE, Cordio, CoreLink,
CoreSight, Cortex, DesignStart, DynamIQ, Jazelle, Keil, Mali, Mbed, Mbed Enabled, NEON,
POP, RealView, SecurCore, Socrates, Thumb, TrustZone, ULINK, ULINK2, ULINK-ME, ULINK-
PLUS, ULINKpro, µVision, Versatile are trademarks or registered trademarks of Arm Limited (or
its subsidiaries) in the US and/or elsewhere. The related technology may be protected by any or
all of patents, copyrights, designs and trade secrets. All rights reserved. Oracle and Java are
registered trademarks of Oracle and/or its affiliates. The Power Architecture and Power.org word
marks and the Power and Power.org logos and related marks are trademarks and service marks
licensed by Power.org.
©
NXP B.V. 2020. All rights reserved.
For more information, please visit: http://www.nxp.com
For sales office addresses, please send an email to: [email protected]
Date of release: 04/2020
Document identifier: FRDMK32L2B3UG
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13

NXP K32 L2 User guide

Type
User guide
This manual is also suitable for

NXP K32 L2: is an MCU module featuring the K32L2B3—a K32 L Series MCU in a 64 LQFP package. The K32L2B3 is a 32-bit Arm Cortex-M0+ core MCU clocked at 48 MHz and has memories of up to 256 KB of flash and 32 KB of SRAM. It includes two 8-bit Serial Peripheral Interfaces (SPI), USB FS device controller, UART, FlexIO module, and Timers. The module also features an on-board OpenSDA debug circuit that provides a SWD debug interface to the K32L2B31VLH0A and a USB-to-serial bridge.

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI