S32K144 MBDT Serial Com. Build Error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K144 MBDT Serial Com. Build Error

ソリューションへジャンプ
2,634件の閲覧回数
kmun61a
Contributor II

Hello,

I am making a Serial-to-CAN Convert module using NXP S32K144 EVB.

Thanks to Razvan's answer, my previous problem was clearly solved by using LPUART for Serial Rx and FlexIO UART for Serial Tx.

There is no error when Running a model. However, another error was found while building a model as below,

20200316_Q6.jpg

For your reference, I will attach my Simulink model.

Thank you.

From Kim.

ラベル(2)
1 解決策
2,515件の閲覧回数
constantinrazva
NXP Employee
NXP Employee

Hello kmun61a@gmail.com,

Sorry, I must have missed the attachment. The fix for your model is simple - do this for Function-Call Subsystem and Function-Call Subsystem2:

- right click on each of them

- click on Block parameters

- go to the Code generation tab

- select Nonreusable function as Function packaging

pastedImage_4.png

You should now have your model working.

Note: I have updated the FlexIO patch on your other thread (here) - added a change to the configuration block as well [even if the model was building successfully, the application would not have ran the desired ISR for flexIO; now that is fixed as well].

元の投稿で解決策を見る

4 返答(返信)
2,515件の閲覧回数
constantinrazva
NXP Employee
NXP Employee

Hello kmun61a@gmail.com,

Can you send me the model? I think a simple setting of a subsystem can fix this issue, but I'll have to see the model to tell you for which one. You can delete any proprietary code from it before uploading here if you want.

Kind regards,

Razvan.

0 件の賞賛
返信
2,515件の閲覧回数
kmun61a
Contributor II

Hello Razvan,

I've already attached my model(NXP_Serial2CAN_20200316_QA.slx) in the original question.

Best regards,

 From Kim.

0 件の賞賛
返信
2,516件の閲覧回数
constantinrazva
NXP Employee
NXP Employee

Hello kmun61a@gmail.com,

Sorry, I must have missed the attachment. The fix for your model is simple - do this for Function-Call Subsystem and Function-Call Subsystem2:

- right click on each of them

- click on Block parameters

- go to the Code generation tab

- select Nonreusable function as Function packaging

pastedImage_4.png

You should now have your model working.

Note: I have updated the FlexIO patch on your other thread (here) - added a change to the configuration block as well [even if the model was building successfully, the application would not have ran the desired ISR for flexIO; now that is fixed as well].

2,515件の閲覧回数
kmun61a
Contributor II

Hello!! Razvan,

Your answer is PERFECT!!

Thank you so much!!