Pmod DA4 Reference Manual
Download This Reference Manual
- Eight channel, 12-bit DAC
- Capable of eight simultaneous outputs
- High-speed DSP compatible
- Power-down function capability
- Low power consumption
- 6-pin Pmod connector with SPI interface
- Follows Digilent Interface Specification Type 2
The Pmod DA4 utilizes Analog Devices AD5628-1 to provide a single DAC capable of 8 simultaneous output channels. With its internal reference voltage of 1.25V and a gain of 2, a resolution of approximately 1 mV can be achieved.
Interfacing with the Pmod
The Pmod DA4 communicates with the host board via the SPI protocol. By driving the Chip Select (CS) line to a logic level low voltage, users may send a series of 32 bits of information with the data clocked into the appropriate register on the falling edge of the Serial Clock (SCLK). Once the 32nd bit of information has been clocked in, the command that was sent in the data stream is executed.
An example data stream of how the 32 bits are to be sent to the module is provided below from the AD5628 datasheet:
Users should note that the Pmod DA4 by default attempts to use an external reference voltage. However, as there is no external reference voltage provided on the Pmod, users must write to the register to program the chip to use its internal reference voltage of 1.25V. The data stream required to change this (0x8001) is provided below:
The various commands and addresses available for the on-board AD5628 can be found on page 22 of its datasheet.
Pinout Description Table
|5||GND||Power Supply Ground|
|6||VCC||Power Supply (3.3V/5V)|
Any external power applied to the Pmod DA4 must be within 2.7V and 5.5V; however, it is recommended that Pmod is operated at 3.3V.
The pins on the pin header are spaced 100 mil apart. The PCB is 1.2 inches long on the sides parallel to the pins on the pin header and 0.8 inches long on the sides perpendicular to the pin header.
Example code demonstrating how to get information from the Pmod DA4 can be found here.
If you have any questions or comments about the Pmod DA4, feel free to post them under the appropriate section (“Add-on Boards”) of the Digilent Forum.