工具/软件:Code Composer Studio
代码为列表
-------------------------------------------------------------------------------------------------------------------------------------------------------
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;7.5 时间:247mV/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;7.5 时间:247mV/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打开
这是我通过i2c写入TPS65.9113万的内容,但输出(VRTC,LDO,VDD1,VDD2,VIO......)中没有内容 )。
代码是否 有任何问题,或者有一些寄存器 没有配置?
我需要一些帮助
谢谢!