![VersaLogic Copperhead VL-EBX-41 Reference Manual Download Page 45](http://html.mh-extra.com/html/versalogic/copperhead-vl-ebx-41/copperhead-vl-ebx-41_reference-manual_1006770045.webp)
Interfaces and Connectors
EBX-41 Reference Manual
39
6.
Write the analog output channel number (0 to 3) to Bits 3-0 and the write-and-update-
channel command 3h to Bits 7-4 of SPIDATA3 (I/O address CADh) – Any write
operation to this register triggers an SPI transaction. For example, if writing to the third
DAC channel (channel number 2) the value written to SPIDATA3 is 32h.
7.
Poll the SPI BUSY bit in the SPISTATUS register until the conversion is completed.
8.
The D/A output will be stable in no more than 5 µs.