SBASAY5 June 2024 ADS8681W
PRODUCTION DATA
Figure 6-21 shows a typical connection diagram with multiple devices in a daisy-chain topology.
The CONVST/CS and SCLK inputs of all devices are connected together and controlled by a single CONVST/CS and SCLK pin of the host controller, respectively. The SDI input pin of the first device in the chain (device 1) is connected to the SDO-x pin of the host controller. The SDO-0 output pin of device 1 is connected to the SDI input pin of device 2, and so forth. The SDO-0 output pin of the last device in the chain (device N) is connected to the SDI pin of the host controller.
To operate multiple devices in a daisy-chain topology, the host controller programs the configuration registers in each device with identical values. The devices operate with a single SDO-0 output, using the external clock with any legacy, SPI-compatible protocols for data read and data write operations. In the SDO_CTL_REG register, program bits 7-0 to 00h.
All devices in the daisy-chain topology sample the analog input signals on the rising edge of the CONVST/CS signal. The data transfer frame starts with a falling edge of the same signal. At the launch edge of the SCLK signal, every device in the chain shifts out the MSB to the SDO-0 pin. On every SCLK capture edge, each daisy-chained device -shifts in data received on the SDI pin as the LSB bit of the unified shift register. Figure 6-19 provides a diagram of this process. Therefore, in a daisy-chain configuration, the host controller receives the data of device N, followed by the data of device N-1, and so forth. This process continues in MSB-first fashion. On the rising edge of the CONVST/CS signal, each device decodes the contents in the unified shift register and takes appropriate action.
For N devices connected in a daisy-chain topology, an optimal data transfer frame contains 32 × N SCLK capture edges (see Figure 6-23). Avoid shorter data transfer frames, which result in an erroneous device configuration. For data transfer frames with > 32 × N SCLK capture edges, the host controller appropriately aligns the configuration data for each device. The host then brings CONVST/CS high.
The overall throughput of the system is proportionally reduced with the number of devices connected in a daisy-chain topology.
Figure 6-23 shows a typical timing diagram for three devices connected in a daisy-chain topology and using the SPI-00-S protocol.