Getting Started with the S32K344EVB-LQ100 Evaluation Board

上次修改时间: Oct 13, 2026支持 S32K344EVB-100LQ汽车通用评估板

本文档内容

  • 1

    Out of the Box
  • 2

    Get Software
  • 3

    Plug It In
  • 4

    Create Application Project
  • 5

    Build and Run

1. Out of the Box

The S32K344EVB-LQ100 is an evaluation board (EVB) based on the NXP S32K344 automotive microcontroller (MCU). The device features dual Arm® Cortex®-M7 cores, functional safety support up to ASIL-D, an integrated hardware security engine (HSE), advanced communication peripherals, floating-point support and low-power operating modes, making it suitable for automotive and industrial applications.

This guide will walk you through setting up the S32K344EVB-LQ100, preparing the required development tools as well as creating, configuring, building and running an application in S32 Design Studio (S32DS).

1.1 Get to Know the S32K344EVB-LQ100 Evaluation Board

To help familiarize you with the board, the figure below labels the EVB's core components.

S32K344EVB-LQ100

Figure 1. S32K344EVB-LQ100

1.2 S32K344EVB-LQ100 Features

To help familiarize you with the features of the S32K344EVB-LQ100, the block diagram below provides an outline.

S32K344 Evaluation Board Block Diagram

S32K344 Evaluation Board Block Diagram

2. Get Software

To obtain the software needed to set up and use the evaluation board, you will first need to log in to NXP.com with your credentials.

2.1 Select Software Packages from Automotive Software Package Manager

In this step, you will locate the software needed for the S32K344EVB-LQ100. Go to the Automotive Software Package Manager and select "S32K3" as your device under "General Purpose MCUs."

Package Manager S32K3

Figure 2. Package Manager S32K3

To locate the software downloads required for this EVB, expand the menu hierarchy and navigate to the "FRDM Automotive S32K3 + S32M27 Board Installation Package" bundle. From the available components, select at least "S32 Design Studio and Configuration Tools" and "Real-Time Drivers." All other software packages in this category are optional and may be installed as needed.

Figure 3. Package Manager FRDM-A Bundle

Once you have selected the software components, you will click the button labeled "GENERATE BUNDLE INSTALLER" located below the drop-down menu.

Figure 4. Package Manager Generate Bundle Installer

Before you can use the software, you will be required to review the Export Control information and the Software License Agreement. Follow the wizard to complete the following steps:

  1. Review the Export Control information.
  2. Review the entire Software License Agreement by scrolling to the bottom, then accept the agreement
  3. Close the wizard window after completing the required prompts. Installer and Installer User Manual download will start automatically in a few moments

MultiInstaller

Figure 5. MultiInstaller

The FRDM Automotive Board Installation Package automatically installs and configures the required software, simplifying the setup process.

MultiInstaller

Figure 6. MultiInstaller

2.2 Add GCC Toolchain Version 10.2

The latest version of S32 Design Studio includes the GNU Compiler Collection (GCC) v11.4 toolchain. To ensure full compatibility between the toolchain and the Real-Time Drivers (RTD), you will also need to install GCC v10.2.

To install the GCC v10.2 toolchain, select Help → S32DS Extensions and Updates from the S32 Design Studio top menu. In the S32DS Extensions and Updates dialog, locate and install GCC v10.2.

GCC 10.2

Figure 7. GCC 10.2

Adding Update Sites

Figure 8. Add Update Sites

3. Plug It In

In this step, to prepare the board for use you will connect the S32K344EVB-LQ100 evaluation board to your computer and power it on.

3.1 Check the Default Solder Jumper Positions in the S32K344EVB-LQ100 EVB

Refer to both the board layout image and the table below to locate the jumpers.

Default Solder Jumpers

Figure 9. Default Solder Jumpers
Jumper State Notes
SJ1 1-2 VDD_HV_A domain powered from USB
SJ2 1-2 VDD_HV_A domain voltage 5 V
SJ3 1-2 VDD_HV_B domain powered from USB
SJ4 1-2 VDD_HV_B domain voltage 3.3 V
SJ5 1-2 V15_MCU domain powered via external NPN ballast transistor from VDD_HV_B domain
SJ6 1-2 TJA1057 CAN Transceiver powered from VDD_HV_A domain

3.2 Plug In the Power Supply and S32K3 Debug Interface

Next, you will power the board by connecting a USB Type-C to the J1 connector.

S32K344EVB-LQ100 Connect USB Type-C

Figure 10. S32K344EVB-LQ100 Connect USB Type-C

Three orange LEDs indicates the presence of the VDD_HV_A and VDD_HV_B supply voltages, and that the S32K3 debug interface is ready.

You also have the option to program the S32K3 MCU using the 10-pin Arm Cortex Debug Connector. To use this option, connect an external debug interface to connector J4, located above the S32K3 MCU.

