Evaluation Software Details
5.3.3
Tools Menu
PROGRAM opens a dialog box that programs the
contents of the shadow registers to the OTP
EPROM cells in the bq76PL536. The data
contained in the equivalent address volatile
registers is used as the data source. i.e. the data in
register CONFIG_OT[] is used to program the
EPROM cells which will in turn initialize the
CONFIG_OT[] register at the next RESET.
INTERFACE SETUP opens a dialog box that allows changing the SPI communications speed.
OPTIONS opens a dialog that sets program startup options. These are provided to make the GUI easier
to use, and prevent a slew of alarms (FAULTS and ALERTS) at startup. Programmers wishing to check
their code will want to disable most of these startup niceties during final code checkout. See
for details of the startup Options.
MEASUREMENT FILTER SETUP opens a listbox that controls filtering of the measurement data. This is
a simple LIFO buffer which is then averaged, producing a running average result. The default value is 1
(no filtering), but it can be set from 1 (no filtering) to 20 (heavy filtering).
COMMUNICATIONS MONITOR opens the SPI-spy text box. All SPI traffic to and from the
‘
536 are
copied into this box in an easy to read hex format shown below. When first opened, a warning message
is displayed telling the user that the monitor should only be used for short periods to avoid consuming
too much PC memory. If monitoring traffic for more than a few 10
’
s of seconds is needed, use the data
logging feature built in to the WinGUI.
SDO data is data sent from the monitored stack to the PC. SDI is data sent from the PC (WinGUI) to the
stack of
‘
536
’
s. The monitor displays all data sent to and from the stack.
The Communications Monitor box shown in
displays an error found in communicating with a
stack. The error shown is normally encountered by the AUTO_ADDRESS algorithm used by the WinGUI
as it attempts to find all addressed devices
–
this error results from an attempted poll to a device which
does not exist.
Figure 7. SPI Monitor Showing Communications Error
12
bq76PL536 EVM Quick Start Guide
SLUU437B
–
October 2010
–
Revised May 2011
Copyright
©
2010
–
2011, Texas Instruments Incorporated