encountered problem while running Simple PIL S32CT example

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

encountered problem while running Simple PIL S32CT example

753件の閲覧回数
osama_desoqi
Contributor II

Hello, I am trying out a simple PIL S32CT example with MBDT for S32K3** version 1.5.0 on MATLAB 2023b. The board I am working on is NXP S32K311EVB-Q100. Now when I tried Simulink example model, I get the following error in Simulink. 

20241117_124054.jpg

also, after checking the s32k3xx_pil_harness_s32ct_example_readme.html, I didn’t found my board under the hardware required instruction. Is that affect.

nxp quest.jpg

Knowing that I changed the processor package in the hardware board settings inside Simulink with no problem.

 

Please help me with this! Thank you in advance

Please provide guidance on how I can resolve this.

Thank you

0 件の賞賛
返信
2 返答(返信)

694件の閲覧回数
Irina_Costachescu
NXP Employee
NXP Employee

Hi @osama_desoqi 

For the processors our toolbox offers support for, MBDT delivers default configuration projects (in both EBT and S32CT), for ensuring an initial starting point in terms of hardware setup, i.e. peripherals, pins, and clocks configuration. These configurations are created based on the NXP's evaluation boards that we have used for development and testing. 

When you selected the S32K311 processor inside the model's Hardware Settings, such a default configuration project, targeting S32K311 processor, was brought next to the model and used for the build process. However, since the S32K311-Q100EVB is not officially supported by MBDT for S32K3 1.5.0 (in terms that we do not provide a configuration tageting such an evaluation board), the UART component, necessary for PIL Serial communication, is not configured.

Irina_Costachescu_0-1732694394611.png

However, this is not a limitation, as you can customize this configuration project to target your hardware, by configuring the UART hardware instance, according to the board's schematic, pins, clocks, and interrupts, inside the .mex file. For a step by step tutorial on how this can be achieved, please check the following article 

Moreover, I would like to mention that MBDT for S32K3 1.6.0, which will be released at the beginning of next year, will offer such a configuration for S32K311-Q100EVB and will have the application examples it delivers tested and validated on this hardware as well.

Please let us know if you encounter any issues in enabling an UART instance for establishing PIL communication on S32K311.

Regards, 

Irina

タグ(1)
0 件の賞賛
返信

659件の閲覧回数
osama_desoqi
Contributor II
Thank you for your continued support. I would like to better understand configuring the UART hardware, according to the S32K311-Q100EVB board's schematic.

Appreciate NXP’s support on the above questions.
0 件の賞賛
返信