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.

BQ76942: BQ76942 communication ACK is not responding

Part Number: BQ76942

     

We used BQ76942 to connect to the upper computer for communication, and read the communication ACK response is normal.

However, when disconnect the MCU on the EVM board and connect BQ76942 to STM32F103 MCU, ACK does not respond. Occasionally, ACK response will be received. The error rate is too high.

  • Hi,

    There should be no issue communicating with the MCU if your I2C signals are clean and they meet the datasheet timing. Have you looked at your I2C signals with an oscilloscope? What frequency are you using on the SCLK and what is the timing between transactions?

    I am attaching example code for the BQ769x2 family using the STMF103 MCU that may be helpful.

    5265.BQ769x2Header.h

    8080.main.c
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    /* --COPYRIGHT--,BSD_EX
    * Copyright (c) 2021, Texas Instruments Incorporated
    * All rights reserved.
    *
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted provided that the following conditions
    * are met:
    *
    * * Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    *
    * * Redistributions in binary form must reproduce the above copyright
    * notice, this list of conditions and the following disclaimer in the
    * documentation and/or other materials provided with the distribution.
    *
    * * Neither the name of Texas Instruments Incorporated nor the names of
    * its contributors may be used to endorse or promote products derived
    * from this software without specific prior written permission.
    *
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Best regards,

    Matt