This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS / TPS65911: TPS659113 have noting out put in test mode

Part Number: TPS65911

Tool/software: Code Composer Studio

the code as list

-------------------------------------------------------------------------------------------------------------------------

 

i2c2_writedata(DEVADD_TPS,Therm_REG,0x0D); 
i2c2_writedata(DEVADD_TPS,DCDCCTRL_REG,0x39); 
i2c2_writedata(DEVADD_TPS,DEVCTRL_REG,0x94); 
i2c2_writedata(DEVADD_TPS,DEVCTRL2_REG,0x34); 
i2c2_writedata(DEVADD_TPS,WATCHDOG_REG,0x00); ·
i2c2_writedata(DEVADD_TPS,INT_MSK_REG,0xFF); 
i2c2_writedata(DEVADD_TPS,GPIO0_REG,0x0E); 
i2c2_writedata(DEVADD_TPS,GPIO7_REG,0x0E); 
i2c2_writedata(DEVADD_TPS,VRTC_REG,0xFD); 

i2c2_writedata(DEVADD_TPS,VIO_REG,0x75); //1.8V 1.2A TPS0_VDDA_1V8

i2c2_writedata(DEVADD_TPS,LDO1_REG,0x51); //1.8V 0.32A TPS0_VDAC_1V8
i2c2_writedata(DEVADD_TPS,LDO4_REG,0x51); //1.8V 0.05A TPS0_PLL_1V8
i2c2_writedata(DEVADD_TPS,LDO5_REG,0x29); //1.8V 0.3A TPS0_HDMI_1V8 
i2c2_writedata(DEVADD_TPS,LDO7_REG,0x29); //1.8V 0.3A TPS0_VDD_1V8 
i2c2_writedata(DEVADD_TPS,LDO8_REG,0x29); //1.8V 0.3A TPS0_USB_1V8



i2c2_writedata(DEVADD_TPS,GPIO7_REG,0x0F); 
i2c2_writedata(DEVADD_TPS,LDO3_REG,0x65); //3.3V 0.2A TPS0_GPIO_3V3
i2c2_writedata(DEVADD_TPS,LDO6_REG,0x65); //3.3V 0.3A TPS0_VDD_CDC



i2c2_writedata(DEVADD_TPS,GPIO0_REG,0x0F); 


i2c2_writedata(DEVADD_TPS,LDO2_REG,0x2D); 
i2c2_writedata(DEVADD_TPS,VDD1_REG,0x2D); //TPS0_CVDD_ARM ; Time step7.5 mV/us
i2c2_writedata(DEVADD_TPS,VDD1_OP_REG,0x3F); //1.35V 1.5A TPS0_CVDD_ARM 

i2c2_writedata(DEVADD_TPS,VDD2_REG,0x2D); //TPS0_CVDD_DSP ; Time step7.5 mV/us
i2c2_writedata(DEVADD_TPS,VDD2_OP_REG,0x3F); //1.35V 1.5A TPS0_CVDD_DSP 

i2c2_writedata(DEVADD_TPS,VDDCRTL_OP_REG,0x3F); //1.35V 6A TPS0_CORE_VDD
i2c2_writedata(DEVADD_TPS,VDDCRTL_REG,0xFF); //TPS0_CORE_VDD TURN ON

This is what i write to TPS659113 by i2c,but there is nothing in output (VRTC,LDO,VDD1,VDD2,VIO.....).

Does the code have any problems or there is some registers that i miss configuration?

I need some help 

thank you!

  • Hi,

    Can you clarify what you mean by test mode?

    Each regulator has status bits which needs to be set for the regulator to be enabled, named "ST" and typically in the LDOx_REG or VDDx_REG registers. In general, a value of 01 will allow the regulator to operate with normal current rating, and a value of 11 will allow it to operate with a reduced current rating for sleep mode.

    Best Regards,

    Rick S.

  • Hi,

    Thanks for your reply

    The TPS659113's BOOT mode as followed in it's  datasheet.In order to program TPS659113's registers I select Test boot mode by leaving BOOT1 floating.

    Can I use the other two boot modes to  program TPS659113's registers in order to get the appropriate output voltage that I need?

    I have configured the ST bit in every LDOX_REGISTER 01,but nothing help.

    I guess neither can I access the TPS659113's EEPROM nor can I program the TPS659113 by I2C. Is that true ?

  • You cannot re-program the TPS65911x, but you can alter current settings using I2C.

    In test mode you should still be able to enable the registers via i2c. Testing on a board locally I can enable all LDOs and Buck regulators with BOOT1 floating, so there may be an issue with the i2c interface, or the PMIC may be disabled. Figure 6-1 in the datasheet shows the Power-on Enable (top right).

    Any voltages written to a TPS65911x device using i2c will be lost once the PMIC is reset, and there is no way to re-program default start-up voltages.

    The other boot modes will always start with their pre-configured voltages. Fixed boot mode voltages are defined in the datasheet, and EEPROM boot mode voltages are defined in the User's Guides: http://www.ti.com/product/TPS65911/technicaldocuments

    To ensure the PMIC is configured correctly you may want to try BOOT1 tied high or low to ensure you can communicate with the device.

    You may also want to try multiple reads to confirm the registers are correctly configured within the PMIC.