Datasheet

MAX5980 Evaluation Kit
Evaluates: MAX5980
9Maxim Integrated
Auto Read/Run Macro State Controls
When the Auto Read checkbox in the Startup State
group box is checked, the program continuously updates
the main window registers and operates in the auto read
state. In the auto read state, data can be written to the IC
by entering or selecting the desired data in the Reg Adrs
and the Hex Data or Bin Data combo boxes. Pressing
the Write Byte button writes the combo box data to
the IC. To perform an immediate register read, enter or
choose the desired register address and press the Read
Byte button. Hexadecimal or binary data can be entered
in the Hex Data or Bin Data combo boxes and then the
alternate combo box displays the corresponding number
in the respective number base.
If the Auto Read checkbox is unchecked, the program’s
main window displays register data from the last read.
To obtain current data, a Read Byte must be performed
after selecting the appropriate register address from the
Reg Adrs combo box. The auto read state does not read
the clear-on-read (CoR) register.
A macro can be run after loading the file from the File |
Open Macro menu item. The opened macro is displayed
in the upper half of the Macro edit field and has an smb
file extension. Pressing the Run button runs the macro
to completion and the output is displayed in the Macro
Script Output edit field. Each edit box can be sized
relative to the other half using the splitter bar above the
Script Output text. Pressing the Single Step button
instead of the Run button causes the macro to execute
a single line with each press of the Single Step button.
The Reset button is used to reset the macro script engine
and clear the Macro Script Output edit field. A macro
can be run regardless of the Auto Read checkbox sta-
tus. A macro can also be run immediately after opening
the software by using the File | Open/Run Macro menu
item, selecting the desired macro to run, and pressing
the Open button. Pressing the Cancel button exits this
feature.
The Locate Slave button is used to search for a MAX5980
located on the I
2
C serial interface whose address has
been changed while the software was running. The valid
IC slave address range is 0x50 through 0x5F.
Record Macro State Controls
When the Record checkbox is checked, the program
automatically enters the record macro state and disables
certain buttons and menus. Choosing the Commands |
Clear Script Input menu item clears any script presently
in the Macro script input edit field. Comment lines in a
macro script begin with # / ; ‘ * characters. A line of script
is entered by choosing the appropriate Slave Adrs, Reg
Adrs, and entering the desired Hex Data or Bin Data in
the combo boxes. Pressing the Write Byte or Read Byte
button enters the script into the Macro input edit field.
For time delays in a macro, select the desired delay time
from the drop-down list on the right side of the Delay
button and then press the Delay button. The macro must
be saved before exiting the record macro state using the
File | Save Macro menu item. The macro file name must
have an smb file extension.
To edit a previously saved macro, open the macro using
the File | Open Macro menu item and make the desired
edits. The modified file must be saved prior to exiting the
record macro state. Uncheck the Record checkbox to
exit the record macro state. Additionally, a macro can be
created or edited using a plain text editor in “Text Mod.”
The file must be saved with an smb extension.
General-Purpose Advanced
User Interface Utility
There are two methods for communicating with the IC:
through the main window display or through the general-
purpose advanced user interface utility using the View |
Interface menu item. This window provides direct, low-
level access to the IC through the I
2
C-compatible 2-wire
interface (Figure 4). The utility configures the I
2
C inter-
face parameters such as the start and stop bits, acknowl-
edgements, and clock timing. The 2-wire interface win-
dow allows the user to send general-purpose I
2
C com-
mands using the SMBusWriteByte/SMBusReadByte
and SMBusWriteWord/SMBusReadWord commands.
For more information on the differences between the I
2
C
interface and SMBus interface, read Application Note
AN476: Comparing the I
2
C Bus to the SMBus, available
at http://pdfserv.maximintegrated.com/en/an/AN476.
pdf. When using the advanced user interface utility, the
main window display no longer keeps track of changes
sent to the hardware. The EV kit can be reinitialized to the
startup screen settings by first closing the advanced user
interface utility and then selecting the Configuration tab
sheet. Select the IC Reset pushbutton and then select
the Events and Status tab sheet.
The Hunt for active listeners button scans the entire
2-wire address space, reporting each address that is
acknowledged. The SMBusWriteByte command trans-
mits the device address, command, and 1 byte of data.
The SMBusReadByte transmits the device address,
command, and then retransmits the device address
and reads 1 byte of data. The SMBusWriteWord and
SMBusReadWord operate the same, except 2 bytes of
data are used.