The AD7293 is a PA drain current controller containing functionality for general-purpose monitoring and control of current, voltage, and temperature, integrated into a single chip solution with an SPI-compatible interface. The device features a 4-channel, 12-bit successive approximation register (SAR) ADC, eight 12-bit DACs (four bipolar and four unipolar with output ranges that can be configured to shut down under external pin control), a ±1.25°C accurate internal temperature sensor, and eight general-purpose input/output (GPIO) pins.
The device also includes limit registers for alert functions and four high-side current sense amplifiers to measure current across external shunt resistors. These amplifiers can be optionally set to operate as part of four independent closed-loop drain current controllers.
A high accuracy 2.5 V internal reference is provided to drive the DACs and the ADC. The 12-bit ADC monitors and digitizes the internal temperature sensor, and two inputs are included for the external diode temperature sensors.
Note that throughout this data sheet, multifunction pins, such as GPIO4/ALERT1, are referred to either by the entire pin name or by a single function of the pin, for example, ALERT1, when only that function is relevant.
Applications:
The driver contains two parts:
The Communication Driver has a standard interface, so the AD7293 driver can be used exactly as it is provided.
The Communication Drivers must include SPI transmission methods for AD7293 and GPIO control methods for AD7293.
For the SPI method, the AD7293 driver calls three functions:
For the GPIO control methods, the AD7293 driver calls three functions:
Source code documentation for the driver is automatically generated using the Doxygen tool and it is available at: