FRDM-KE17Z512

Overview

The FRDM-KE17Z512 is a development board for NXP Kinetis KE1xZ 32-bit MCU-based platforms. The onboard OpenSDAv2 serial and debug adapter, running an open source bootloader, offers options for serial communication, flash programming, and run-control debugging.

Hardware

  • MKE17Z512VLL9 MCU (up to 96 MHz, 512 KB flash memory, 96 KB RAM, and 100 Low profile Quad Flat Package (LQFP))

  • 3.3 V or 5 V MCU operation

  • 6-axis FXOS8700CQ digital accelerometer and magnetometer

  • RGB LED

  • Two user push-buttons

  • Thermistor

  • Arduino compatible I/O pin header

  • OpenSDA on-board debugger

  • Two Touch Electrodes

For more information about the KE1xZ SoC and the FRDM-KE17Z512 board, see these NXP reference documents:

Supported Features

The frdm_ke17z512 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.
frdm_ke17z512
/
mke17z9

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M0+ CPU1

arm,cortex-m0+

ADC

on-chip

NXP ADC121

nxp,adc12

Clock control

on-chip

NXP Kinetis SCG (System Clock Generator) IP node1

nxp,kinetis-scg

on-chip

Generic fixed-rate clock provider3

fixed-clock

on-chip

Generic fixed factor clock provider4

fixed-factor-clock

on-chip

NXP Kinetis PCC (Peripheral Clock Controller) IP node1

nxp,kinetis-pcc

Comparator

on-chip

NXP Kinetis ACMP (Analog CoMParator)1

nxp,kinetis-acmp

Counter

on-chip

NXP LPTMR1

nxp,lptmr

DMA

on-chip

NXP MCUX EDMA controller1

nxp,mcux-edma

Flash controller

on-chip

NXP Kinetis Flash Memory Module E (FTFE)1

nxp,kinetis-ftfe

GPIO & Headers

on-chip

A group of GPIOs that share an interrupt2

nxp,gpio-cluster

on-chip

Kinetis GPIO2 8

nxp,kinetis-gpio

I2C

on-chip

NXP LPI2C controller2

nxp,lpi2c

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ARMv6-M NVIC (Nested Vectored Interrupt Controller) controller1

arm,v6m-nvic

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

on-board

Group of PWM-controlled LEDs1

pwm-leds

Miscellaneous

on-chip

NXP FlexIO controller1

nxp,flexio

MTD

on-chip

Flash node1

soc-nv-flash

on-board

Fixed partitions of a flash (or other non-volatile storage) memory1

fixed-partitions

Pin control

on-chip

NXP PORT Pin Controller5

nxp,port-pinmux

on-chip

NXP PORT Pin Controller1

nxp,port-pinctrl

PWM

on-chip

NXP FlexTimer Module (FTM) PWM controller1

nxp,ftm-pwm

on-chip

Kinetis PWT PWM Capture1

nxp,kinetis-pwt

RTC

on-chip

NXP Real Time Clock (RTC)1

nxp,rtc

Serial controller

on-chip

NXP LPUART1 2

nxp,lpuart

on-chip

Kinetis UART2

nxp,kinetis-uart

SPI

on-chip

NXP LPSPI controller1 1

nxp,lpspi

Timer

on-chip

ARMv6-M System Tick1

arm,armv6m-systick

on-chip

NXP FlexTimer Module (FTM)2

nxp,ftm

Watchdog

on-chip

NXP watchdog (WDOG32)1

nxp,wdog32

System Clock

The KE17Z9 SoC is configured to run at 48 MHz using the FIRC.

Serial Port

The KE17Z9 SoC has three LPUARTs. UART2 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.

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 J10.

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_ke17z512 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-xxxx-gxxxxxxxxxxxx ***
Hello World! frdm_ke17z512/mke17z9

Debugging

Here is an example for the Hello World application.

# From the root of the zephyr repository
west build -b frdm_ke17z512 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 v3.6.0-xxxx-gxxxxxxxxxxxx ***
Hello World! frdm_ke17z512/mke17z9

Support Resources for Zephyr