====== Pmod AD1 Reference Manual ====== The Digilent Pmod AD1 (Revision G) is a two channel 12-bit analog-to-digital converter that features [[http://www.analog.com/static/imported-files/data_sheets/AD7476A_7477A_7478A.pdf|Analog Devices' AD7476A]]. With a sampling rate of up to 1 million samples per second, this Pmod™ is capable of excelling in even the most demanding audio applications. {{Digilent Image Gallery | image = {{:reference:pmod:pmodad1:pmodad1-0.png?direct |}} | image = {{:reference:pmod:pmodad1:pmodad1-1.png?direct |}} | image = {{:reference:pmod:pmodad1:pmodad1-2.png?direct |}} | image = {{:reference:pmod:pmodad1:pmodad1-3.png?direct |}} }} == Download This Reference Manual == * {{:reference:pmod:pmodad1:pmodad1_rm.pdf| PDF}} ---- ===== Features ===== * Two channel 12-bit analog-to-digital converter * Simultaneous A/D conversion at up to one MSa per channel * Two 2-pole Sallen-Key anti-alias filters * Small PCB size for flexible designs 0.95 in × 0.8 in (2.4 cm × 2.0 cm) * 6-pin Pmod port with GPIO interface * Library and example code available in resource center ---- =====Functional Description ===== The Pmod AD1 converts an analog input signal ranging from 0 volts to Vdd to a 12-bit digital value in the range 0 to 4095. As each of the A/D channels are separate from each other, the user can convert a single stream of analog signals with just one channel or convert two different streams of analog signals simultaneously. Because each of the ADCs are able to provide up to 1 MSa of their 12-bit conversions, a 2-pole Sallen-Key anti-alias filter with poles set to 500 kHz are provided to keep analog input bandwidths to a suitable frequency range. ---- ===== Interfacing with the Pmod===== The Pmod AD1 communicates with the host board via an [[pmod:communication_protocols:spi|SPI]]-like communication protocol. The difference between the standard SPI protocol and this protocol is manifested in the pin arrangement on this Pmod. A typical SPI interface would expect a Chip Select, a Master-Out-Slave-In, a Master-in-Slave-Out, and a Serial Clock signal. However, with the two ADCs on this chip both of the data lines, MOSI and MISO, are designed to operate only as outputs, making them both Master-In-Slave-Out data lines. The Pmod AD1 will provide its 12 bits of information to the system board through 16 clock cycles with first four bits consisting of four leading zeroes and the remaining 12 bits representing the 12 bits of the data with the MSB first. The first leading zero is clocked out on the falling edge of the CS signal with all of the subsequent bits clocked out on the falling edge of the serial clock signal. A pinout table and diagram for the Pmod AD1 are provided below: {{ :pmod:pmod:ad1:ad1b.png?300|}} ^ Pin Descriptions for the Pmod AD1 ||||||| ^ Header J1 ||| ^ Header J2 ||| ^ Pin ^ Signal ^ Description | ::: ^ Pin ^ Signal ^ Description ^ | 1 | CS | Chip Select | ::: | 1 | A0 | Input Data 1 | | 2 | D0 | Input Data 1 | ::: | 2 | GND | Power Supply Ground | | 3 | D1 | Input Data 2 | ::: | 3 | A1 | Input Data 2 | | 4 | SCK | Serial Clock | ::: | 4 | GND | Power Supply Ground | | 5 | GND | Power Supply Ground | ::: | 5 | GND | Power Supply Ground | | 6 | VCC | Power Supply (3.3V/5V) | ::: | 6 | VCC | Positive Power Supply | **Table 1** Connector J1- Pin Descriptions as labeled on the Pmod Any external power applied to the Pmod AD1 must be within 2.35 to 5.25 volts to ensure that all of the components in the Pmod AD1 work correctly. ---- ===== Physical Dimensions ===== The pins on the pin header are spaced 100 mil apart. The PCB is 0.95 inches long on the sides parallel to the pins on the pin header and 0.80 inches long on the sides perpendicular to the pin header. ---- ===== Additional Information ===== The schematics of the Pmod AD1 are available {{reference:pmod:pmodad1:pmodad1_sch.pdf|here}}. Additional information about the AD1 including the datasheet for the ADC can be found [[http://www.analog.com/static/imported-files/data_sheets/AD7476A_7477A_7478A.pdf|here]]. The datasheet for the op-amps used in the anti-aliasing filter can be found [[http://www.analog.com/static/imported-files/data_sheets/AD8605_8606_8608.pdf|here]]. Example code demonstrating how to get information from the Pmod AD1 can be found [[pmod:pmodad1:start#example_projects|here]]. If you have any questions or comments about the Pmod AD1, feel free to post them under the appropriate section ("Add-on Boards") of the [[https://forum.digilent.com/|Digilent Forum]].