A question about NXP chip configuration

11 visualizaciones (últimos 30 días)
Peter
Peter el 10 de Jun. de 2025
Editada: saish el 22 de Ag. de 2025 a las 12:05
I downloaded the Simulink support package from NXP official, and the chip is MPC57xx. But I don't know why this seems to be based on the AUTOSAR standard.I can compile successfully in Simulink, but there is an error when I import the XML file into S32DS.I clicked on the official example and found that there were some differences in the chip configuration. After generating the code, the official example prompted me to reset the chip, but I dragged it out of the library myself and did not configure it as I saw in the official example.This image is only an official example.My Matlab version is 2025a.
  2 comentarios
Peter
Peter el 10 de Jun. de 2025
This picture was downloaded and configured by myself from the library.
Peter
Peter el 10 de Jun. de 2025
The same goes for the s32k1xx series

Iniciar sesión para comentar.

Respuestas (1)

saish
saish el 22 de Ag. de 2025 a las 12:03
Editada: saish el 22 de Ag. de 2025 a las 12:05
Hi Peter,
This happens because the NXP Model Based Design Toolbox (MBDT) for MPC57xx is AUTOSAR based.
When you drag the configuration block manually, you only set the basic MCU parameters (clock, timers, priority). But the official example models also include preconfigured AUTOSAR OS, MCAL drivers, and ECU abstraction settings that are required for the generated XML to be valid for S32 Design Studio (S32DS).
That’s why your XML is “incomplete” and causes an import error in S32DS, while the official examples generate the full AUTOSAR compatible XML that works.

Categorías

Más información sobre AUTOSAR Blockset en Help Center y File Exchange.

Productos


Versión

R2025a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by