This version (05 Feb 2014 19:03) was approved by Lars-Peter Clausen.The Previously approved version (13 Nov 2012 14:26) is available.Diff

Supported Devices

Evaluation Boards


The AD5933 is a high precision impedance converter system solution that combines an on-board frequency generator with a 12-bit, 1 MSPS, analog-to-digital converter (ADC). The frequency generator allows an external complex impedance to be excited with a known frequency. The response signal from the impedance is sampled by the on-board ADC and a discrete Fourier transform (DFT) is processed by an on-board DSP engine. The DFT algorithm returns a real (R) and imaginary (I) data-word at each output frequency.

Once calibrated, the magnitude of the impedance and relative phase of the impedance at each frequency point along the sweep is easily calculated. This is done off chip using the real and imaginary register contents, which can be read from the serial I2C interface.

A similar device, also available from Analog Devices, Inc., is the AD5934, a 2.7 V to 5.5 V, 250 kSPS, 12-bit impedance converter, with an internal temperature sensor and is packaged in a 16-lead SSOP.


  • Electrochemical analysis
  • Bioelectrical impedance analysis
  • Impedance spectroscopy
  • Complex impedance measurement
  • Corrosion monitoring and protection equipment
  • Biomedical and automotive sensors
  • Proximity sensing
  • Nondestructive testing
  • Material property analysis
  • Fuel/battery cell condition monitoring

01 Oct 2012 11:43 · Dragos Bogdan

The goal of this project (Microcontroller No-OS) is to be able to provide reference projects for lower end processors, which can't run Linux, or aren't running a specific operating system, to help those customers using microcontrollers with ADI parts. Here you can find a generic driver which can be used as a base for any microcontroller platform and also specific drivers for different microcontroller platforms.

Driver Description

The driver contains two parts:

  • The driver for the AD5933 part, which may be used, without modifications, with any microcontroller.
  • The Communication Driver, where the specific communication functions for the desired type of processor and communication protocol have to be implemented. This driver implements the communication with the device and hides the actual details of the communication protocol to the ADI driver.

The Communication Driver has a standard interface, so the AD5933 driver can be used exactly as it is provided.

There are three functions which are called by the AD5933 driver:

  • I2C_Init() – initializes the communication peripheral.
  • I2C_Write() – writes data to the device.
  • I2C_Read() – reads data from the device.

I2C driver architecture

The following functions are implemented in this version of AD5933 driver:

Function Description
char AD5933_Init(void) Initializes the communication peripheral.
void AD5933_SetRegisterValue(unsigned char registerAddress, unsigned long registerValue, unsigned char bytesNumber) Writes data into a register.
unsigned long AD5933_GetRegisterValue(unsigned char registerAddress, unsigned char bytesNumber) Reads the value of a register.
void AD5933_Reset(void) Resets the device.
void AD5933_SetSystemClk(char clkSource, unsigned long extClkFreq) Selects the source of the system clock.
void AD5933_SetRangeAndGain(char range, char gain) Selects the range and gain of the device.
float AD5933_GetTemperature(void) Reads the temperature from the part and returns the data in degrees Celsius.
void AD5933_ConfigSweep(unsigned long startFreq, unsigned long incFreq, unsigned short incNum) Configures the sweep parameters: Start frequency, Frequency increment and Number of increments.
void AD5933_StartSweep(void) Starts the sweep operation.
double AD5933_CalculateGainFactor(unsigned long calibrationImpedance, unsigned char freqFunction) Reads the real and the imaginary data and calculates the Gain Factor.
double AD5933_CalculateImpedance(double gainFactor, unsigned char freqFunction) Reads the real and the imaginary data and calculates the Impedance.
resources/tools-software/uc-drivers/ad5933.txt · Last modified: 04 Jul 2013 13:36 by Lucian Sin