FRDM-KE17Z
Overview
The FRDM-KE17Z is a development board for NXP Kinetis KE1xZ 32-bit MCU-based platforms. The FRDM-KE17Z 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
MKE17Z256VLL7 MCU (up to 72 MHz, 256 KB flash memory, 48 KB SRAM, and 100 Low profile Quad Flat Package (LQFP))
3.3 V or 5 V MCU operation
6-axis FXOS8700CQ digital accelerometer
3-axis digital angular rate gyroscope
One RGB LED
Two user push-buttons
Thermistor
Two capacitive touchpads
Flex I/O pin header
For more information about the KE1xZ SoC and the FRDM-KE17Z board, see these NXP reference documents:
Supported Features
The frdm_ke17z
board supports the hardware features listed below.
- on-chip / on-board
- Feature integrated in the SoC / present on the board.
- 2 / 2
-
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files. -
vnd,foo
-
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.
Type |
Location |
Description |
Compatible |
---|---|---|---|
CPU |
on-chip |
ARM Cortex-M0+ CPU1 |
|
ADC |
on-chip |
NXP ADC121 |
|
Clock control |
on-chip |
NXP Kinetis SCG (System Clock Generator) IP node1 |
|
on-chip |
Generic fixed-rate clock provider3 |
||
on-chip |
Generic fixed factor clock provider4 |
||
on-chip |
NXP Kinetis PCC (Peripheral Clock Controller) IP node1 |
||
Comparator |
on-chip |
NXP Kinetis ACMP (Analog CoMParator)1 |
|
Counter |
on-chip |
NXP LPTMR1 |
|
DMA |
on-chip |
NXP MCUX EDMA controller1 |
|
Flash controller |
on-chip |
NXP Kinetis Flash Memory Module A (FTFA)1 |
|
GPIO & Headers |
on-chip |
A group of GPIOs that share an interrupt2 |
|
on-chip |
|||
I2C |
on-chip |
||
Input |
on-board |
Group of GPIO-bound input keys1 |
|
Interrupt controller |
on-chip |
ARMv6-M NVIC (Nested Vectored Interrupt Controller) controller1 |
|
LED |
on-board |
Group of GPIO-controlled LEDs1 |
|
on-board |
Group of PWM-controlled LEDs1 |
||
Miscellaneous |
on-chip |
NXP FlexIO controller1 |
|
MTD |
on-chip |
Flash node1 |
|
on-board |
Fixed partitions of a flash (or other non-volatile storage) memory1 |
||
Pin control |
on-chip |
NXP PORT Pin Controller5 |
|
on-chip |
NXP PORT Pin Controller1 |
||
PWM |
on-chip |
NXP FlexTimer Module (FTM) PWM controller1 |
|
on-chip |
Kinetis PWT PWM Capture1 |
||
Serial controller |
on-chip |
||
SPI |
on-chip |
||
Timer |
on-chip |
ARMv6-M System Tick1 |
|
on-chip |
NXP FlexTimer Module (FTM)2 |
||
Watchdog |
on-chip |
NXP watchdog (WDOG32)1 |
System Clock
The KE17Z SoC is configured to run at 48 MHz using the FIRC.
Serial Port
The KE17Z SoC has three UARTs. UART0 is configured for the console.
Programming and Debugging
The frdm_ke17z
board supports the runners and associated west commands listed below.
flash | debug | attach | debugserver | rtt | |
---|---|---|---|---|---|
jlink | ✅ | ✅ | ✅ | ✅ | ✅ |
linkserver | ✅ (default) | ✅ (default) | ✅ | ✅ |
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
andwest debug
will call the linkserver runner.
west flash
External JLink: J-Link External Debug Probe
Install the J-Link Debug Host Tools and make sure they are in your search path.
Attach a J-Link 10-pin connector to J14. Check that jumpers J8 and J9 are
off (they are on by default when boards ship from the factory) to ensure
SWD signals are disconnected from the OpenSDA microcontroller.
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 J6.
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_ke17z 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 xxxxxxxxxxxx ***
Hello World! frdm_ke17z/mke17z7
Debugging
Here is an example for the Hello World application.
# From the root of the zephyr repository
west build -b frdm_ke17z 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 build xxxxxxxxxxxx ***
Hello World! frdm_ke17z/mke17z7
Support Resources for Zephyr
MCUXpresso for VS Code, wiki documentation and Zephyr lab guides
NXP’s Zephyr landing page (including training resources)