9.3 Initialization Set Up
After reset or power-on, configure the registers using the following procedure:
- Reset the serial interface. Before using the serial interface, it may be necessary to recover the serial interface (undefined I/O power-up sequencing may cause a false SCLK to occur). To reset the interface, toggle the CS pin high then low, or toggle the RESET pin high then low, or when in read-data-continuous mode, hold SCLK low for 64 DRDY periods.
- Configure the registers. The registers are configured by either writing to them individually or as a group, and can be configured in either mode. To cancel read-data-continuous mode, send the SDATAC command before register read and write operations .
- Verify register data. For verification of device communications, read back the register.
- Set the data mode. After register configuration, configure the device for read-data-continuous mode by executing the RDATAC command, or configure for read-data-by-command mode (set in step 2, by the SDATAC command).
- Synchronize readings. Whenever SYNC is high, the ADS1284 freely runs the data conversions. To resynchronize the conversions in pulse-sync mode, take SYNC low and then high. In continuous-sync mode, apply the synchronizing clock to the SYNC pin with a clock period equal to multiples of the ADC conversion period.
- Read data. If read-data-continuous mode is active, the data are read directly after DRDY falls by applying SCLK pulses. If the read-data-continuous mode is inactive, the data can only be read by executing the RDATA command. The RDATA command must be sent in this mode to read each conversion result.