mbd code convrt to the s32ds arm 2018 for s32k148 controller

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mbd code convrt to the s32ds arm 2018 for s32k148 controller

2,155 Views
sagarkapate
Contributor I

how to import mbd code to the s32ds arm for s32k148 controller if it is possible then provide the process for importing code from matlab to s32ds arm .

0 Kudos
Reply
6 Replies

1,962 Views
sagarkapate
Contributor I

How to IMPORT Generated Code to S32 Design Studio ARM IDE (applicable for MBDT for S32K148)

 

I am going to the same problem after import build button is disable it can be build using this process.

please provide some solution on it, I will provide you some screenshots of the problem.

0 Kudos
Reply

1,945 Views
Irina_Costachescu
NXP Employee
NXP Employee

Hi @sagarkapate 

An initial solution was provided on this thread.

Could you please check it out and let us know if it works?

Thanks,

Irina

0 Kudos
Reply

1,917 Views
sagarkapate
Contributor I

THANKS for the solution it works, import is done In the ide , but where can i find ProcessorExpert.pr file in this file format. 

I will make some changes and initialize some peripherals for the application perspective because some blocks are not in mbdt.

please give some solution for this.     

0 Kudos
Reply

1,826 Views
sagarkapate
Contributor I

Does anyone can implement UDS stack s32k148 using unified bootloader in application demo code?

I am import UDS stack in application code in s32k148 controller but when instead of flashing using uds can flashing i can't send /received CAN_ID in application code.

How can we run UDS stack and application code? 

My condition is when application code run in proper way without interruption but when i wanna flash new firmware in this application code then application code stop and run UDS stack.

In application Matlab code uds stack is proper working but when i wanna send continuous can massage in application then i can't see any massage in busmaster and when i comment uds stack initialization it displays send can massage.Screenshot 2023-10-18 101448.png

Anyone has solution then let me know please?

0 Kudos
Reply

1,843 Views
Irina_Costachescu
NXP Employee
NXP Employee

Hi @sagarkapate 

The MBDT for S32K1 does not provide integration with ProcessorExpert, hence you will not be able to find such a file linked to the MBDT examples. If you would like to use some peripherals in your application which are not supported by the toolbox, I would recommend you to use the Custom Code functionalities Simulink provides. Please check the following article (link) that provides more details about how you could use your own C libraries, drivers or components in an MBDT Simulink model.

Hope this helps,
Irina

0 Kudos
Reply

2,099 Views
Irina_Costachescu
NXP Employee
NXP Employee

Hi @sagarkapate ,

For achieving your use case, I would propose to you to check the following link of a thread on our community where this issue is explained.

In the referenced post, you could find a step by step procedure of how to import your Simulink generated code into the S32DS environment.

Hope this helps,

Irina

0 Kudos
Reply