PF8121 adjusting LDO voltages in U-boot/Linux

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

PF8121 adjusting LDO voltages in U-boot/Linux

1,143 Views
dsmith
Contributor I

I am trying to adjust the voltage output of LDOOUT1 over I2C from 3.3V (the value flashed in the OTP memory) to 1.8V. However when I changed the value of VLDO1_RUN, the PMIC resets. I suspect I am trigger an under voltage event as when I turn LDO1VMON_EN off, the PMIC does not reset, but I can't figure out what register the voltage is being compared against. My guess is that it is being compared to OTP_VLDO1, but I can't seem to read the value of that register so I am not sure.

u-boot=> i2c md 0x08 0xCE 0x3
00ce: 00 00 00 ...
u-boot=>

Having to disable the voltage monitor to be able to change the value of the rail seems a bit extreme and I wanted to ask if I am missing something about how to properly swap the voltage of the LDOOUT1 rail over I2C?

0 Kudos
Reply
4 Replies

1,116 Views
guoweisun
NXP TechSupport
NXP TechSupport

Can you help and share with your schematic here?

Please also let me know the PF8121 full part number?

 

0 Kudos
Reply

1,040 Views
dsmith
Contributor I

The full PMIC number is PC32PF8121A0EP. I have also included images of the PMIC in our design.

dsmith_0-1770223140381.png

dsmith_1-1770223273692.png

dsmith_2-1770223318338.png

 

0 Kudos
Reply

978 Views
guoweisun
NXP TechSupport
NXP TechSupport

For your schematic:

1:Pin47 need 2.2uF decouple capacitor

2:The input capacitors for LDOX are 1uF

3:Pin 48 connect it to ground.

4:Pin21 pull up to VDDIO with 100K

5:You can try to read below registers for confirm the fault.

guoweisun_0-1770278565377.png

 

I will close your case 00958417 and please neglect its survey request.

 

At last please let me know the read registers result after update your schematic.

 

0 Kudos
Reply

981 Views
guoweisun
NXP TechSupport
NXP TechSupport

1:PC32PF8121A0EP is the blank part which mean we can't identify the actual OTP part, because I assume it had done OTP.

2:I don't have PF8121 in hand now, but I have PF8100 I tested it by enable monitor and UV/OV State then adjust the LDO1 value ,there is no reset happen.

