Skip to main content
Design DocumentNxp

Model-Based Design Toolbox Battery Management Systems Quick Start Guide

Quick start guide for NXP's Model-Based Design Toolbox for Battery Management Systems, enabling automatic C code generation from MATLAB and Simulink for NXP cell controllers.

View design document

Overview

This design document provides comprehensive instructions for installing and configuring the NXP Model-Based Design Toolbox (MBDT) for Battery Management Systems (BMS). It outlines software requirements, including MATLAB, Simulink, and the prerequisite MBDT for S32K3xx. The guide details the installation of the NXP Support Package for BMS, license activation procedures, and toolchain setup for automatic code generation via Embedded Coder. It also includes a development guideline for running High-Voltage Battery Management System (HVBMS) examples on NXP reference designs like the RD-HVBMSCTBUN and RD33772C14VEVM, utilizing NXP battery cell controllers and communication gateways.

Use Cases

  • Automotive battery management system development
  • Automatic C code generation for S32K3 microcontrollers
  • Rapid prototyping of High-Voltage Battery Management Systems
  • Model-based development for NXP battery cell controllers

Topics

NXP
Model-Based Design Toolbox
BMS
MATLAB
Simulink
S32K358
MC33772C
MC33775A
MC33665A
MC33774A
Code Generation
Battery Cell Controller

Referenced Parts

MC33665A

NXP

Phy_665a - Configures the MC33665a and the TPL channels allocation.

MC33664

NXP

Board Initialization needs to be extended so that the additional components configured in the external configuration tools (e.g. Bcc_772c, Bcc_775a, Phy_664, or Phy_665a) are also initialized.

MC33772C

NXP

Bcc_772c - Configures the Bcc_772c driver module and the settings used for all the Bcc_772c devices connected on the TPL bus.

MC33774A

NXP

Bcc_774a - Configures the Bcc_774a driver module settings used for all the Bcc_774a devices connected on the TPL bus

MC33775A

NXP

Populate Transaction Descriptor - Use the blocks Bcc_772c, Bcc_775a, and Bcc_774a to populate the TD Handlers.

S32K358

NXP

Battery Management Unit (RD-K358BMU)