Hello,
I have installed the MBD toolbox for S32K3XX 1.2.0 version as per the installation guide. Now, I'm trying to create a new project for S32K344. But for me in Simulink Library Browser, IO Blocks, ISR Blocks and MCAL Blocks are showing Empty. But, in CDD Blocks and Communication Blocks are showing some Parameters. For your reference, I attached the image.
And one more thing I'm using MATLAB 2022a Version (See Matlab_Version.png image)
So, please let me know the solution to resolve the issues as soon as possible.
Solved! Go to Solution.
Hello,
Possible solutions to your problem might be:
Let me know if any of these suggestions helped you.
Best regards,
Bancila Sorin
Hello,
I have installed the MBD toolbox for S32K3XX 1.2.0 version. For me in Simulink Library Browser, In Communication Block CAN & SPI Blocks are there (See attachment). But I need I2C Block for my project. So, could you please tell me where I can find the Block?
And one more thing, I want to know about what are the communications blocks are available in NXP MBDT for S32K3XX MCUs.
Please Let me, if you need any other information.
Hello @Ajay_R
The MBDT for S32K3 1.2.0 does not include support for I2C. The communication components supported by the MBDT (blocks, examples, peripheral configuration in the external tools projects we deliver) are CAN, SPI and UART (which can be found under the CDD Blocks category).
However, since the MBDT Simulink blocks generate code on top of RTD (Real Time Drivers), if you would like to use I2C communication in your project, you could try the following approach:
Hope this helps,
Irina
Hello,
Possible solutions to your problem might be:
Let me know if any of these suggestions helped you.
Best regards,
Bancila Sorin
Hi.
Thanks for your reply. As you said, I tried that method. But still for me, it is not showing anything. So finally, in Add-On Explorer I uninstalled the Simulink (See Browser_2.png Image) and once again I installed it. Now it is showing. For your reference I attached images.
Note: After Uninstall Simulink I Restart my PC and then I installed it.