UDS Stack to Simulink Environment for S32K3 Application

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

UDS Stack to Simulink Environment for S32K3 Application

2,404 次查看
noobsplzwin
Contributor III

Hello NXP friends,

I am currently working on a project that involves implementing various UDS (Unified Diagnostic Services) functions, such as diagnostic session control, ECU reset, DTC control, and reading in a MATLAB/Simulink environment, along with the S32k3 MBD toolbox.

Previously, we have successfully used the UDS unified bootloader for our S32K3 application, which includes a comprehensive UDS CAN TP stack. Given our new requirements, I am considering migrating this UDS stack to the Simulink environment using a code block.

  1. Is it feasible to migrate the UDS stack from the UDS unified bootloader to the Simulink environment using a code block? If so, what are the recommended steps for this process?
  2. Is there any chance there are specific tools or libraries provided by NXP that facilitate the implementation of UDS in the Model-Based Design Toolbox (MBDT) for Simulink?

I appreciate any guidance or suggestions.

Best Regards,
Connor

0 项奖励
回复
4 回复数

2,332 次查看
Irina_Costachescu
NXP Employee
NXP Employee
Hello @noobsplzwin
 
As MBDT does not provide support for UDS, could you please share more details on your use case with us? We would be interested in the following:
  • UDS software version that you have used
  • targeted MCU from the S32K3 family
  • functionalities you would like to have available inside your Simulink model
Based on this information, we could analyze what would be the best option for you to approach such scenario.
 
Thank you,
Irina
0 项奖励
回复

1,876 次查看
DrKarthi
Contributor II

Hi @Irina_Costachescu 

we also working on UDS implementation in Simulink for S32K312 & S32k344

https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099

Kindly provide support on how to implement in this.

 

Thanks and Regards

Dr. Karthi

0 项奖励
回复

1,812 次查看
noobsplzwin
Contributor III

Hi Dr. Karthi,

This is Leo from Audesse Inc, and we specialize in creating Edge IoT ECUs based on the NXP S32K chipset. You can check out more about our products here: Audesse Products.

We’ve successfully implemented the UDS stack and integrated it into a Simulink environment. If this is something you’re interested in or could benefit from, I’d be happy to connect and explore potential opportunities for collaboration. You can reach us at rhyse@audesseinc.com

Looking forward to hearing from you! 

Best regards,
Leo
Audesse Inc.

 

0 项奖励
回复

2,300 次查看
noobsplzwin
Contributor III

Hello Irina,

Thank you for your response.

  1. We are developing a suspension and an ESC module using our ECU with the MBD toolbox, which requires ASIL B and ASIL D, respectively. UDS is a significant part of our project, especially ECU reset and DTC-related services.

  2. The chipset we are using is the S32K344 257-pin one.

  3. The services we are interested in include:

    • 0x10 - Diagnostic Session Control
    • 0x11 - ECU Reset
    • 0x22 - Read Data By Identifier
    • 0x31 - Routine Control
    • 0x14, 0x19, 0x85 - DTC related services

Based on this information, please guide the best approach for implementing these services in the Simulink environment? Any specific tools or libraries from NXP that could facilitate this would be highly appreciated.

Thank you,
Connor

0 项奖励
回复