Timeout error running s32k3xx_simple_s32ct PIL example on S32K358

43 次查看(过去 30 天)
I'm trying to hand on with the "PIL simple example" proposed by the MBDT. I have a S32K3X8EVB-289 with the S32K358 processor, so I already modified the entire configuration by selecting the S32K358-172 processor and assigning the mex configuration of the S32K388-289 already modified with the S32K358-289 configuration inside the configuration tool (this was a trick done by myself in orther to configure the S32K358 starting from the s32k388 which was really similar as per the pinout configuration, this trick has been already successfully tested with ADC/demo/DIO examples). I'm able to successfully download the application as per the PIL part (target model) but then I receive this error:
I've searched a lot for this issue, I found among the possible solutions a suggestion to modify the toolbox path because of the space in the path, however I already fixed this issue without success. I still did not modify the MATLAB main path (I found this other suggestion, but still not gave a try because I need to uninstall the entire MATLAB package). Is there something wrong with the project configuration? I'm attaching here the zip file related to the PIL project, can you double check it to understand whether there are issues or not? Thank you in advance.
NB: I already tried to connect to the target both with OPENSDA and Serial Communication, by selecting respectively Channel0 (LPUART6) and Channel1(LPUART13) and changing the COM ports according to the device manager without success.

采纳的回答

Supraja
Supraja 2024-11-14,5:37
Hello all,
To change MATLAB's path see the following documentation:
Also consider increasing the timeout value for the rtiostream interface. You can use the 'setTimeoutRecvSecs' method to extend the timeout period, allowing more time for data transfer.
I hope this helps!
  1 个评论
Alessandro
Alessandro 2024-11-18,9:16
编辑:Alessandro about 24 hours 前
In the end I managed to solve the problem, but it was not related to an incorrect path in Matlab nor to the increase in the timeout of the rtiostream interface. It was actually a different configuration of the clock frequency of the UART peripheral detected between the "Clock" tab and the MCU component (AutoSAR) within the Configuration Tool. A similar problem that helped me in the troubleshooting is at this link:
In any case, thanks for your reply.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品


版本

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by