The EVAL-AD5821AKTZ Evaluation Kit is designed to allow the user to evaluate the performance of the AD5821A Auto Focus (AF) driver. This user guide describes how to download and use the AD5821A Evaluation Software which is available for Windows and allows the user to easily program the AD5821A and check the basic functionality of the part.
The EVAL-AD5821A Evaluation Kit contains the following boards:
The EVAL-AD5821AKTZ Evaluation Kit consists of three boards:
It contains the AD5821A device and the decoupling capacitors (100 nF and 10 µF) and a simulated Voice Coil Motor (VCM) load (22 µH coil and 11.5 Ω resistor). It also includes a connector for external load, a connector for external I2C and test points.
The main components included in the board are shown in the next figure.
To connect the on-board VCM load, links should connect positions of JP3 and JP4 as indicated in Table 1.
Link positions are outlined in Table 1. Default positions are in bold.
| Internal VCM load
External VCM load
| Load supplied by AVDD1
Load supplied by AVDD2
P2 connector can be used to connect and external I2C host. To do that disconnect the links on JP1 and JP2.
JP3 and JP4 connectors allow the access to the typical VCM resistances and inductances. When the links are connected to the typical VCM resistances and inductances, the user also has access to test the ±VCM pins (TP1 and TP2) and the middle point between the resistor and the inductor (TP3).
To use an external VCM load, disconnect the links on JP3 and JP4 and connect the external load to P5.
This board has been designed to connect different daughterboards that support different products. It also features a connector to the Apollo microcontroller board.
The EVAL-APOLLO-LD-MBZ also contains LDOs to generate the required voltages for AD5821A and other ICs like level shifters, current sense amplifiers and one ADC, who provides support to measure the AVDD1/AVDD2 supply voltages and currents.
By using different configuration of links, the user can select either AVDD1 or AVDD2 supply to power the AD5821A and is also possible to configure the supplies as fixed or adjustable. DVDD is the IO voltage for I2C level of AD5821A and can also be configured via links.
A more detailed explanation of AVDD1/AVDD2 and DVDD configuration is given in the Software/Plugins/Hardware Setup section of this document.
Table 2 shows the default link positions (default positions are in bold) and Figure 3 shows the default links position in green as well as the board connectors and test points.
AVDD1 internal adjustable
3.3 V fixed
5 V fixed
| External AVDD1
| Bypass current measurement
Measure current of AVDD1
| AVDD1 connected to daughterboard
AVDD1 disconnected on daughterboard
AVDD2 internal adjustable
3.3 V fixed
5 V fixed
| External AVDD2
| Bypass current measurement
Measure current of AVDD2
| AVDD2 connected to daughterboard
AVDD2 disconnected on daughterboard
| GPIO 3 level by software
GPIO 3 connected to DVDD
GPIO 3 connected to GND
| GPIO 2 level by software
GPIO 2 connected to DVDD
GPIO 2 connected to GND
| GPIO 1 level by software
GPIO 1 connected to DVDD
GPIO 1 connected to GND
| DVDD = 1.8 V internal
DVDD external connector
DVDD = 3.3 V
| I2C VREFB is 5 V
I2C VREFB is 3.3 V
The software required to run the AD5821A Evaluation Kit is available in the Analog Devices web. Go to en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/EVAL-AD5821A.html and click on the link to download a zip file with the installer, see Figure 4.
On clicking the link a zip file containing the installer is downloaded. After that, follow the steps below:
Once the application is installed in your computer, the board can be powered up by plugging the USB interface. After power-up, two blue LEDs (LED1 and LED4) light up in the Apollo board. An orange LED (LED3) keeps blinking until running the application in the Apollo board.
When the software installation is complete, run the shortcut to the application found in the start menu, under AD5821A Eval Software.
To verify the firmware is properly downloaded, the user should see the “1 board(s) found” and “Download Successful. Reconnecting” screen shown below. Also, in the Apollo board the green LED2 blinks and the orange LED3 turns off.
If the No Apollo Boards Found message is shown when the application is executed, Apollo must be reset by pressing the white switch (SW1), next to the USB connector, and then click “Retry”. Apollo will be recognized after the Plug and Play Windows function detects the new device connected.
Figure 5. Firmware download pop-up screen
Once the firmware is properly downloaded, a screen like the one below is shown.
The AD5821A Evaluation Software consists of a general framework to initialize the system, provide access to the AD5821A input register that controls the AF driver sink current, show the application status and handle the hardware setup to adjust power supply levels or configure different options in the board.
By clicking on each entry under List of Plugins section, the corresponding plugin will appear on the main panel. The function of each plugin will be explained in the next section.
As shown in Figure 7, the AD5821A Evaluation Software is made up of four parts:
This plugin provides access to all the registers and register fields of the part. For the AD5821A there is only one register, the input register, so it is recommended to control the device using the AF Driver plugin that will be explained later.
Clicking on RegMap1 in Register Map Tree the whole register map is inserted in the main subpanel as shown in Figure 8. The information shown is updated from the device and the user can expand/contract a specific register to update it and show the fields inside. When the value or enumeration column is modified, the new configuration is written to the device.
The Hardware Setup plugin helps the user to configure AVDD1, AVDD2 and DVDD supplies and three GPIOs, as well as selecting the appropriate links for a given configuration.
An image of the EVAL-APOLLO -LD_MBZ silkscreen is shown in the panel to the right (Figure 9), showing the default link positions highlighted in green. When changing the options on the left panel, the link positions also change in the board image. The user must ensure that the positions of the jumpers in the silkscreen image match the current positions of the links in the board when any of the options is changed. After moving the jumper to the indicated position click OK next to the warning message that appears on the bottom of the panel.
The configuration options for AVDD1 and AVDD2 are the same. The difference between these two supplies is that AVDD1 powers the AD5821A and the VCM load and the AVDD2 powers only the load. The two supplies are mutually exclusive. The VDD pin of AD5821A (see Daughterboard Schematic under Documents menu) is always connected to AVDD1.
The first option is to choose AVDD1/AVDD2 Internal (default) or External. In case external supply is selected, the user must connect the power supply cable to P9 (AVDD1) or P22 (AVDD2). The positive is pin 1 and ground is pin 2.
There are three possibilities under Internal Supply Options (only when Internal supply is selected):
When Adjustable 2.7 V – 4.8 V is selected, the control boxes under AVDD1/AVDD2 can be used to set the desired voltage. A voltage monitor box is positioned to the right side of the correspondent control box. The voltage measurements are provided by an on-board ADC. When IAVDD1/IAVDD2 checkbox is set, the current from AVDD1 and AVDD2 supplies are also measured.
There are three possible sources for the GPIOs:
GPIO1 is connected to AD5821A’s XSHUTDOWN pin. Setting the Level to low puts the AD5821A in power-down mode. Setting the Level to high (default) puts the part in operating mode again.
GPIO2 and GPIO3 are not connected in this evaluation board so their settings have no effect on the AD5821A.
The DVDD is the digital IO for the I2C level of AD5821A.
Figure 10 shows the AF Driver plugin. This plugin is used to control the power-down function and the sink current of the AD5821A in an easy manner. It controls the AD5821A XSHUTDOWN software function (bit 15 of input register) and the AF code data D0..D9 (bits 4 to 13 of input register) to set the desired sink current.
At start up the AD5821A is in power-down mode. The button in Auto Focus Drive Control shows the text POWER UP. By clicking on the button, the AD5821A goes to operating mode and the button text toggles to POWER DOWN. By clicking again, the part returns to power-down. The button works in an alternate function between POWER UP and POWER DOWN.
Once in operating mode, the current sink by the AD5821A can be controlled in one of three ways:
Below the current control section is the Input Register. Its value automatically updates when the user changes the current level or click on POWER UP/POWER DOWN button. Although the user can read/write the input register, it is preferable to control the AD5821A using the functions explained before. The Input Register is not necessary to control the part; it is shown for informative purposes only.
This plugin is used to sweep the AD5821A current between a minimum current and maximum current, at time intervals defined at Time Step control box (time intervals below 10 ms are not accurate).
The value of the current is updated in the slider and monitor boxes to the right of the min/max current setting boxes, as shown in Figure 11.
Click on Start Sweep button to start the sweep, Stop Sweep button to stop it and the Reset button to bring the AF Driver current to 0 mA.
Figure 11: Auto Focus Driver Sweep