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.

BQ79656-Q1: Initialization / example code issue

Part Number: BQ79656-Q1
Other Parts Discussed in Thread: BQ79616

Hi all, I am struggling to get a response from the base chip in the stack. I have implemented the provided example code and have confirmed that the packets are being sent as expected but i never get and data back from the base chip. The chip goes from shutdown to active mode as expected upon receiving the wake ping but there is never any response after the autoaddress or voltage read sequences. I am wondering if the example code for the BQ79616 is the same for the BQ79656 or is there some difference that I am missing? Any help or guidance would be appreciated.

  • Hi Blakely Fabiani,

    Do you see the BQ79656 device wake up when you send wakeup tone. Did you try the BQ79616 sample code without any modifications. Can you please share us the screenshot of the SPI / UART  and the corresponding COMH / COML scope traces.

    Regards,

    Ravi

  • Hi there, I am using a custom PCB with an ARM M3 processor so I have ported the example code over to my MCU. The board chip responds to the wake ping appropriately and when awake, all of the voltages are matching with what is in the data sheet. I have not scoped the COMH/COML lines yet because I am currently setting TOTALBOARDS to 1 to only communicate with the base chip. Here is a serial printout of the commands sent to the chip and a screen grab of the voltage read command waveform. what else could I capture that would be helpful for debugging? I also notice that the fualt line is pulled low immediately when the chip powers up.

    Sending: D0 03 4C 00 FC 24
    Sending: D0 03 09 01 0F 74
    Sending: D0 03 06 00 CB 44
    Sending: D0 03 08 02 4E E5
    Sending: 90 00 03 08 01 D2 1D
    Sending: C0 03 43 00 FD 14
    Sending: C0 03 44 00 FF 24
    Sending: C0 03 45 00 FE B4
    Sending: C0 03 46 00 FE 44
    Sending: C0 03 47 00 FF D4
    Sending: C0 03 48 00 FA 24
    Sending: C0 03 49 00 FB B4
    Sending: C0 03 4A 00 FB 44
    Sending: D0 03 32 03 9D 85
    Sending: D0 00 17 40 36 E4
    Sending: C0 05 0C 01 E8 E5
    Sending: 91 00 00 36 00 00 FC 94
    Sending: D1 03 31 FF FF 88 29
    Sending: D0 00 03 0A B8 13
    Sending: D0 00 07 02 BB 15
    Sending: D0 03 0D 0E 4D B0
    Sending: C0 05 68 1F 42 2D