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.

CCS/BQ76PL536A-Q1: BQ76PL536A-Q1

Part Number: BQ76PL536A-Q1
Other Parts Discussed in Thread: BQ76PL536A

Tool/software: Code Composer Studio

Iam using bq76pl536a and msp430 ( with reference code ). Iam trying to add a current measurement also with bq76pl536a and drive the mosfet to prevent from over current. Will it be possible by configuring the gpio of pl536a for current measurement using the op-amp and sense resistor. Or will it be possible with Msp430 microcontroller gpio , if so which is the best way. And what are the changes to be made in source code provided....

Thankyou 

  • Hi Kavuri,

    So will your external current sense circuit report a voltage representative of the shunt current to the GPIO pin? In this case, you would just need to implement GPIO inputs as normal and have the host MCU calculation to determine the current based on how you configure the expected output of the external circuit. Other ways would be to use a TI INA current sense device which could communicate via SPI etc. back directly to the host MCU. Another option is to switch to the newer bq79606a which supports the GPIOs as a SPI master to talk with an INA or something else.

    Regards,

    Taylor

  • Can i use LM4050 current shunt and configure the gpio ? And may i know the procedure where exactly the source code has to be modified to do the current measurement and trigger the mosfets by using mcu and gate drivers.

  • Kavuri,

    Are you attempting to regulate or measure current? This is more of a shunt regulator. I would recommend the INA family and interface with the MCU instead.We do not provide specific example code for custom designs with current sensing. But if you were to use the GPIOs as inputs to measure voltage, it would mainly be modifying the GPIO command registers in the datasheet pg 40. Again I would recommend using the bq79606a device instead for better GPIO functionality for things like this. If you insist to use the bq76pl536a, I would recommend interfacing a current measuring device directly to MCU instead.

    Regards,

    Taylor

  • Thankyou so much