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.

BQ76952: Communication issue between BMS and a microcontroller

Part Number: BQ76952

We are using STM32F103 microcontroller to communicate with BMS. We have used the HAL API (from the STM) to get the data from BMS. While sending the subcommand for device number (0x0001) we are receiving the response as NAK after sending register address and subcommand to the BMS. Here screenshot are attached of code and I2C waveform screenshot.

 

  uint8_t subcmd[2] = { 0x01,0x00};

  status2 = HAL_I2C_Mem_Write(&hi2c2, 0x10, 0x3E, 1, &subcmd[0], 2, 10000);