Skip to content

Latest commit

 

History

History
139 lines (102 loc) · 3.81 KB

nrf52840_dk.rst

File metadata and controls

139 lines (102 loc) · 3.81 KB

Nordic nRF52840-DK

Platform :ref:`platform_nordicnrf52`: The nRF52 Series are built for speed to carry out increasingly complex tasks in the shortest possible time and return to sleep, conserving precious battery power. They have a Cortex-M4F processor which makes them quite capable Bluetooth Smart SoCs.

Microcontroller NRF52840
Frequency 64MHz
Flash 1MB
RAM 256KB
Vendor Nordic

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

[env:nrf52840_dk]
platform = nordicnrf52
board = nrf52840_dk

You can override default Nordic nRF52840-DK settings per build environment using board_*** option, where *** is a JSON object path from board manifest nrf52840_dk.json. For example, board_build.mcu, board_build.f_cpu, etc.

[env:nrf52840_dk]
platform = nordicnrf52
board = nrf52840_dk

; change microcontroller
board_build.mcu = nrf52840

; change MCU frequency
board_build.f_cpu = 64000000L

Nordic nRF52840-DK supports the following uploading protocols:

  • blackmagic
  • cmsis-dap
  • jlink
  • mbed
  • nrfjprog
  • stlink

Default protocol is jlink

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

[env:nrf52840_dk]
platform = nordicnrf52
board = nrf52840_dk

upload_protocol = jlink

: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`.

Nordic nRF52840-DK 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_blackmagic`    
:ref:`debugging_tool_cmsis-dap` Yes  
:ref:`debugging_tool_jlink` Yes Yes
:ref:`debugging_tool_stlink`    
Name Description
:ref:`framework_arduino` Arduino Wiring-based Framework allows writing cross-platform software to control devices attached to a wide range of Arduino boards to create all kinds of creative coding, interactive objects, spaces or physical experiences.
: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