SLUAA16A August 2020 – October 2023 BQ79600-Q1
The BQ79600-Q1 supports communication to the host microcontroller through either UART interface or SPI interface using MOSI/RX, MISO/TX, nCS, SCLK and nUART/SPI (SPI_RDY) pins. The circuit configuration required to use each of these communication interfaces is described in this section.
MISO/TX pin is pulled high by the BQ79600-Q1 device when idle (nCS = HIGH). Therefore, the SPI interface cannot be shared with other slave devices. Use another SPI interface in the MCU for other slave devices.
nUART/SPI (SPI_RDY) pin is a digital I/O pin with 2 functions:
nCS pin is a digital input used as the active low chip select pin for SPI interface. In SPI mode, connect this pin to VIO with 10-100 KΩ pull-up resistor and to the nCS pin from the SPI master microcontroller. The BQ79600-Q1 device uses specific signal patterns received on MOSI/RX pin called "pings" that are used to change the power state of the device. In SPI mode, the pings are only valid if nCS is held low. To avoid unintended pings to be read by the device, nCS signal cannot be hardwired to GND when SPI interface is used. In UART mode, connect this pin to GND.
SCLK pin is the clock input for SPI interface. If SPI mode is selected, connect this pin to GND with a 10-100 KΩ pull-down resistor and connect to the SPI SCLK pin on the MCU. In UART mode, connect directly to GND.
MISO/TX pin is the SPI master input slave output or the UART transmitter output. Connect this pin to VIO with a 10-100 KΩ pull-up resistor at MCU side. If SPI interface is used, connect this pin to the SPI MISO pin on the MCU. If UART interface is used, connect to the UART RX pin on the MCU.
MOSI/RX pin is the SPI master output slave input or the UART receiver input. Connect this pin to VIO with a 10-100 KΩ pull-up resistor. Don't leave it unconnected. If SPI interface is used, connect this pin to the SPI MOSI pin on the MCU. If UART interface is used, connect to the UART TX pin on the MCU.
Figure 1-3 shows the recommended design when the host MCU uses UART interface to communicate to BQ79600-Q1 device. For recommended design when SPI interface is used for communication between the host MCU and BQ79600-Q1 see Figure 1-4.
Pin | SPI Mode | UART Mode |
---|---|---|
MOSI/RX | Connect to VIO with a 10-100 KΩ pull-up resistor and to the MCU's SPI SIMO pin. | Connect to VIO with a 10-100 KΩ pull-up resistor and to the MCU's UART TX pin. |
MISO/TX | Pull-up to VIO with a 10-100 KΩ resistor on the MCU side. Connect to the MCU's SPI SOMI pin. Do not connect other slave devices on the SPI bus since MISO line is pulled high by the BQ79600-Q1 device when idle. | Pull-up to VIO with a 10-100 KΩ resistor on the MCU side. Connect to the MCU's UART RX pin. |
SCLK | Connect to GND with a 10-100 KΩ pull-down resistor and to the MCU's SPI SCLK pin. | Connect to GND. |
nCS | Connect to VIO with 10-100 KΩ pull-up resistor and to the MCU's SPI nCS pin. | Connect to GND. |
nUART/SPI (SPI _RDY) | Connect to VIO with 10-100 KΩ pull-up resistor and to a GPIO pin on the MCU. | Connect to GND. |