4. Create Application Project

In this step, you will use S32DS to create and configure an application project for the S32K344EVB-LQ100 EVB.

4.1 Create New S32DS Project

  1. Open S32 Design Studio. From the top menu, select File → New → S32DS Application Project
  2. S32DS New Application Project

    Figure 11. S32DS New Application Project
  3. Enter a project name (without spaces), select the S32K344 derivative and select GCC 10.2 as the toolchain
  4. S32DS New Application Project

    Figure 12. S32DS New Application Project
  5. Select Debugger and RTD Drivers as the Platform SDK, then select Finish to create the project
  6. S32DS New Application Project

    Figure 13. S32DS New Application Project

4.2 Configure Pins

  1. Expand the project file folder, then double-click the .mex file to open the project configuration in the Configuration Tool
  2. MEX file

    Figure 14. MEX file
  3. Select the LQFP 100 package
  4. Select Package

    Figure 15. Select Package
  5. Configure the PTA13 pin, which is connected to the green LED, as a GPIO output
  6. Select GREEN_LED pin

    Figure 16. Select GREEN_LED pin
  7. Enter an identifier for PTA13 (without spaces), such as GREEN_LED
  8. Select Identifier

    Figure 17. Select Identifier

4.3 Add Driver and Generate Configuration Files

  1. Switch to the "Peripherals" perspective, then add the Siul2_Dio driver to the application
  2. Peripherals Perspective

    Figure 18. Peripherals Perspective

    Add Siul2_Dio Driver

    Figure 19. Add Siul2_Dio Driver
  3. Verify that the correct project is selected, then click on "Update Code" to generate the configuration files
  4. Update Code

    Figure 20. Update Code

4.4 Edit Code

  1. Revert to the C/C++ perspective
  2. C Cpp Perspective

    Figure 21. C Cpp Perspective
  3. Edit main.c file in src folder, including the Port and Dio drivers
  4. /* Including necessary configuration files. */
    
        #include "Mcal.h"
    
        #include "Siul2_Port_Ip.h"
        #include "Siul2_Dio_Ip.h"
    
        volatile int exit_code = 0;
    
        /* User includes */
  5. Enter the command line for pin initialization
  6. int main(void)
        {
        /* Write your code here */
    
        Siul2_Port_Ip_Init(NUM_OF_CONFIGURED_PINS_PortContainer_0_BOARD_InitPeripherals,g_pin_mux_InitConfigArr_PortContainer_0_BOARD_InitPeripherals);
    
        for(;;)
        {
        }
        return exit_code;
        }
  7. Finally, add the command to toggle the GREEN_LED pin
  8. int main(void)
        {
        /* Write your code here */
        
        Siul2_Port_Ip_Init(NUM_OF_CONFIGURED_PINS_PortContainer_0_BOARD_InitPeripherals,g_pin_mux_InitConfigArr_PortContainer_0_BOARD_InitPeripherals);
        for(;;)
        {
    
        Siul2_Dio_Ip_TogglePins(GREEN_LED_PORT, 1<<(GREEN_LED_PIN)); 
    
    } return exit_code; }

5. Build and Run Application Project

Now, you will take your S32K344EVB-LQ100 EVB for a test drive. Follow the instructions in each subsection to build the application, upload it to the S32K344 and also debug the code in S32 Design Studio.

5.1 Build and Upload Software

Open the Debug Configurations menu, then select one of the predefined debug configurations to build the application and upload it to the S32K344 microcontroller (MCU).

Debug Menu

Figure 22. Debug Menu

Debug Configuration

Figure 23. Debug Configuration

5.2 Debug Code

S32 Design Studio switches to the Debug perspective. Select Step Over or press F6 to step through the code.

Step Over

Figure 24. Step Over

The green LED should now be toggling in a continuous loop.

5.3 Add Clock Initialization Code (Optional)

Similar to the "Edit Code" step in the previous section, you may update the code for clock initialization.

/* Including necessary configuration files. */
#include "Mcal.h"

#include "Siul2_Port_Ip.h"
#include "Siul2_Dio_Ip.h"

#include "Clock_Ip.h"

volatile int exit_code = 0;
/* User includes */
int main(void)
{

    Clock_Ip_StatusType ClockStatus;
    ClockStatus = Clock_Ip_Init(&Clock_Ip_aClockConfig[0]);

    /* Write your code here */
    Siul2_Port_Ip_Init(NUM_OF_CONFIGURED_PINS_PortContainer_0_BOARD_InitPeripherals,
    g_pin_mux_InitConfigArr_PortContainer_0_BOARD_InitPeripherals);
    
    for(;;)
    {
        Siul2_Dio_Ip_TogglePins(GREEN_LED_PORT, 1<<(GREEN_LED_PIN));
    }
    return exit_code;
}