Hello,
I wonder if it's possible to configure J8 debug header to GPIO for an S32K358 BMU. I tried it already, from PTD1 to PTE8, but I didn't get any voltage out.
Neither digital 0 nor 1 worked, despite the program being built and uploaded successfully.
S32CT mex file is attached.
Any suggestions?
Thanks.
I have reviewed your .mex file and I have some observations. When using MCAL, you need to remove the Siul2_Port driver and use Port instead. Also, each pin configured in the Pins tool needs to be added in Port > PortConfigSet > PortContainer > PortPin.
BR, VaneB
Hello,
Thank you for the suggestion! I forgot to mention that I'm using 1.4.0 version of the MBDT, and according to this revised document, we don't need to configure the Port for 1.4.0. Is that true? I was following the tutorial there.
I am not very familiar with how MDBT tools work, but it is necessary to use the PORT driver to configure the pins and specify how the pin will behave electrically and functionally. A good reference to understand the connection between the Port and Dio drivers can be found at the following link (even if it is for the EB Tresos configuration tool, the concepts are similar).
S32K312 MBDT 1.4.0 Unable to read configuration
If this differs from the version you are using, please help me posting a new question in the following community. There the engineers in charge of the Model-Based Design Tools (MBDT) will provide better support in this part.