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.

TPS23861 Automatic mode configuration

Other Parts Discussed in Thread: TPS23861

Hi,

I have a problem with TPS 23861, have five controllers connected in daisy chain, and I want to work in automatic mode, four of them working correctly but one does not work well.

By I2C link, I have assigned different directions and all respond correctly to the assigned address.
The problem is that when I write in the register "Reset 1A" (0xD0) Four are configured in auto mode  "Operating Mode 12" (0xFF) but the fifth this register has to (0x00).

I have found that in the "Device ID 43" the content of the four operating in automatic mode is (0xE3) but that is not configured in automatic mode content is (0xE2)

Can this be the problem?
Thank you

  • Hi Fernando,

    What value you wrote to the 0x11 register of fifth device? I want to check the AUTO bit in register 0x11. If you want to use Auto Mode, the AUTO bit should be set.

    Regarding the 0x43 register, I have to check with our firmware engineer.

    Best regards,
    Penny
  • Hi Penny,

    The value of the AUTO bit is set in the 0x11 register.

    By I2C link I make the following initialization sequence for the five devices with broadcast commands:

    Reset all devices

    0x60 Global Address

    0x4E 0x20 wait time 20 msg.

    0xAA Unlock Code

    0x00 Temporary common slave address

    0x00 Temporary common slave address R/W=0

    0x1A Command code, Reset register

    0xD0 write data to all devices, with RESAL bit to set

    0x04 0xB0 wait time 1,2 msg.

    Assigning addresses of all devices

    0x60 Global Address

    wait time 20 msg.

    0xAA Unlock Code

    0x00 Temporary common slave address

    0x00 Temporary common slave address R/W=0

    0x11 Command code, I2C Eslave Address

    0xA1 Address 0x21 for the first device with the AUTO bit to set

    0xA2 Address 0x22 for the second device with the AUTO bit to set

    0xA3 Address 0x23 for the third device with the AUTO bit to set

    0xA4 Address 0x24 for the fourth device with the AUTO bit to set

    0xA5 Address 0x25 for the fifth device with the AUTO bit to set

    After I read the contents of register 0x11 and check that all devices respond correctly me with the assigned address and bit AUTO 1

    0xA1; 0xA2; 0xA3; 0xA4; 0xA5

    After I read the contents of the following registers and device address 0x22 has values different devices with address 0x21, 0x23, 0x24 and 0x25

    Register (CMD CODE)

    Devices with address

    0x21, 0x23, 0x24, 0x25

    Device with addres

    0x22

    01

    0xE4

    0x80

    12

    0xFF

    0x00

    13

    0x0F

    0x00

    14

    0xFF

    0x00

    15

    0xF0

    0x00

    21

    0x55

    0x00

    43

    0xE3

    0xE2

     

    I have repeated this same sequence with five different chip with the following result:

    Register (CMD CODE)

    Device with addres

    0x24

    Devices with address

    0x21, 0x22, 0x23, 0x25

    01

    0xE4

    0x80

    12

    0xFF

    0x00

    13

    0x0F

    0x00

    14

    0xFF

    0x00

    15

    0xF0

    0x00

    21

    0x55

    0x00

    43

    0xE3

    0xE2

     

    Best regards,

    Fernando

  • Hi  Fernando,

    Thank you very much for the additional information. Please help me clarify the below items:

    1. Could you please take a picture of the devices that report "0xE2" in register 0x43? We want to make sure the devices have the same silicon version. 
    2. After you write the new address to each device, could read the slave address from register 0x11 to double check the write is successful? 
    3. Please review TPS23861 datasheet on page 39 which explains the programming sequence. The first step is write an unlock code, temporary address through a broadcast address 0x30. I didn't see the broadcast address 0x30 in your step, so please double check that.
    4. Can you send your schematic to me and I want double check the connection of A3, AIN and AOUT pin of each device. 

    Thanks,

    Penny

  • SE1877_1 P2_6.pdf

    Hi Penny,

    Thank you very much for your help me.

    1. I have tried to take a photo but it does not look good, sorry.

    I have found that there are no external differences between them, all are marked equal     TPS23861PW

                  4AKG4

           C69S

    1. After writing the new directions, I have read many times 0x11 register and all addresses have been written successfully on all devices.
    1. I have done the same sequence with the 0x30 broadcast address and the result is the same.
    1. I send you the schematic of my design.

    You can check that the A3 pin is tied low for all devices with zero ohm resistor. The connection of the AIN and AOUT pins also is made with zero ohm resistor.

     

    Best regards,

    Fernando

  • Hi Fernando,

    Your schematic looks good to me. I have one concern about the power on sequence of the system, especially the 48V and 3.3V. Please refer to our app note. I don't think device on your board should have  0xE2 in register 43. Do you have TPS23861EVM and GUI to verify that?

    Best regards,

    Penny

    www.ti.com/.../slva723.pdf

  • Hi Penny,

    To ensure the correct power up sequence I have put a 24V zener diode in series with the bias resistors of the base of the bipolar transistor. So I guarantee that when VDD = 2.8V, the tension in VPWR is greater than 18,5V and everything works OK.

    I do not have TPS23861EVM and GUI to verify the contents of register 43, I access the content of registers using I2C commands described in the data sheet.

    I replaced the devices with content 0xE2 in the register 43 by other new devices and I have verified to work correctly and the contents of register 43 is 0xE3 in all. In total 15 devices I tested, 10 are working properly (register 43 0x0E) and 5 do not working properly (register 43 0x0D). It not which is the reason why this has happened.

    I need to limit the power output for each of the ports on the same device.

    Can I do this by setting the registers?

    Can I configure permanent, even with loss of power?

    How do I configure them?

    For example: port 1 Class 0 "13W"; Port 2 Class 1 "3,84W"; Port 3 Class 2 "6,49W"; Port 4 Class 4 "25,5W"

    Best regards

  • Hi Penny,

    To ensure the correct power up sequence I have put a 24V zener diode in series with the bias resistors of the base of the bipolar transistor. So I guarantee that when VDD = 2.8V, the tension in VPWR is greater than 18,5V and everything works OK.

    I do not have TPS23861EVM and GUI to verify the contents of register 43, I access the content of registers using I2C commands described in the data sheet.

    I replaced the devices with content 0xE2 in the register 43 by other new devices and I have verified to work correctly and the contents of register 43 is 0xE3 in all. In total 15 devices I tested, 10 are working properly (register 43 0xE3) and 5 do not working properly (register 43 0xE2). It not which is the reason why this has happened.

    I need to limit the power output for each of the ports on the same device.

    Can I do this by setting the registers?

    Can I configure permanent, even with loss of power?

    How do I configure them?

    For example: port 1 Class 0 "13W"; Port 2 Class 1 "3,84W"; Port 3 Class 2 "6,49W"; Port 4 Class 4 "25,5W"

    Best regards

  • Hi Fernando,

    Great to hear you get it working. If you don'y mind, could you please ship the 5 pcs of "not working" TPS23861 and we can take a look?

    here's the answers to your questions related to power limitation:

    1. you can set current limit to each port. This can be done by setting register 0x2A, 0x2B(ICUT setting) and 0x40(ILIM setting).
    2. The current limit setting can't be stored permanently, and it will change back to RST state after power cycle.
    3. ICUT and ILIM setting should be set accordingly. Please refer to TPS23861 datasheet section 7.5.24.  

    Best regards,

    Penny

  • Hi Penny,

    I have prepared 5 pcs, how you send them?

    Best regards

    Fernando

  • Hi Fernando,

    Can I have your email and I can send you my address. Thanks.

    Best regards,

    Penny