SBAS438C May 2008 – November 2019 DAC9881
Figure 75 displays a typical serial interface that may be used when connecting the DAC9881's SPI serial interface to a (master) microcontroller. The setup for the interface is as follows: The microcontroller's output SPI CLK drives the SCLK pin of the DAC9881, while the DAC9881 SDI pin is driven by the MOSI pin of the microcontroller. The CS pin of the DAC9881 can be asserted from a general program input/output pin of the microcontroller. When data are to be transmitted to the DAC9881, the CS pint is taken low. The data from the microcontroller is then transmitted to the DAC9881, totaling 24 bits latched into the DAC9881 device through the negative edge of SCLK. CS is then brought high after the completed write. The DAC9881 requires its data with the MSB as the first bit received.