nRF52 DK¶
Vendor: Nordic Semiconductor
nRF52 DK (PCA10040)
Program Target: nRF52: nRF52832
Zephyr board name:
nrf52_pca10040
(nRF52 DK — Zephyr Project Documentation)
Sample firmware
zephyr-sample-blinky.hex
: Example “blinky” firmware for nRF52DKnrf52832_xxaa.hex
: ble_app_hrs firmware (nRF5 SDK example)s132_nrf52_6.0.0_softdevice.hex
(Available from Nordic)zephyr-sample-blinky-200ms.hex
: “blinky” firmware for nRF52DK, with 200ms duty cycle
Program nRF52832 (JLink)¶
Connection
Use a USB 2.0 Type-A to micro-USB cable to connect the nRF52DK micro-USB port to any of the USB ports in the back of the PLT-200A.
YAML test plan
suite-nrf52_pca10040-sample.yaml
: PLT test plan forzephyr-sample.hex
title: "Program: blinky sample"
suite:
- ident: DEV-T1
title: Identify DUT
steps:
- command: identify nRF52_JLink
- ident: DEV-T2
title: Erase nRF52 through USB JLink
steps:
- command: erase nRF52_JLink
- ident: DEV-T3
title: Program nRF52 though USB JLink
steps:
- command: program nRF52_JLink zephyr-sample-blinky.hex
suite-nrf52_pca10040-sample-200ms.yaml
: PLT test plan forzephyr-sample-200ms.hex
title: "Program: blinky sample (200ms)"
suite:
- ident: DEV-T1
title: Identify DUT
steps:
- command: identify nRF52_JLink
- ident: DEV-T2
title: Erase nRF52 through USB JLink
steps:
- command: erase nRF52_JLink
- ident: DEV-T3
title: Program nRF52 though USB JLink
steps:
- command: program nRF52_JLink zephyr-sample-blinky-200ms.hex
Program nRF52832, Test BLE (JLink)¶
Connection
Use a USB 2.0 Type-A to micro-USB cable to connect the nRF52DK micro-USB port to any of the USB ports in the back of the PLT-200A.
YAML test plans
suite-hrs-BLE.yaml
title: "Program and Test nRF52DK"
suite:
- ident: ICT-T1
title: Identify nRF52 through USB JLink
steps:
- command: identify nRF52_JLink
- ident: ICT-T2
title: Erase nRF52 through USB JLink
steps:
- command: erase nRF52_JLink
- ident: ICT-T3
title: Program nRF52 through USB JLink
steps:
- command: program nRF52_JLink s132_nrf52_6.0.0_softdevice.hex,nrf52832_xxaa.hex
- ident: ICT-T4
title: BLE discovery
steps:
- command: bledis %BLEMAC% 5
References