FRDM-KE15Z
Overview
The FRDM-KE15Z is a development board for NXP Kinetis KE1xZ 32-bit MCU-based platforms. The FRDM-KE15Z contains a robust TSI module with up to 50 channels which makes this board highly flexible for touch keys. Offers options for serial communication, flash programming, and run-control debugging.
Hardware
MKE15Z256VLL7 MCU (up to 72 MHz, 256 KB flash memory, 32 KB RAM)
OpenSDA Debug Circuit with a virtual serial port
Touch electrodes in the self-capacitive mode
Compatible with FRDM-TOUCH, FRDM-MC-LVBLDC, and Arduino® boards
User Components such as Reset; RGB LED and two user buttons
6-axis FXOS8700CQ digital accelerometer and magnetometer
For more information about the KE1xZ SoC and the FRDM-KE15Z board, see these NXP reference documents:
Supported Features
The frdm_ke15z board configuration supports the following hardware features:
Interface |
Controller |
Driver/Component |
---|---|---|
NVIC |
on-chip |
nested vector interrupt controller |
SYSTICK |
on-chip |
systick |
GPIO |
on-chip |
gpio |
UART |
on-chip |
uart polling; uart interrupt |
The default configuration can be found in the defconfig file: boards/nxp/frdm_ke15z/frdm_ke15z_defconfig.
Other hardware features are not currently supported by the port.
System Clock
The KE15 SoC is configured to run at 48 MHz using the FIRC.
Serial Port
The KE15 SoC has three UARTs. UART1 is configured for the console.
Programming and Debugging
Build and flash applications as usual (see Building an Application and Run an Application for more details).
Configuring a Debug Probe
A debug probe is used for both flashing and debugging the board. This board is configured by default to use Linkserver.
Early versions of this board have an outdated version of the OpenSDA bootloader and require an update. Please see the DAPLink Bootloader Update page for instructions to update from the CMSIS-DAP bootloader to the DAPLink bootloader.
Option 1: Linkserver
Install the LinkServer Debug Host Tools and make sure they are in your search path. LinkServer works with the default CMSIS-DAP firmware included in the on-board debugger.
Linkserver is the default for this board, west flash
and west debug
will
call the linkserver runner.
Option 2: OpenSDA J-Link Onboard Debug Probe
Install the J-Link Debug Host Tools and make sure they are in your search path.
Follow the instructions in OpenSDA J-Link Onboard Debug Probe to program
the OpenSDA J-Link Firmware for FRDM-KE15Z.
Use the -r jlink
option with west to use the jlink runner.
west flash -r jlink
Configuring a Console
Regardless of your choice in debug probe, we will use the OpenSDA microcontroller as a usb-to-serial adapter for the serial console.
Connect a USB cable from your PC to J5.
Use the following settings with your serial terminal of choice (minicom, putty, etc.):
Speed: 115200
Data: 8 bits
Parity: None
Stop bits: 1
Flashing
Here is an example for the Hello World application.
# From the root of the zephyr repository
west build -b frdm_ke15z samples/hello_world
west flash
Open a serial terminal, reset the board (press the SW1 button), and you should see the following message in the terminal:
*** Booting Zephyr OS build v3.6.0-3478-gb923667860b1 ***
Hello World! frdm_ke15z/mke15z7
Debugging
Here is an example for the Hello World application.
# From the root of the zephyr repository
west build -b frdm_ke15z samples/hello_world
west debug
Open a serial terminal, step through the application in your debugger, and you should see the following message in the terminal:
***** Booting Zephyr OS v3.6.0-xxx-gxxxxxxxxxxxx *****
Hello World! frdm_ke15z