VRC_CTRL Clarification

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

VRC_CTRL Clarification

109 Views
kumamon
Contributor I

 

Hello NXP Support,

 

I would like to ask some questions on S32K3's VRC_CTRL (PTE13).

(1) RM mentions VRC_CTRL is direct signal, could you please check the understanding/question in the following table (red font)?

image.png

ALTx

OBE

IBE

VRC_CTRL

Question

GPIO

Disabled

Disabled

Enabled

VRC_CTRL will take effect, right?

GPIO

Disabled

Enabled

Enabled

VRC_CTRL will still take effect, right?

GPIO

Enabled

Not Care

Enabled

Who will take effect?

 

(2) If we configure PTE13 as GPIO + OBE Enabled + Output Level Low, will the VRC_CTRL negative feedback mechanism be broken because VRC_CTRL is treated as error signal and now maybe GPIO and VRC_CTRL are driving the pin at the same time?

(3) In NXP MCAL, as long as I configure PTE13 as PG_VRC_CTRL_OUT, OBE will be automatically set by function Port_Ipw_SetOnlyOutputMode(), is it an issue of MCAL?

(4) How to test VRC_CTRL feedback mechanism , what waveform is expected during which condition?

(5) Why is MSCR141 documented as "Not Supported" in RM?

image.png

Thanks.

BR

 

0 Kudos
Reply
1 Reply

3 Views
PavelL
NXP Employee
NXP Employee

Hello @kumamon ,

I think the main misunderstanding is that VRC_CTRL is being treated as a regular SIUL2/GPIO output.

VRC_CTRL is a direct output of the PMC last-mile regulator. When the external ballast-transistor supply option is used, the PMC monitors the V15 domain and adjusts VRC_CTRL, which is connected to the base of the external NPN transistor. This forms a closed analog feedback loop. Therefore, VRC_CTRL is not controlled through the normal GPIO output data registers.

For this reason, the GPIO ALTx, IBE and OBE combinations in the table are not applicable to the VRC_CTRL function:

  1. IBE only controls the digital input buffer and has no role in the V15 regulator feedback loop.

  2. 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.

  3. The last-mile regulator is controlled by the PMC, including the PMC_CONFIG[LMBCTLEN] field and the initialization sequence documented in the device-specific PMC chapter.

  4. VRC_CTRL is an analog control signal rather than a digital status output. Consequently, there is no single fixed waveform that applies to all designs. Its voltage depends on the external transistor, V15 load, supply voltage, external capacitance and operating mode. For validation, V15 and VRC_CTRL should be measured together during startup and under load changes. The expected result is that V15 remains within its specified operating range while VRC_CTRL adjusts the external transistor as required.

  5. 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.

Regarding Port_Ipw_SetOnlyOutputMode(), the fact that this function is called does not by itself prove that the PMC regulator is affected.

Please also note that the reset behavior is derivative-specific. For example, the S32K3x8 (and S32K356) PMC has a device-specific CONFIG reset value of 0x00000083, so the last-mile regulator configuration is enabled after reset. This must not be generalized from older S32K3 derivatives where LMBCTLEN may need to be enabled explicitly.

Best regards,

Pavel

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2418278%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EVRC_CTRL%20Clarification%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2418278%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CBR%20%2F%3E%3CP%3EHello%20NXP%20Support%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3EI%20would%20like%20to%20ask%20some%20questions%20on%20S32K3's%20VRC_CTRL%20(PTE13).%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(1)%20RM%20mentions%20VRC_CTRL%20is%20direct%20signal%2C%20could%20you%20please%20check%20the%20understanding%2Fquestion%20in%20the%20following%20table%20(red%20font)%3F%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%20class%3D%22%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F397253iE3646AF97EFA9E52%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CTABLE%20width%3D%22526%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2264%22%3E%3CP%3E%3CSTRONG%3EALTx%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%2269%22%3E%3CP%3E%3CSTRONG%3EOBE%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%2289%22%3E%3CP%3E%3CSTRONG%3EIBE%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%2282%22%3E%3CP%3E%3CSTRONG%3EVRC_CTRL%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%22223%22%3E%3CP%3E%3CSTRONG%3EQuestion%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2264%22%3E%3CP%3EGPIO%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%2269%22%3E%3CP%3EDisabled%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%2289%22%3E%3CP%3EDisabled%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%2282%22%3E%3CP%3EEnabled%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%22223%22%3E%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3EVRC_CTRL%20will%20take%20effect%2C%20right%3F%3C%2FFONT%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2264%22%3E%3CP%3EGPIO%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%2269%22%3E%3CP%3EDisabled%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%2289%22%3E%3CP%3EEnabled%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%2282%22%3E%3CP%3EEnabled%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%22223%22%3E%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3EVRC_CTRL%20will%20still%20take%20effect%2C%20right%3F%3C%2FFONT%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2264%22%3E%3CP%3EGPIO%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%2269%22%3E%3CP%3EEnabled%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%2289%22%3E%3CP%3ENot%20Care%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%2282%22%3E%3CP%3EEnabled%3C%2FP%3E%3C%2FTD%3E%3CTD%20width%3D%22223%22%3E%3CP%3E%3CSTRONG%3E%3CFONT%20color%3D%22%23FF0000%22%3EWho%20will%20take%20effect%3F%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3E(2)%20If%20we%20configure%20PTE13%20as%20GPIO%20%2B%20OBE%20Enabled%20%2B%20%3C%2FSPAN%3E%3CSTRONG%3EOutput%20Level%20Low%3C%2FSTRONG%3E%3CSPAN%3E%2C%20will%20the%20VRC_CTRL%20negative%20feedback%20mechanism%20be%20broken%20because%20VRC_CTRL%20is%20treated%20as%20error%20signal%20and%20now%20maybe%20GPIO%20and%20VRC_CTRL%20are%20driving%20the%20pin%20at%20the%20same%20time%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(3)%20In%20NXP%20MCAL%2C%20as%20long%20as%20I%20configure%20PTE13%20as%20PG_VRC_CTRL_OUT%2C%20OBE%20will%20be%20automatically%20set%20by%20function%20%3CEM%3EPort_Ipw_SetOnlyOutputMode()%3C%2FEM%3E%2C%20is%20it%20an%20issue%20of%20MCAL%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(4)%20How%20to%20test%20VRC_CTRL%20feedback%20mechanism%20%2C%20what%20waveform%20is%20expected%20during%20which%20condition%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E(5)%20Why%20is%20MSCR141%20documented%20as%20%22Not%20Supported%22%20in%20RM%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20843px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20843px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F397252i9CF111717545AF90%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3CP%3EBR%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E