Unable to use interrupts inside the PIL simulation block

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

Unable to use interrupts inside the PIL simulation block

1,613件の閲覧回数
manujagrawal
Contributor II

Hello,

I am new to using the MDBT toolbox for S32K144 on matlab for creating applications. I am facing difficulties in using interrupt routines inside the PIL model block (which contains the code to be executed on the microcontroller). Here are the screenshots of my model. I am trying to toggle a LED on UART transmission complete.

pastedImage_2.png

Top Model 

pastedImage_3.png

PIL Block

pastedImage_6.png

The error which I get

The same error is reported even for any other interrupt I have tried to create. Seems like I am unaware of the methodology of using interrupts in PIL simulaiton. 

Step size for both models is same (0.01 Sec)

To sum up, I want my embedded system to partially run on PC to design and tune my control algorithm while also been connected to microcontroller for sensor interfacing (which uses interrupts; for data acquisition and actuation).

I will highly appreciate any help on this issue.

dumitru-daniel.popa‌  constantinrazvan.chivu‌ b55689

タグ(2)
0 件の賞賛
返信
3 返答(返信)

1,448件の閲覧回数
manujagrawal
Contributor II

Hi Yang, I am still waiting for a reply on this issue.

0 件の賞賛
返信

1,448件の閲覧回数
Daniel_Popa
NXP Employee
NXP Employee

Hello all, 

We are currently looking into this issue. We were able to reproduce the issue and we are trying to understand the root cause.

Best regards,

Daniel

0 件の賞賛
返信

1,448件の閲覧回数
13226508
Contributor III

Hi,

I have encountered the same problem with you. Have you solved it?

0 件の賞賛
返信