Unable to use interrupts inside the PIL simulation block

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

Unable to use interrupts inside the PIL simulation block

1,007 Views
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

Tags (2)
0 Kudos
3 Replies

842 Views
manujagrawal
Contributor II

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

0 Kudos

842 Views
dumitru-daniel_
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 Kudos

842 Views
13226508
Contributor III

Hi,

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

0 Kudos