So you can directly change the LDO1 value at least in my hand there is no more issue directly change the LDO1 value. 

 

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2305592%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EPF8121%20adjusting%20LDO%20voltages%20in%20U-boot%2FLinux%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2305592%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20trying%20to%20adjust%20the%20voltage%20output%20of%20LDOOUT1%20over%20I2C%20from%203.3V%20(the%20value%20flashed%20in%20the%20OTP%20memory)%20to%201.8V.%20However%20when%20I%20changed%20the%20value%20of%26nbsp%3BVLDO1_RUN%2C%20the%20PMIC%20resets.%20I%20suspect%20I%20am%20trigger%20an%20under%20voltage%20event%20as%20when%20I%20turn%20LDO1VMON_EN%20off%2C%20the%20PMIC%20does%20not%20reset%2C%20but%20I%20can't%20figure%20out%20what%20register%20the%20voltage%20is%20being%20compared%20against.%20My%20guess%20is%20that%20it%20is%20being%20compared%20to%26nbsp%3BOTP_VLDO1%2C%20but%20I%20can't%20seem%20to%20read%20the%20value%20of%20that%20register%20so%20I%20am%20not%20sure.%3CBR%20%2F%3E%3CBR%20%2F%3Eu-boot%3D%26gt%3B%20i2c%20md%200x08%200xCE%200x3%3CBR%20%2F%3E00ce%3A%2000%2000%2000%20...%3CBR%20%2F%3Eu-boot%3D%26gt%3B%3CBR%20%2F%3E%3CBR%20%2F%3EHaving%20to%20disable%20the%20voltage%20monitor%20to%20be%20able%20to%20change%20the%20value%20of%20the%20rail%20seems%20a%20bit%20extreme%20and%20I%20wanted%20to%20ask%20if%20I%20am%20missing%20something%20about%20how%20to%20properly%20swap%20the%20voltage%20of%20the%20LDOOUT1%20rail%20over%20I2C%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2305638%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20PF8121%20adjusting%20LDO%20voltages%20in%20U-boot%2FLinux%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2305638%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ECan%20you%20help%20and%20share%20with%20your%20schematic%20here%3F%3C%2FP%3E%0A%3CP%3EPlease%20also%20let%20me%20know%20the%20PF8121%20full%20part%20number%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2310494%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20PF8121%20adjusting%20LDO%20voltages%20in%20U-boot%2FLinux%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2310494%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThe%20full%20PMIC%20number%20is%20PC32PF8121A0EP.%20I%20have%20also%20included%20images%20of%20the%20PMIC%20in%20our%20design.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22dsmith_0-1770223140381.png%22%20style%3D%22width%3A%20576px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dsmith_0-1770223140381.png%22%20style%3D%22width%3A%20576px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dsmith_0-1770223140381.png%22%20style%3D%22width%3A%20576px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dsmith_0-1770223140381.png%22%20style%3D%22width%3A%20576px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F375527iAF81FF9633C2B80A%2Fimage-dimensions%2F576x298%3Fv%3Dv2%22%20width%3D%22576%22%20height%3D%22298%22%20role%3D%22button%22%20title%3D%22dsmith_0-1770223140381.png%22%20alt%3D%22dsmith_0-1770223140381.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22dsmith_1-1770223273692.png%22%20style%3D%22width%3A%20586px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dsmith_1-1770223273692.png%22%20style%3D%22width%3A%20586px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dsmith_1-1770223273692.png%22%20style%3D%22width%3A%20586px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dsmith_1-1770223273692.png%22%20style%3D%22width%3A%20586px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F375528i1163347521E577B1%2Fimage-dimensions%2F586x516%3Fv%3Dv2%22%20width%3D%22586%22%20height%3D%22516%22%20role%3D%22button%22%20title%3D%22dsmith_1-1770223273692.png%22%20alt%3D%22dsmith_1-1770223273692.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22dsmith_2-1770223318338.png%22%20style%3D%22width%3A%20587px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dsmith_2-1770223318338.png%22%20style%3D%22width%3A%20587px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dsmith_2-1770223318338.png%22%20style%3D%22width%3A%20587px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dsmith_2-1770223318338.png%22%20style%3D%22width%3A%20587px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F375529iB603F2FAA6DED764%2Fimage-dimensions%2F587x163%3Fv%3Dv2%22%20width%3D%22587%22%20height%3D%22163%22%20role%3D%22button%22%20title%3D%22dsmith_2-1770223318338.png%22%20alt%3D%22dsmith_2-1770223318338.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2312659%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20PF8121%20adjusting%20LDO%20voltages%20in%20U-boot%2FLinux%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2312659%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EFor%20your%20schematic%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E1%3APin47%20need%202.2uF%20decouple%20capacitor%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E2%3AThe%20input%20capacitors%20for%20LDOX%20are%201uF%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E3%3APin%2048%20connect%20it%20to%20ground.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E4%3APin21%20pull%20up%20to%20VDDIO%20with%20100K%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E5%3AYou%20can%20try%20to%20read%20below%20registers%20for%20confirm%20the%20fault.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22guoweisun_0-1770278565377.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22guoweisun_0-1770278565377.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22guoweisun_0-1770278565377.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F375635iC3A10E47091E57BE%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22guoweisun_0-1770278565377.png%22%20alt%3D%22guoweisun_0-1770278565377.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSTRONG%3EI%20will%20close%20your%20case%26nbsp%3B00958417%20and%20please%20neglect%20its%20survey%20request.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSTRONG%3EAt%20last%20please%20let%20me%20know%20the%20read%20registers%20result%20after%20update%20your%20schematic.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2312611%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20PF8121%20adjusting%20LDO%20voltages%20in%20U-boot%2FLinux%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2312611%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E1%3APC32PF8121A0EP%20is%20the%20blank%20part%20which%20mean%20we%20can't%20identify%20the%26nbsp%3Bactual%20OTP%20part%2C%20because%20I%20assume%20it%20had%20done%20OTP.%3C%2FP%3E%0A%3CP%3E2%3AI%20don't%20have%20PF8121%20in%20hand%20now%2C%20but%20I%20have%20PF8100%20I%20tested%20it%20by%20enable%20monitor%20and%20UV%2FOV%20State%20then%20adjust%20the%20LDO1%20value%20%2Cthere%20is%20no%20reset%20happen.%3C%2FP%3E%0A%3CP%3ESo%20you%20can%20directly%20change%20the%20LDO1%20value%20at%20least%20in%20my%20hand%20there%20is%20no%20more%20issue%20directly%20change%20the%20LDO1%20value.%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E