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.

USB-PD-CHG-EVM-01: BUS locked

Part Number: USB-PD-CHG-EVM-01
Other Parts Discussed in Thread: BQ25792, USB2ANY

Hello TI Team,

 

I am currently working on I2C communication between the USB-PD-CHG-EVM-01 and an arduino nano.

My long term goal is to receive measuring datas like the Batteryvoltage from the BQ25792 on the arduino to indicate the SOC of the Battery through the arduino nano on the Breadboard. Alltough my current target is just to show battery voltage on the serial Monitor of the arduino.

The Battery is attached to BATT and GND of the USB-PD-CHG-EVM-01.

I found a simple arduino sketch how to receive I2C Data using an arduino and changed it with my datas which includes the hex address of the BQ25792 which is 0x6B and the REG35_VBUS_ADC Register hex address 0x35

I connected the I2C slave Pins 9 (SCL) and 10 (SDA) with jumper wires to the arduino nanos A4 (SDA) and A5 (SCL) on USB2ANY Connector J3 (See attached picture below) and I also connected Pin 6 (AGND) on the USB2ANY Connector to the GND oft he arduino.

My Problem is that in this Process trying to receive data from the EVM to the arduino I somehow locked the bus of the evm. It is not possible for me anymore to program the EVM using flash center and the aardvark by total phase adapter and I am also not able to charge the Battery with 45W like before. Adding the Aardvark Adapter to the Flash Center works fine but as soon I try to programm and verify the Full Flash binary from the GUI I receive Bus Locked (see below).

So my Question is if you have a solution to solve this Issue? Also please confirm that I am using the right PINs.


Regards

Gerrit

  • I think I'm seeing something similar. I was returning to trying different configuration settings (hoping new GUI will resolve my earlier issues), but when I tried to flash a second configuration to the flash chip, flash center complains that the bus is locked. Just measuring with my meter, the clock line is close to ground (the data line looks high).

    I was thinking on this, and thought up two ideas for reprogramming it:

    1) If possible, just supply 3.3V to power the flash IC and bus w/o powering the TPS.

    2) Upon boot, the TPS may eventually give up attempting to load its profile. By not loading the current profile (and going with a default config), then hopefully it wouldn't pull the clock low.

    With #2, I realized I could prevent it from loading its current profile by grounding the clock line preemptively. I did this: had clock grounded via J7 at boot, removed the wire, and then flashed it with the Aardvark via J5 - worked fine then!

    Hope this helps,

    -Eric