How to change Dedicated pins?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to change Dedicated pins?

1,126 次查看
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 项奖励
回复
7 回复数

1,108 次查看
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 项奖励
回复

1,062 次查看
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 项奖励
回复

1,031 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @Shivanand 

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

0 项奖励
回复

1,011 次查看
Shivanand
Contributor II

Shivanand_0-1746522749077.png

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

0 项奖励
回复

991 次查看
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 项奖励
回复

914 次查看
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

标记 (1)
0 项奖励
回复

896 次查看
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 项奖励
回复