NXP Model-Based Design Toolbox for S32M2 – version 1.1.0

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

NXP Model-Based Design Toolbox for S32M2 – version 1.1.0

NXP Model-Based Design Toolbox for S32M2 – version 1.1.0

 

Product Release Announcement

Automotive Embedded Systems

NXP Model-Based Design Toolbox

for S32M2 – version 1.1.0

mariuslucianand_0-1733771890968.png

 

The Automotive Embedded Systems, Model-Based Design Tools Team at NXP Semiconductors, is pleased to announce the release of the Model-Based Design Toolbox for S32M2 version 1.1.0. This release supports automatic code generation for S32M2 peripherals and applications prototyping from MATLAB/Simulink for NXP S32M2 Automotive Microprocessors. This product adds support for S32M41, S32M242, S32M43, S32M244, S32M274, S32M276 MCUs and part of their peripherals, based on RTD MCAL components (ADC, AE, DIO, CAN, Can_Trcv, DPGA, GDU, GPT, LIN, LIN_Trcv, MCL, PWM, MCL, MCU, PORT, QDEC, SPI, UART). In this release, we have also added support for FreeMASTER, AMMCLib, and MATLAB support for the latest versions. The product comes with over 85 examples, covering all supported peripherals, and Simulink simulation modes Software-in-the-Loop, Processor-in-the-Loop, and External Mode.

Target audience:

This product is part of the Automotive SW – Model-Based Design Toolbox.

FlexNet Location:

https://nxp.flexnetoperations.com/control/frse/download?element=6481361

Technical Support:

NXP Model-Based Design Toolbox for S32M2 issues will be tracked through the NXP Model-Based Design Tools Community space.

Release Content:

  • Automatic C code generation from MATLAB® & Simulink® for NXP S32M2 derivatives:
    • S32M241
    • S32M242
    • S32M243
    • S32M244
    • S32M274
    • S32M276
  • Support for the following peripherals (MCAL components):
    • ADC
    • AE
    • CAN
    • CAN_Trcv
    • DIO
    • DPGA
    • GDU
    • GPT
    • ISR
    • LIN
    • LIN_Trcv
    • MCL
    • MCU
    • MEMORY
    • PROFILER
    • PWM
    • PORT
    • QDEC
    • SPI
    • UART
    • Profiler in PIL mode
  • Provides 2 modes of operation
    • Basic – using pre-configured configurations for peripherals; useful for quick hardware evaluation and testing
    • Advanced – using S32 Configuration Tool or EB Tresos to configure peripherals/pins/clocks
  • Provides Motor Control examples

MBDT for S332M2 1.1.0 provides examples for PMSM sensorless, open loop and closed-loop hall sensors motor control applications, supporting S32 Configuration Tools. Each of them has a detailed description of the hardware setup and an associated FreeMASTER project which can be used for control and data visualization.

mariuslucianand_1-1733771890995.jpeg
  • Integrates the Automotive Math and Motor Control Library version 1.1.38

All functions in the Automotive Math and Motor Control Functions Library v1.1.38 are supported as blocks for simulation and embedded target code generation.

mariuslucianand_2-1733771891086.png
  • Integration with FreeMASTER

MBDT for S332M2 1.1.0 delivers several Simulink example models and associated FreeMASTER projects to demonstrate how our toolbox interacts with the real-time data visualization tool and how it can be used for tuning embedded software applications.

mariuslucianand_3-1733771891132.png
  • Support for Custom Default Project

MBDT for S332M2 1.1.0 provides support for users to create their own custom default project. This could be very useful when having a custom board design – the configuration for it needing to be created only once. After that configuration is saved as a custom default project, it can be used for other models that are developed.

mariuslucianand_4-1733771891191.png
  • Support for custom board initialization

MBDT for S332M2 1.1.0 generates the components’ peripherals initialization function calls as configured in the Board Initialization window, which can be customized to each Simulink model. This feature allows users to set a custom order for the components initialization, the insertion of the Custom code sequences, or share the custom initialization with multiple Simulink models via the Export and Import functionality.

mariuslucianand_5-1733771891234.png
  • Integration with S32 Config Tools version v1.7
