Datasheet
www.ti.com
3.2.1 SPI Register Write
3.2.2 SPI Register Write Using a Script File
3.2.2.1 ADS528X Frequently Used Registers
TI ADC SPI Control Interface
The most basic mode of operation allows full control of writing to individual register addresses. In the top
left corner of the interface screen (Figure 2 ), select the ADS528X ADC from the ADC SPI Protocol
drop-down list. Next, type the hexadecimal (hex) Address Bytes(s) in and Data Byte(s), which can be
found in the device data sheet. When you are ready to send this command to the ADC, press Enter on
your keyboard or click the Send Data button. The graph indicator is updated with the patterns sent to the
ADC. The default inputs to both the Address Byte(s) and Data Byte(s) fields are hex inputs as designated
by the small x in the control. Users can change the default input style by clicking on the x to binary,
decimal, octal, or hex. Multiple register writes can be written simply by changing the contents of the
Address Byte(s) and Data Byte(s) fields and pressing "Enter" or "Send Data" again.
For situations where the same multiple registers must be written on a frequent basis, users can easily
save a script file representing all of the register writes they have performed after a Reset has been issued
by simply clicking on the Save Script button. This can easily be loaded at a later time by using the Load
Script button. When ready to write the contents of the script file to the ADC, users can press the Load
Script button and be prompted for the file location of their script file. The commands are sent to the ADC
when the user acknowledges the selection of the file. Please note that the graph indicator and the
frequently used register buttons are not updated when a script file is used.
Conversely, users can by using a text editor easily create a script file containing all ADC register writes.
An example script file is located in the \\Install Directory\ADC SPI Control\Script
Files\ADS5281_Init.reg_ADS528X. Users who wish to take advantage of writing their own script files
should start by using the ADS5281_Init.reg_ADS528X as a template file. When editing script files
manually, make sure there is no carriage return following the last register write.
For ease of use, several buttons have been added that allow one-click register writes of commonly used
features found in Table 3 . These buttons represent a subset of the available features found on the
ADS528X. The buttons are found in the ADS528X tab, as these commands are specific to the ADS528X
ADC only. The software writes to the ADC both the contents of the associated address and data when the
button is clicked. When the ADS528X Reset button is pressed, it issues a software reset to the ADC, and
it resets the button values to match the contents inside of the ADC. The graph indicator plots the SPI
commands written to the ADC when a button has been pressed.
SLAU205 – January 2008 11
Submit Documentation Feedback