![background image](http://html.mh-extra.com/html/texas-instruments/bq79606a-q1/bq79606a-q1_user-manual_1097087016.webp)
GPIO/SPI Master
16
SLUUBQ2C – July 2017 – Revised April 2019
Copyright © 2017–2019, Texas Instruments Incorporated
Getting Started with the BQ79606A-Q1 GUI
6
GPIO/SPI Master
6.1
GPIO Configuration and Set GPIO Output High/Low
Configures GPIO fault settings, I/O settings, pull up/pull down, or if used for addressing, sets GPIO output
as high or low.
Figure 20. GPIO High/Low Testing
For GPIO output High/Low testing, first set all GPIOs to “No Fault”, “Push-Pull (Output only),” and “As
output”( #1 in
). This will ensure that the GPIO are ready as outputs to be set high and low by
the GUI.
GPIO can now be enabled and disabled using the checkboxes in the “Set GPIO Output High/Low” section
of the GUI ( #2 in
). Press the “Write” command button at the top of the screen to update the
devices ( #3 in
). The resultant GPIO values can be viewed using the “GPIO_STAT” (0x262)
GPIO Input Status section at the bottom of the GUI after the "Read" button has been pressed ( #4 in
The enable for TSREF is on the far right side of the page. Click the box if configuring for NTC monitoring.
Note from data sheet: "Pull-downs must not be used in output mode. Additionally, push-pull mode must
not be used in input mode. If either of these configurations is selected, correct operation is not guaranteed
and undesirable operation may occur.
6.2
SPI Master
The SPI master will configure SPI settings for when using GPIO 3-6 as a SPI Master.
First, ensure that only one device is selected in the top left dropdown menu when using SPI Master as
shown in
Figure 21. SPI Master Command Frame Change