mariuslucianand_6-1733771891296.png
  • Integration with S32 Design Studio

MBDT for S332M2 1.1.0 automatically generates the <model_name>_Config folder, next to the Simulink model location, providing user the opportunity to easily import the generated code from Simulink into S32 Design Studio. Each time the code is generated, the  <model_name>_Config folder is updated with the new changes. Toolbox also provides a mechanism to launch an S32 Design Studio instance, with the imported generated code project in the Project Explorer tab from S32DS.

mariuslucianand_7-1733771891421.png
  • Simulation modes

      Toolbox provides support for the following simulation modes (each of them being useful for validation and verification):

    • Software-in-Loop (SIL)
    • Processor-in-Loop (PIL)
    • External mode     
mariuslucianand_8-1733771891440.jpeg
  • Support for application execution profiling
mariuslucianand_9-1733771891486.png
  • Custom Linker File and Startup Code

Users can choose to use custom files for this process, from the Build Options group which can be found in the Target Hardware Resources, as illustrated in the image below.

mariuslucianand_10-1733771891560.png
  • Examples for every peripheral/function supported

      We have added over 60 examples, including:

    • CDD Blocks (Ae, Dpga, Gdu, Mcl, Qdec)
    • Communication (Can, Lin, Spi, Uart)
    • AMMCLib
    • IO Blocks (Adc, Dio, Pwm)
    • ISR Blocks (Hardware Interrupt Handler)
    • MCAL Blocks (Gpt)
    • Utility Blocks (FreeMASTER, Memory, Profiler, Registers)
    • Software-in-the-Loop / Processor-in-the-Loop / External mode

For more details, features, and how to use the new functionalities, please refer to the Release Notes and Quick Start Guides documents attached.

MATLAB® Integration

  • Support for MATLAB® versions
    • R2021a
    • R2021b
    • R2022a
    • R2022b
    • R2023a
    • R2023b
    • R2024a
    • R2024b

 

The NXP Model-Based Design Toolbox extends the MATLAB® and Simulink® experience by allowing customers to evaluate and use NXP’s S32M2 MCUs and evaluation board solutions out-of-the-box with:

mariuslucianand_11-1733771891702.png

 

Target Audience

This release (MBDT for S32M2 1.1.0) is intended for technology demonstration, evaluation purposes, and prototyping of S32M2 MCUs and Evaluation Boards.

 

Useful Resources

Examples, Trainings, and Support: https://community.nxp.com/community/mbdt

DEMO Motor Control Rapid Prototyping on NXPs S32M2 with MathWorks and the Model-Based Design Toolbox

This training shows how to design and develop motor control algorithms with Simulink® (MathWorks) and the Model-Based Design Toolbox for S32M2.

Presentation introduces NXP’s S32M2 family, an integrated solution for 12V Motor Control and show how to access and configure the MCU peripherals making the Simulink® model hardware-aware and ready to generate, build and deploy the application on the target. The FreeMASTER software tool is used to control and monitor the algorithms running on the S32M2.

First application focuses on a simple scalar control (also known as open-loop control or Volts per Hertz control) algorithm for a permanent magnet synchronous motor (PMSM).

mariuslucianand_12-1733771891716.jpeg mariuslucianand_13-1733771891728.jpeg

Second application shows how MATLAB and Simulink works together with the MBDT for S32M2 focusing on a workflow of implementing a predictive maintenance motor control application. Toolbox is used to acquire data from an accelerometer mounted on the motor. The motor is spinning at various speeds, and the vibrations are monitored using FreeMASTER. Data is transferred to MATLAB, where is preprocessed and a Support Vector Machine is trained. Then the resulted classifier is transferred to Simulink where together with the Model-Based Design Toolbox for S32M2 code is generated and deployed on the MCU.

mariuslucianand_14-1733771891742.jpeg mariuslucianand_15-1733771891757.jpeg

For more details about the demo mentioned above, please check this webinar a full demo description.

 

 

mariuslucianand_16-1733771891851.png

 

 
无评分
版本历史
最后更新:
‎12-09-2024 12:39 PM
更新人: