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.

BQ79616-Q1: how to implement ping signal at Rx ping(using UART communication)

Part Number: BQ79616-Q1

Tool/software:

I'm curious about the Ping signal.
This ping signal should send High to Low for a certain period of time to the Rx pin, but there is no recommendation on how to implement it in hardware.
1. For example, when using UART, is the ping signal sent by implementing it in software to the Rx pin (by setting the Rx pin as a GPIO function to create a ping signal) or is there a communication command?
2. If not method 1, is it possible to add an IC that can pull down the Rx pin in hardware (BJT or FET) and have the MCU control it to create a ping signal?

  • Yang,

    When implementing the pings we usually just send a series of ones or zeroes depending on what is required. In this case you can send a series of zeroes that lasts ~2.25 ms.

    Regards,

    Ben

  • Benjamin.

    Thank you for your fast reply

    I have additional question for this Ping signal and UART communication

    in your reply,  what does "send a series of ones or zeroes" mean?

    From what I understand, you want to set the RX pin as a GPIO to output 0 or 1, right?

    If I transmit 0 or 1 via UART communication, it seems that I cannot transmit continuous 0 or 1 due to stop bit (it is difficult to send continuous 0 for 2.25ms). Is that right?

    Also, I don't see a way to set up UART communication. How should I set it up in the MCU?
    For example, setting the baud rate, start bit, stop bit, parity bit, and data bit

  • Yang,

    If it is not possible to send a long set of zeroes, most MCUs allow you to change the pin temporarily into a GPIO and send the appropriate signal.

    I do not know the specifics for how to do this on your MCU, I do not know which MCU you are using and discussions about other MCUs are beyond the scope of our parts. I recommend looking into your MCU's datasheet as that will tell you how to configure your MCU correctly.

    Regards,

    Ben