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.

TPS23861PW iic 地址和寄存器&寄存器问题



dear  ti sir:

在使用 TPS23861PW  pse 供电芯片时 发现两个问题还请协助

1: 使用地址 0x00 可以读取到芯片寄存器的值  默认地址应该是 0x20 /0x28  

2: 改变芯片的工作模式到 手动模式  写 0x19 (Power Enable Register Command = 19h with 1 Data Byte, Write Only  )写入0x0f  读取一直为0 

写入步骤:

 device_addr = 0x00

i2c_write(device_addr, 0x12,  0x33); //设置为手动模式

i2c_write(device_addr, 0x13, 0x00); //Disconnect Enable Register
i2c_write(device_addr, 0x14 ,0x00); //Detect/Class Enable Register
i2c_write(device_addr, 0x19, 0x0f); //Power Enable Register

 读取:附图片

bset wish!