Other Parts Discussed in Thread: TPS25750, BQ25798
Hi,
I was trying to reach the ADC values by reading the VBAT ADC and IBAT ADC registers, but I noticed that the values constantly came back to zero. As a result of my research, I saw that the ADC_EN bit in the ADC_Control register should be set to the enable value. I want to read this register using I2Cr and I2Cw commands via TPS25750 and then set the ADC_EN bit. I have done the necessary coding and I am sure that the codes are correct. When I tried to read the register with the I2Cr command, I noticed that I read the register, but when I tried to write data to the register with the I2Cw command, I got a "task rejected" return. When I watched the line with an oscilloscope, I saw that this problem occurred because the Clock line on the TPS25750's master line was at low. I have included the oscilloscope images below.
Yellow line is I2Cm_SDA and blue line is I2Cm_SCL.
I2Cr Datas:
I2Cw Datas:
I have seen a similar problem(https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1300625/usb-pd-chg-evm-01-i2c_scl-clock-line-stuck-at-low-state-when-pd-adapter-is-connected) before, in a different way, in version 7.0.3 of the GUI, and it was solved when I used version 7.0.4. I think this problem may be caused by the patch file. How can I solve this problem?