Keil Logo

Application Note 305

NXP S32K Cortex-M4 Tutorial for the S32K148 EVB Board

This hands-on lab demonstrates the NXP Cortex-M4 processor and Keil µVision. The Keil Blinky example which uses the on-board potentiometer to control the tri-color LED via the Keil RTX5 RTOS is included with your MDK-ARM installation. The DSP Sine example (APNT_305_DSP.ZIP below) demonstrates waveform analysis using the Logic Analyzer. The examples are compliant to Cortex Microcontroller Software Interface Standard (CMSIS V5). Serial Wire Viewer Data Trace, ETM Trace, memory reads and writes, the RTX Kernel Awareness Viewer, Event Recorder are shown.

NOTE: For information about using the NXP Cookbook examples with MDK, see APNT_304.

To run this lab, an NXP S32K148-EVB board, a USB A to microB cable and a debug adapter (ULINKPlus, ULINK2, ULINK-ME, ULINKPro or J-Link) is required. OpenSDA P&E or CMSIS-DAP (and 12-volt power adapter) may be used for the basic debugging exercises, but a ULINK or J-Link adapter is required for Serial Wire Viewer. For ETM debugging, a ULINKpro is required.

An NXP S32K148 EVB board and a USB A to microB cable are needed. The CMSIS-DAP.ZIP file (below) contains a CMSIS-DAP.S19 firmware file that can be downloaded to your board for OpenSDA debugging.

IMPORTANT NOTE: You must install MDK-ARM V5.24 or later before you can use this lab.

For more information regarding these files, see APNT_305_V1.2.PDF.

Application Note

APNT_305_V1.2.PDF (2,421K)
Thursday, October 3, 2019

Example Code

APNT_305.ZIP (269K)
Tuesday, December 5, 2017
Friday, March 17, 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.