Hi NXP team,
I'm using a custom board with an S32K358 microcontroller. In my board, one pin is optionally dedicated for VRC. Now I want to use that pin as GPIO or FlexIO. Is it possible? Please assist me.
Hi @Shivanand
Last Mile regulator base control (VRC_CTRL) is disabled by default. To enable it, set PCM_CONFIG[LMBCTLEN] and PCM_CONFIG[LMEN]. Configuring it is similar to other pins, but dedicated configurations should be considered if you want to use it as VRC_CTRL. You can also refer to the following threads where this topic has been discussed.
S32K3:PTE13 ADC1_S19 acquisition abnormal jumps
S32K344-How to configure to use the VRC_CTRL function
BR, VaneB
Hi @Shivanand
Thank you for sharing the information. Since PCM_CONFIG[LMBCTLEN] and PCM_CONFIG[LMEN] are set to 1, this means that the External BCTL regulator for V15 and the Last Mile regulator are both enabled. Please disable these settings as mentioned in previous shared threads.
Hi @Shivanand
To help us better understand your setup, could you please let us know which software version you are using?
Also, as part of the troubleshooting process, could you try manually setting the PCM_CONFIG[LMBCTLEN] and PCM_CONFIG[LMEN] register fields to 0 and let us know the result?