Getting Started with the S32K312EVB-Q172 Evaluation Board for General Purpose | NXP Semiconductors

Getting Started with the S32K312EVB-Q172 Evaluation Board for General Purpose

Contents of this document

  • 1

    Out of the Box
  • 2

    Get Software
  • 3

    Plug It In
  • 4

    Build, Run

1. Out of the Box

1.1 Get to Know the S32K312EVB-Q172 Evaluation Board

1.2 Block Diagram Features

S32K312EVB-Q172 Block Diagram

S32K312EVB-Q172 Block Diagram

2. Get Software

2.1 Get the Integrated Development Environment (IDE)

Download and install S32 Design Studio IDE for S32 Platform.

DOWNLOAD S32 DESIGN STUDIO IDE

2.2 Install the S32K3xx Development Package and RTD

Go to Help → S32DS Extensions and Updates from the top menu to open the S32DS Extensions and Updates dialogue.

Continue with the installation of the Real-Time Drivers for S32K3xx:

2.3 Download and Install Elektrobit tresos Studio and Real-Time Drivers (Only AUTOSAR® Users)

Download and install Elektrobit tresos Studio / AUTOSAR Configuration Tool from S32K3 Standard Software Package.

Download and install the .exe file of the S32K3 Real-Time Drivers for Cortex-M from the S32K3 Standard Software Package.

The installer will ask for the EB tresos installation directory on your disk, saving time in configuration.

2.4 Get the Run-Time Debugging Tool

S32K312EVB-Q172 performs better when using the FreeMASTER Run-Time Debugging Tool.

DOWNLOAD FREEMASTER TOOL

The FreeMASTER communication driver for S32K3 microcontrollers is also needed; download it from the Automotive SW - S32K3 - S32 FreeMASTER link in the S32K3 Standard Software Package.

Open S32DS Extensions and Updates dialog (menu → Help → S32DS Extensions and Updates), click on Add Update Sites link and navigate to FreeMASTER communication driver for S32K3 (zip file starting with "com.") on your disk.

Install FreeMASTER communication driver for S32K3.

Aditional optional software may be downloaded from S32K3 Reference Software Package.

3. Plug It In

3.1 Set Up Jumpers in the S32K312EVB-Q172 Evaluation Board

Default Jumper settings
Jumper State Notes
J1 CLOSED Disabled FS26 watchdog after power-up
J5 1-2 Select voltage level for FS26 DEBUG pin
J8 CLOSED External circuits powered from VDD_HV_B domain
J9 CLOSED External circuits powered from VDD_HV_A domain
J10 CLOSED The MCU peripherals powered from the VDD_HV_A domain
J18 1-2 5 V for the VDD_HV_A domain
J20 OPEN LIN1 Commander* mode
J22 1-2 5 V from FS26 SBC
J24 OPEN LIN2 Commander* mode
J26 CLOSED 3.3 V from FS26 SBC
J30 OPEN FS26 wake inputs
J44 OPEN On-board debugger UART pins
*Master in the LIN standard document.

3.2 Plug in the Power Supply

Switch SW1 to the OFF position (fully to the right).

Connect the 12 V power supply adapter and switch SW1 to the ON position (fully to the left).

When power is applied to the EVB, four orange LED's adjacent to the voltage regulators show the presence of the supply voltages (12 V, 5 V, 3.3 V and 1.5 V).

3.3 Connect the Debugger Cable

Connect a micro-USB cable to the J40 connector to debug via the on-board S32K3 debugger.

Or use JTAG connector for debug via external S32K3 debugger.

4. Build, Run

Let's take your S32K312EVB-Q172 evaluation board for a test drive.

4.1 Create a S32DS Project from Example

Open S32DS and from the menu, go to: File → New → S32DS Project from Example. Select one of RTD example codes. You may choose between examples with high-level API or with low-level API. For example: Port_example_K312.

4.2 Using the Configuration Tool

Double-click on the .mex project file.

Please ensure that you configure appropriate project and click on "Update Code" button for generating configuration files.

4.3 Upload Software and Debug

Return back to the C/C++ perspective.

Use the Debug Configuration menu and select one of predefined debug configurations for building and uploading software into MCU.

The S32DS will switch into debug perspective where you may let the code run.

The red LED will now blink for approximately 10 seconds.