Skip to content

Latest commit

 

History

History
127 lines (91 loc) · 3.46 KB

frdm_k22f.rst

File metadata and controls

127 lines (91 loc) · 3.46 KB

Freescale Kinetis FRDM-K22F

Platform :ref:`platform_freescalekinetis`: Freescale Kinetis Microcontrollers is family of multiple hardware- and software-compatible ARM Cortex-M0+, Cortex-M4 and Cortex-M7-based MCU series. Kinetis MCUs offer exceptional low-power performance, scalability and feature integration.

Microcontroller MK22FN512VLH12
Frequency 120MHz
Flash 512KB
RAM 128KB
Vendor Freescale

Please use frdm_k22f ID for :ref:`projectconf_env_board` option in :ref:`projectconf`:

[env:frdm_k22f]
platform = freescalekinetis
board = frdm_k22f

You can override default Freescale Kinetis FRDM-K22F settings per build environment using board_*** option, where *** is a JSON object path from board manifest frdm_k22f.json. For example, board_build.mcu, board_build.f_cpu, etc.

[env:frdm_k22f]
platform = freescalekinetis
board = frdm_k22f

; change microcontroller
board_build.mcu = mk22fn512vlh12

; change MCU frequency
board_build.f_cpu = 120000000L

Freescale Kinetis FRDM-K22F supports the following uploading protocols:

  • cmsis-dap
  • jlink
  • mbed

Default protocol is mbed

You can change upload protocol using :ref:`projectconf_upload_protocol` option:

[env:frdm_k22f]
platform = freescalekinetis
board = frdm_k22f

upload_protocol = mbed

:ref:`piodebug` - "1-click" solution for debugging with a zero configuration.

Warning

You will need to install debug tool drivers depending on your system. Please click on compatible debug tool below for the further instructions and configuration information.

You can switch between debugging :ref:`debugging_tools` using :ref:`projectconf_debug_tool` option in :ref:`projectconf`.

Freescale Kinetis FRDM-K22F has on-board debug probe and IS READY for debugging. You don't need to use/buy external debug probe.

Compatible Tools On-board Default
:ref:`debugging_tool_cmsis-dap` Yes Yes
:ref:`debugging_tool_jlink`    
Name Description
:ref:`framework_mbed` Arm Mbed OS is a platform operating system designed for the internet of things
:ref:`framework_zephyr` Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures