S32DS version: S32DS3.5
RTD version: RTD 4.0.0
We are currently encountering some problems during the development of S32K314. When using "mex" to configure the GPIO output buffer, it is set to enable, but it seems to be disabled in the generated code. What could be the cause of this?
This issue is not limited to one or two GPIOs. It seems that other communication pins are also experiencing similar problems. Are there any relevant solutions or information regarding this issue?
mex pin setting:
gen code:
Solved! Go to Solution.
Hi @Alex_hsu,
By default, all pins with Grey ticked in Pins tool is routed already, user don't need to add these pins to configuration pins list.
I suggest removing all PowerAndGround out of pins list, as it already routed.
Best regards,
Julián
I define all the 172 pins
and here's the powerandground pin define setting
Hi @Alex_hsu,
By default, all pins with Grey ticked in Pins tool is routed already, user don't need to add these pins to configuration pins list.
I suggest removing all PowerAndGround out of pins list, as it already routed.
Best regards,
Julián
It seems like that solved the problem, but why the error occurred?
Hi after without setting the power and ground pins the other pins looks fine,
but still 2 pins setting is error.
This raises my concern about whether there might be other errors generated in the gen code by S32DS3.5 .
Hi @Alex_hsu,
Please make sure either the Peripheral OSC or Peripheral PG groups are not declared either, as re-declaring already routed pins cause this issue.
Best regards,
Julián
Hi @Alex_hsu,
Could you share your pin configuration? Are you enabling by chance the PowerAndGround dedicated group? How many pins are being configured?
Best regards,
Julián