Getting Started with the 2-in-1 DC-DC and BMS Proof of Concept

最終更新日時: Sep 22, 2026 new サポート X-IN-1アプリケーション向けS32K396評価マザーボード

このドキュメントの内容

  • 1

    Out of the Box
  • 2

    Get Software
  • 3

    Plug It In
  • 4

    Build, Load

1. Out of the Box

The electrification X-in-1 platform consolidates multiple vehicle electrification applications into a single electronic control unit (ECU). By combining functions that traditionally require separate ECUs, the platform helps reduce hardware complexity, system cost and weight while supporting efficient safety and security management.

This getting started guide walks you through how to set up, build and run the 2-in-1 DC-DC converter and battery management system (BMS) proof of concept (POC), using the S32K396 microcontroller (MCU) to run both applications on a shared platform.

1.1 Kit Components

The contents of the kit include:

  • NXP S32K39 evaluation board (EVB) (S32K396-BGA-DC1)
  • NXP S32K3 motherboard (XIN1-MB-S32X)
  • Cables for connecting the application boards:
    • NXP XIN1-CABLE6 or XIN1-CABLE12
    • Standard 68-pin 1.27 mm pitch ribbon cables, such as: M55-8006842-0150A or M55-8006842-0300A
  • NXP DC-DC converter application board (XIN1-DC-DC-LV)
  • BMS application boards:
    • NXP transport protocol link (TPL) bridge (FRDM665SPIEVB)
    • NXP BMS cell monitoring unit (CMU) (RD33774PC3EVB)
    • NXP 18-cell battery pack emulator (BATT-18EMULATOR)
    • NXP BMS battery junction box (BJB) (RDA777T2)
    • NXP BJB emulator (PACK-BJBEMUL)

1.2 Additional Equipement

To supply power, you will need the following equipment:

  • 48 V power supply
  • Load for DC-DC converter can be electronic or resistive load

1.3 Minimum System Requirements

For evaluation, you will need a PC running Windows or Linux that also meets the minimum system requirements for NXP FreeMASTER.

2. Get Software

In this step, you will confirm that the required software libraries are installed and compatible with the other software components in this project. You may have some of these libraries already installed on your PC.

2.1 AMMCLIB 1.1.40 Setup

Once you have successfully downloaded the .exe file, as the first step in the installation process, you will change the default path to:

C:/<local_path>/S32DS.3.6.0/S32DS/software/
  1. Once you are in the S32 Design Studio (DS), click "Help"
  2. Click S32DS "Extensions and Updates"
  3. Then, click Manage Sites
  4. You will then add an entry under "Available S32DS Software Sites"
    1. Name AMMCLIB
    2. Location link is:
      http://www.nxp.com/lgfiles/updates/Eclipse/AMMCLIB/S32DS_3.5

      AMMCLIB Entry Setup

      AMMCLIB Entry Setup
  5. Click "Apply" and "Close"
  6. AMMCLIB 1.1.40 update site should appear as an option

2.2 Inter-Platform Communication Framework (IPCF) Setup

In this step, you will install the updatesite for the IPCF in S32DS.

To use IPCF in tresos Studio, follow these steps:

  • Run SW32K396_IPCF_1.1.0_D2502.exe to install the application
  • Next, go to
    <proj_path>/X-in-1/eenvs/S32K396/2-in-1_DC-DC_FoxBMS/M7_2_MSC/S32K396_SSM_core2/util
  • Copy the make folder, which contains the two IPCF makefiles needed
  • Paste the make folder into the following directory in the IPCF installation folder: SW32K396_IPCF_1.1.0_D2502/eclipse/plugins/Ipcf_TS_T40D34 M11I0R0
  • Open the plugin.xml file
  • Comment out lines 59 and 60

2.3 FreeMASTER Driver Setup

After installing S32 DS and FreeMASTER, you will link the source files to the master safety core built using Tresos Studio.

Once the project is open in Tresos Studio, follow these steps:

  • Go to:
    <proj_path>/X-in-1/eenvs/S32K396/2-in-1_DC-DC_FoxBMS/M7_2_MSC/S32K396_SSM_core2/util
  • Next, open common.mak
  • Then locate the following line:

    Figure 1. FREEMaster path to be added.
  • As shown above in Figure 1, you will then replace the existing path with the path to your FreeMASTER driver source, such as: S32DS.3.6.0/S32DS/software/FreeMASTER_S32K3_v3.0/src

2.4 Safety Software Framework (SAF) EVAL Driver Setup

Once you have installed the SW32K3_SAF_1.0.5_EVAL_D2502 driver using the .exe file, proceed through these steps:

  • Delete the plugins listed below from C:/EB/tresos/plugins/:
    • Bist_TS_T40D34M10I5R0
    • eMcem_TS_T40D34M10I5R0
    • mSel_TS_T40D34M10I5R0
    • Safetybase_TS_T40D34M10I5R0
    • sBoot_TS_T40D34M10I5R0
    • sCheck_TS_T40D34M10I5R0
    • sReco_TS_T40D34M10I5R0
  • Next, open a Bash terminal and run the following commands:
    • cd C:/<project_location>/build/
    • export S32K39X_EB_ACP_DIR=C:/EB/tresos/
    • export S32K3_SAF_DIR=C:/NXP/SW32K3_SAF_1.0.5_EVAL_D2503/eclipse/plugins
    • python build_instance.py -c ../X-in-1/build.json --patch all

3. Plug It In

3.1 Plug It In

In this step, you will prepare to run the prebuilt binaries or build an electrification X-in-1 project from source.

To run an electrification X-in-1 project using the provided prebuilt binaries, install the required debugging tools and sign in to the NXP software catalog. You do not need to install the build dependencies unless you plan to build the project from source.

To build an electrification X-in-1 project from source:

  • Sign in to the NXP software catalog
  • Confirm that your account has access to the required product catalogs and software releases
  • Download the NXP Package Manager bundle installer
  • Run the bundle installer and select one of the following installation methods:
    • One-Click Installer: Uses the preconfigured script included with the bundle installer to install the required software releases
    • Manual installation: Allows you to install each dependency separately
  • For software that requires activation, refer to the user manual downloaded with the bundle installer for instructions on obtaining and entering the required activation codes

4. Build, Load

4.1 Build, Load

To give you an idea of how to set up your lab bench, Figure 2 below provides an example.

Figure 2. System on Bench

Each numbered label in the image above corresponds to the matching item details in the list below:

  1. Assembly:
    1. XIN1-MB-S32X motherboard
    2. S32K396-BGA-DC1 expansion board
    3. S32K396 1P40E electronic control unit (ECU)
    4. FRDM665SPIEVB transport protocol link (TPL) gateway board
  2. XIN1-DC-DC-LV DC-DC application board
  3. RDA777T2 BMS BJB board
  4. PACK-BJBEMUL BJB emulator
  5. RD33774PC3EVB BMS CMU board
  6. BATT-18EMULATOR 18-cell battery-pack emulator
  7. Power supplies

Design Resources

Additional Resources

In addition to the X-IN-1 Modular Platform Design page, visit the related hardware and software pages.