How to change Dedicated pins?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to change Dedicated pins?

727 Views
Shivanand
Contributor II

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.

0 Kudos
Reply
7 Replies

709 Views
VaneB
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply

663 Views
Shivanand
Contributor II

Hi @VaneB,

As you told me, me, until and unless I enable vrc_ctl, it is disabled. Even if I try to make it gpio or emios, the pin is always high at 3.3 V.

Shivanand_0-1746424540670.png

 

0 Kudos
Reply

632 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @Shivanand 

Could you please verify the values of the PCM_CONFIG[LMBCTLEN] and PCM_CONFIG[LMEN] registers?

0 Kudos
Reply

612 Views
Shivanand
Contributor II

Shivanand_0-1746522749077.png

Hi @VaneB 
The values of PMC registers, if any issue how can i resolve it.

0 Kudos
Reply

592 Views
VaneB
NXP TechSupport
NXP TechSupport

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.

0 Kudos
Reply

515 Views
Shivanand
Contributor II

Hi @VaneB .

The settings which are in the old thread are disabled . But in the register it  is set to 1.

image.png

Tags (1)
0 Kudos
Reply

497 Views
VaneB
NXP TechSupport
NXP TechSupport

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?

0 Kudos
Reply