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!