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.

TPS23881: Measure Power Consumption with TPS23881

Part Number: TPS23881
Other Parts Discussed in Thread: MSP-EXP430FR2433, MSP430FR5969, MSP-EXP430FR5969, , BOOST-PSEMTHR-007,

I'm interested in finding out whether the demo code for the TPS23881EVM development board is compatible with the MSP-EXP430FR2433 launchpad board, or if a different board is necessary to run this test code.

  • Hi Jesus,

    The TPS23881EVM reference code was developed using MSP430FR5969 Launchpad board. I would recomend using this board to run test code.

    Regards,

    Brandon

  • Hi brandon,

    Would the MSP-EXP430FR5969 development board be suitable for conducting these tests? In case I don't have this board, does the TPS23881 have any automatic configuration that allows me to perform tests while waiting for the board to arrive?

  • Hi Jesus,

    I have not tested with this launchpad, however there should be no issues since the flash image for the reference code is not large enough to cause issues. I can not gaurentee the operation with this launchpad but would anticipate success. I am not expert on MSP430, only PSE devices (TPS23881). 

    Currently, the TPS23881 does not have autonomous mode (no host control needed) for operation. We do have TPS23882B1 avaialble which supports autonomous mode, however this device is a Type-3 2-Pair PSE controller and can only support up to 30W per port.

    We are working on release a new device, TPS23881B1 which will support autonomous mode. This means the device can drop in and operate without any host control needed. We are targeting Feb for this release.

    Regards,

    Brandon

  • Hello Brandon,

    The specific question is whether it's possible to conduct functional tests using the development modules TPS23881EVM-008 and BOOST-PSEMTHR-007 without requiring the MSP430, or if the MSP430 always needs to serve as the master.

    Regards,

    Jesus

  • Hi Jesus,

    TPS23881 device does not have autonomous mode feature and therefore needs a host to initialize and load SRAM and set operating mode. There are two options for host control using TPS23881EVM-008 + BOOST-PSEMTHR-007:

    1. MSP430 can run reference code to demonstrate the functionality of Auto and Semi-Auto mode operation.

    2. USB-TO-ANY connection + GUI to interface with TPS23881EVM.

    In the MSP430 reference code, the SRAM will automatically be loaded to the device, however when using USB-TO-ANY + GUI you will need to load SRAM using GUI tool. For more information, I would check out the TPS23881EVM-008 User's Guide. 

    Regards,

    Brandon

  • Hi Brandon,

    I appreciate your helpful responses. I'm curious to know if it's possible to configure the TPS23881 using a different I2C host device other than the MSP430FR5969 module. If this is feasible, could you provide guidance on the procedure? Is there a guide available for this task, or does it need to be implemented from scratch?

    Best regards,
    Jesus.

  • Hi Jesus,

    Yes, any device with I2C capability works as host. Typically in a system architecture it is some MCU or CPU. 

    The sequencing for I2C control should be reference from the MSP430 reference code available on TI.com under TPS23881 device page. This reference code has two operating modes, semi-auto and auto. I would recommend using the auto mode in the reference code to follow for your CPU FW development. First step is to load SRAM then go through device setup. In auto mode, the main thing is to set your port power allocation (0x29) and then set the operating mode (0x12).

    Regards,

    Brandon

  • Hi Brandon,

    I appreciate your responses; they are extremely valuable. In the auto mode configuration of the TPS23881, can power supply readings be obtained for each port? Also, is it possible to deactivate a port in auto mode?

    Regards,

    Jesus

  • Hi Jesus,

    In auto mode, you can monitor the voltage and current at each port to calculate the power on each port. Registers 30h - 3Fh:

    In auto mode, detection and classification occurs constantly. Therefore, you can issue a power off command in auto mode to shut down the port, however since detection and classification will occur continuously the port will turn back on if the connection is still valid. If you wish to control the power on and off of each port, I would recommend using semi-auto mode. This is similar to auto mode, where detection and classification occur continuously but the host controls the power on command using register 19h. 

    Regards,

    Brandon