Hello Pavel,
Thanks a lot for your detailed answer.
VRC_CTRL should not be configured or forced as a GPIO output while it is used by the last-mile regulator. In particular, setting a GPIO output level to Low is not the correct way to disable or control the regulator.
What will happen if VRC_CTRL is enabled and OBE is also enabled at the same time? Maybe a intermediate level will be present on PTE13?
Where can I find some diagram to describe the combined driving path from both direct signal and SIUL2 output-multiplexing?
The following is my measurement. You can see when VRC_CTRL is enable, GPIO output can have some impact to the PTE13.
For validation, V15 and VRC_CTRL should be measured together during startup and under load changes.
How to trigger the load change, is it by switching the frequency of the core?
MSCR141 is documented as “Not Supported” because PTE13/VRC_CTRL uses a direct connection from the PMC rather than the normal SIUL2 output-multiplexing path. Therefore, MSCR141 must not be used to control the VRC_CTRL function.
I didn't quite understand here, at least GPIO141 can be used when VRC_CTRL is disabled, why does RM just mention
MSCR141 is not supported?Actually I can access MSCR141 from debugger, and I can switch the settings there.
Regarding Port_Ipw_SetOnlyOutputMode(), the fact that this function is called does not by itself prove that the PMC regulator is affected.
Sorry, I didn't get your point here.
Actually this is the main reason I asked this question, following code will be generated when I configure PTE13 PinMode as PG_VRC_CTRL_OUT in MCAL Port module.
#define SIUL2_0_PORT141_PG_VRC_CTRL_OUT (PORT_ONLY_OUTPUT_MODE)
Port_Ipw_SetOnlyOutputMode() will be called and “OBE” bit will set in this function.
I think it maybe a MCAL bug, PG_VRC_CTRL_OUT mode enables OBE by mistake.
Could you please help to check?
Do you think that configuring it to GPIO + PORT_PIN_HIGH_Z + PORT_PIN_LEVEL_NOTCHANGE can be a workaround, in this case, MSCR141 of PTE13 can be guaranteed to be 0 (OBE = 0)?

Best regards
Kumamon