S32K144EVB, Problem with Simulink external mode

cancel
Showing results for 
Search instead for 
Did you mean: 

S32K144EVB, Problem with Simulink external mode

68 Views
Contributor I

Hi,

I am trying the example "extmode_s32k1xx" on my S32K144 evaluation board, here is the model view:

model.png

I can build the model and download code to my board, cause the RED led near the USB port is blinking. BUT after that, when I press "connect to target" button in the model window, error occurs:

1.png

 As shown in the next few pics, I have checked the corresponding settings over and over again:

1. The "MBD_S32K1xx_Config_Information" block setting,

2.png

2. In the "Model Configuration Parameters" window, "Code Generation --> Interface" Tab, I have modified the "MEX-file arguments" to 1,3,19200, which indicates COM3 with 19200 baud rate.

3.png

 3. In the device manager page on my computer, COM3 is the virtual COM port provided by the OpenSDA software, the driver was correctly installed. It's consistent with the  model setting.

So, is there any problem in my operations? Please give me some guidance, thank you!

  

0 Kudos
1 Reply

48 Views
NXP Employee
NXP Employee

Hello @freemank1224 ,

What Matlab version are you using?

Marius

0 Kudos