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.

BQ78350: Bq78350 SmBus Communication Problem Stm32

Part Number: BQ78350
Other Parts Discussed in Thread: BQ76940, EV2400, , BQSTUDIO

I have EV2400 board and I can connect with MSP and BQ-Studio to EV2400 (both Bq76940 and Bq78350). I want to use STM32F0 as a microcontroller (it has Smbus and i2c ). I could connect to Bq76940 monitoring chip via I2C. I read the values of battery cells. Until here, there is no problem.

I tried to connect the Bq78350 with Stm32f0 via SmBus. I can read the slave address in Smbus of Bq78350 as 0x16. And I tried to send command like toggle led or reset device (because I wanted to be sure about connection) I couldn't get any reaction from Bq78350. Smbus can find the slave address but when i tried to read data or send command. I couldn't be succesful. I need your help. If i can do a successful BMS with these chips. I will produce so many BMS Card with my microcontroller. Please help me the solve this problem.  

  • Hi Sinan,
    I wanted to let you know that your post has been assigned to one of our applications engineers. This week takes place our annual Battery Management Deep Dive event for which all our engineers are all hands on deck. He will be able to your post early next week, once this event is over.

    You can check out recordings of much of the material we present at www.ti.com/deepdive

    Thank you for your understanding!
  • Hi Sinan,

    I do have a tool that converts an srec file to an SMBus script that can be used for the BQ78350-R1. I think this might be able to help with what you are trying to do. I sent you a private message since the tool is too large to share on the forum.

    Best regards,
    Matt
  • Hello thank you for helping.

    Sinanbaydan94@gmail.com

    I will let you know about the situation. Thank you.

    Best Regards

  • Hey Matt Sunna,

    I think you misunderstand me. My problem is not about PC CONNECTION. I dont need to a programme for PC. I dont know why you send me script generator.  Also, it doesnt have bq78350 on the list. 

    I connected BQ78350 with BQ-Studio via SMBUS. Also, i connected Bq76940 with STM32F0 via I2C.  BUT, I couldnt connect to BQ78350 with STM32F0 via Smbus.

  • Hey Matt Sunna,

    I think you misunderstand me. My problem is not about PC CONNECTION. I dont need to a programme for PC. I dont know why you send me script generator. Also, it doesnt have bq78350 on the list.

    I connected BQ78350 with BQ-Studio via SMBUS. Also, i connected Bq76940 with STM32F0 via I2C. BUT, I couldnt connect to BQ78350 with STM32F0 via Smbus.
  • Hi Sinan,

    I understand. The script generator I sent is a way to convert the data memory contents into a format that you can use to create SMBus commands to write the data flash. However, I can see how this doesn't solve your issue of getting the basic SMBus communication working with the STM32F0.

    Since I am not able to see what is preventing successful SMBus writes from your controller, here are a few suggestions:

    • Make sure you have the proper pull-up resistors on the SMBus lines. The EV2400 has internal pull-up resistors. I assume these are in place on your setup, but just want to double-check.
    • Capture a few SMBus transactions using the EV2400. In bqStudio, there is a Advanced Comm SMB screen where you can run basic commands and you can capture the waveforms to compare with the transactions using the STM32F0. Make sure to disable the Dashboard (as shown in the image below) so that SMBus is not executing constantly to update the values. 
    • There is a very useful SMBus app note that explains multiple common issues. You can review this and see if it provides any clues: http://www.ti.com/lit/an/slua475/slua475.pdf

    Best regards,

    Matt