Keil Logo

Application Note 308

Nordic nrF52 PCA10040 Cortex-M4 Tutorial

This hands-on tutorial demonstrates using the Nordic nRF52 PCA10040 Cortex-M4F processor and Keil uVision IDE. The Keil Blinky examples activating LEDs with and without Keil RTX tickless RTOS are included with your MDK-ARM installation. All examples are compliant to Cortex Microcontroller Software Interface Standard (CMSIS 5.0). Serial Wire Viewer trace, ITM, ETM Trace (which provides program flow debugging, Code Coverage and Performance Analysis), Logic Analyzer, memory reads and writes and the Event Viewer are shown.

The nRF52 PCA10040 Evaluation board, which includes an on-board J-Link adapter for downloading and debugging, and a USB A to microB cable are required. Optionally, a ULINK2, ULINK-ME, ULINKplus or ULINKpro debug adapter may be used. The ULINKpro and ULINKplus adapters provide the best Serial Wire Viewer (SWV) performance and support Interrupt handling and timing display.

For more information regarding these files, see APNT_308.PDF.

Application Note

APNT_308.PDF (2,364K)
Friday, December 1, 2017

Example Code

TRACE_INI.ZIP (1.2K)
Friday, December 1, 2017
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.