0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
MAX11014

MAX11014

  • 厂商:

    MAXIM(美信)

  • 封装:

  • 描述:

    MAX11014 - Automatic RF MESFET Amplifier Drain-Current Controllers - Maxim Integrated Products

  • 数据手册
  • 价格&库存
MAX11014 数据手册
19-3985; Rev 3; 11/08 KIT ATION EVALU ILABLE AVA Automatic RF MESFET Amplifier Drain-Current Controllers Features ♦ Dual Drain-Current-Sense Gain Amplifier Preset Gain of 4 ±0.5% Accuracy for Sense Voltages Between 75mV and 625mV (MAX11014) ♦ Common-Mode Sense-Resistor Voltage Range 0.5V to 11V (MAX11014) 5V to 32V (MAX11015) ♦ Low-Noise Output GATE Bias with ±10mA GATE Drive ♦ Fast Clamp and Power-On Reset ♦ 12-Bit DAC Controls MESFET GATE Voltage ♦ Internal Temperature Sensor/Dual Remote Diode Temperature Sensors ♦ Internal 12-Bit ADC Measures Temperature and Voltage ♦ Pin-Selectable Serial Interface 3.4MHz I2C-Compatible Interface 20MHz SPI-/MICROWIRE-Compatible Interface General Description The MAX11014/MAX11015 set and control bias conditions for dual MESFET power devices found in point-topoint communication and other microwave base stations. The MAX11014 integrates complete dual analog closed-loop drain-current controllers for Class A MESFET amplifier operation, while the MAX11015 targets Class AB operation. Both devices integrate SRAM lookup tables (LUTs) that can be used to store temperature and drain-current compensation data. Each device includes dual high-side current-sense amplifiers to monitor the MESFET drain currents through the voltage drop across the sense resistors in the 0 to 625mV range. External diode-connected transistors monitor the MESFET temperatures while an internal temperature sensor measures the local die temperature of the MAX11014/MAX11015. The internal DAC sets the voltages across the current-sense resistors by controlling the GATE voltages. The internal 12-bit SAR ADC digitizes internal and external temperature, internal DAC voltages, current-sense amplifier voltages, and external GATE voltages. Two of the 11 ADC channels are available as general-purpose analog inputs for analog system monitoring. The MAX11014’s gate-drive amplifier functions as an integrator for the Class A drain-current control loop while the MAX11015’s gate-drive amplifier functions with a gain of -2 for Class AB applications. The currentlimited gate-drive amplifier can be fast clamped to an external voltage independent of the digital input from the serial interface. Both the MAX11014 and the MAX11015 include self-calibration modes to minimize error over time, temperature, and supply voltage. The MAX11014/MAX11015 feature an internal reference and can operate from separate ADC and DAC external references. The internal reference provides a well-regulated, low-noise +2.5V reference for the ADC, DAC, and temperature sensors. These integrated circuits operate from a 4-wire 20MHz SPI™-/MICROWIRE™-compatible or 3.4MHz I2C-compatible serial interface (pin-selectable). Both devices operate from a +4.75V to +5.25V analog supply (2.8mA typical supply current), a +2.7V to +5.25V digital supply (1.5mA typical supply current), and a -4.5V to -5.5V negative supply (1.1mA supply current). The MAX11014/MAX11015 are available in a 48-pin thin QFN package specified over the -40°C to +105°C temperature range. MAX11014/MAX11015 Ordering Information PART MAX11014BGTM+ MAX11015BGTM+* PIN-PACKAGE 48 Thin QFN-EP** 48 Thin QFN-EP** AMPLIFIER Class A Class AB + Denotes a lead-free package. *Future product—contact factory for availability. **EP = Exposed pad. Note: All devices are specified over the -40°C to +105°C operating temperature range. Pin Configuration and Typical Operating Circuit appear at end of data sheet. Applications Cellular Base-Station RF MESFET Bias Controllers Point-to-Point or Point-to-Multipoint Links Industrial Process Control SPI is a trademark of Motorola, Inc. MICROWIRE is a trademark of National Semiconductor Corp. ________________________________________________________________ Maxim Integrated Products 1 For pricing delivery, and ordering information please contact Maxim Direct at 1-888-629-4642, or visit Maxim’s website at www.maxim-ic.com. Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 ABSOLUTE MAXIMUM RATINGS AVDD to AGND .........................................................-0.3V to +6V DVDD to DGND.........................................................-0.3V to +6V AGND to DGND.....................................................-0.3V to +0.3V AVSS to AGND ...........................................................-0.3V to -6V RCS1+, RCS1-, RCS2+, RCS2- to GATEVSS (MAX11014) ........................................................-0.3V to +13V RCS1+, RCS1-, RCS2+, RCS2- to AGND (MAX11015) ........................................................-0.3V to +34V RCS1- to RCS1+.......................................................-6V to +0.3V RCS2- to RCS2+.......................................................-6V to +0.3V GATEVSS to AGND...................................................+0.3V to -6V GATE1, GATE2 to AGND .....(GATEVSS - 0.3V) to (AVDD + 0.3V) DVDD to AVDD ..........................................-0.3V to (AVDD + 0.3V) All Other Analog Inputs to AGND ............-0.3V to (AVDD + 0.3V) PGAOUT1, PGAOUT2 to AGND ..............-0.3V to (AVDD + 0.3V) SCLK/SCL, DIN/SDA, CS/A0, N.C./A2, CNVST, OPSAFE1, OPSAFE2 to DGND.............................-0.3V to (DVDD + 0.3V) DOUT/A1, SPI/I2C, ALARM, BUSY to DGND ..............................................-0.3V to (DVDD + 0.3V) Maximum Current into Any Pin............................................50mA Continuous Power Dissipation (TA = +70°C) 48-Pin Thin QFN (derate 27.0mW/°C above +70°C)..........................................................2162.2mW Operating Temperature Range .........................-40°C to +105°C Storage Temperature Range ...............................-60°C to 150°C Junction Temperature ......................................................+150°C Lead Temperature (soldering, 10s) .................................+300°C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. ELECTRICAL CHARACTERISTICS (VGATEVSS = VAVSS = -5.5V to -4.75V, VAVDD = +4.75V to +5.25V, VDVDD = +2.7V to VAVDD, external VREFADC = +2.5V, external VREFDAC = +2.5V, CREFADC = CREFDAC = 0.1µF, VOPSAFE1 = VOPSAFE2 = 0, VRCS1+ = VRCS2+ = +5V, CFILT1 = CFILT3 = 1nF, CFILT2 = CFILT4 = 1nF, VAGND = VDGND = 0, VADCIN0 = VADCIN1 = 0, VACLAMP1 = VACLAMP2 = -5V, TJ = TMIN to TMAX, unless otherwise noted. All typical values are at TJ = +25°C.) PARAMETER Common-Mode Input Voltage Range Common-Mode Rejection Ratio Input-Bias Current Full-Scale Sense Voltage Sense Voltage Range Total Current Set Error Current-Sense Settling Time Saturation Recovery Time CLASS AB INPUT CHANNEL Untrimmed Offset Offset Temperature Coefficient Gain Gain Error 19 0 4 0.1 % Bits Bits/oC tHSCS SYMBOL MAX11014 MAX11015 0.5V < VRCS_+ < 11V for the MAX11014 5V < VRCS_+ < 32V for the MAX11015 VSENSE < 100mV over the common-mode range VSENSE = VRCS+ - VRCSTo within ±0.5% accuracy To within ±2% accuracy To within ±20% accuracy VSENSE = 75mV Settles to within ±0.5% of final value Settles to within ±0.5% accuracy, from VSENSE = 1.875V 75 20 2 ±0.1 < 25 < 45 CONDITIONS MIN 0.5 5 90 90 200 ±2 625 625 625 625 ±0.5 % µs µs mV TYP MAX 11.0 32 UNITS CURRENT-SENSE AMPLIFIER (Note 1) VRCS+ CMRR IRCS+ IRCSVSENSE V dB µA mV 2 _______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers ELECTRICAL CHARACTERISTICS (continued) (VGATEVSS = VAVSS = -5.5V to -4.75V, VAVDD = +4.75V to +5.25V, VDVDD = +2.7V to VAVDD, external VREFADC = +2.5V, external VREFDAC = +2.5V, CREFADC = CREFDAC = 0.1µF, VOPSAFE1 = VOPSAFE2 = 0, VRCS1+ = VRCS2+ = +5V, CFILT1 = CFILT3 = 1nF, CFILT2 = CFILT4 = 1nF, VAGND = VDGND = 0, VADCIN0 = VADCIN1 = 0, VACLAMP1 = VACLAMP2 = -5V, TJ = TMIN to TMAX, unless otherwise noted. All typical values are at TJ = +25°C.) PARAMETER CLASS AB OUTPUT CHANNEL Untrimmed Offset Offset Temperature Coefficient Gain Gain Error GATE-DRIVE AMPLIFIER/INTEGRATOR I GATE = -1mA Output Gate-Drive Voltage Range (Note 2) VGATE I GATE = + 1mA I GATE = -10mA I GATE = + 10mA Gate Voltage Settling Time— MAX11015 Settles to within ±0.5% of final value, RS = 50 , CGATE = 1 5µF, see GATE Output Resistance vs. GATE Voltage in the T ypical Operating Characteristics No series resistance, RS = 0 RS = 500 RMS noise, 1kHz to 1MHz CLOAD = 1nF I SC R OPSW Sinking or sourcing Clamp GATE1 to ACLAMP1, GATE2 to ACLAMP2 (Note 4) 12 DNLADC INLADC (Note 5) ±2 (Note 6) ±2 ±0.4 ±0.4 ±0.1 ±0.1 ±2 ±2 ±4 ±4 0 0 15,000 250 ±100 ±25 3.6 VGATEVSS + 1.2 -1 -20 VGATEVSS +1 -0.15 -4 V mV V mV (Note 1) 50 0 -2 0.1 % µV mV/oC SYMBOL CONDITIONS MIN TYP MAX UNITS MAX11014/MAX11015 t GATE 1.1 ms Output Capacitive Load (Note 3) Gate Voltage Noise Maximum Power-On Transient Output Short-Circuit Current Limit Output Safe Switch OnResistance ADC DC ACCURACY Resolution D ifferential Nonlinearity Integral Nonlinearity Offset Error Gain Error Gain Temperature Coefficient Offset Temperature Coefficient Channel-to-Channel Offset Matching Channel-to-Channel Gain Matching C GATE 0.5 nF nV/ H z mV mA k Bits LSB LSB LSB LSB ppm/oC ppm/oC LSB LSB _______________________________________________________________________________________ 3 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 ELECTRICAL CHARACTERISTICS (continued) (VGATEVSS = VAVSS = -5.5V to -4.75V, VAVDD = +4.75V to +5.25V, VDVDD = +2.7V to VAVDD, external VREFADC = +2.5V, external VREFDAC = +2.5V, CREFADC = CREFDAC = 0.1µF, VOPSAFE1 = VOPSAFE2 = 0, VRCS1+ = VRCS2+ = +5V, CFILT1 = CFILT3 = 1nF, CFILT2 = CFILT4 = 1nF, VAGND = VDGND = 0, VADCIN0 = VADCIN1 = 0, VACLAMP1 = VACLAMP2 = -5V, TJ = TMIN to TMAX, unless otherwise noted. All typical values are at TJ = +25°C.) PARAMETER Signal-to-Noise Plus Distortion Total Harmonic Distortion Spurious-Free Dynamic Range Intermodulation Distortion Full-Power Bandwidth Full-Linear Bandwidth ADC CONVERSION RATE Power-Up Time Acquisition Time (Note 3) Conversion Time Aperture Delay ADCIN1, ADCIN2 INPUTS Input Range Input Leakage Current Input Capacitance TEMPERATURE MEASUREMENTS Internal Sensor Measurement Error External Sensor Measurement Error (Note 8) Temperature Resolution External Diode Drive External Temperature Sensor Drive Current Ratio INTERNAL REFERENCE Reference Output Voltage Reference Output Temperature Coefficient Reference Output Impedance Power-Supply Rejection Ratio PSRR VAVDD = +5V ±5% VREFADC = VREFDAC, TJ = +25°C +2.490 +2.500 ±15 6.5 -83 +2.510 V ppm/oC kΩ dB 3.26 16.6 TJ = +25°C TJ = -40°C to +85°C (Note 3) TJ = -40°C to +105°C (Note 3) TJ = +25°C TJ = -40°C to +105°C ±0.25 ±1.0 ±1.0 ±1.0 ±3 0.125 75.00 ±2.5 ±3.5 °C °C/LSB µA °C CADCIN_ VADCIN_ Relative to AGND (Note 7) VADCIN_ = 0V or VAVDD 0 ±0.01 34 VREFADC ±1 V µA pF tPU tACQ tCONV External reference Internal reference GATE_ and sense voltage measurements All other measurements Internally clocked 30 40 1.5 6.5 0.8 50 µs µs µs ns SYMBOL SINAD THD SFDR IMD fIN1 = 9.9kHz, fIN2 = 10.2kHz -3dB point S / (N + D) > 68dB Up to the 5th harmonic CONDITIONS MIN TYP 70 -84 86 76 1 100 MAX UNITS dB dB dB dB MHz kHz ADC DYNAMIC ACCURACY (1kHz sine-wave input, -0.5dB from full scale, 94.4ksps) 4 _______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers ELECTRICAL CHARACTERISTICS (continued) (VGATEVSS = VAVSS = -5.5V to -4.75V, VAVDD = +4.75V to +5.25V, VDVDD = +2.7V to VAVDD, external VREFADC = +2.5V, external VREFDAC = +2.5V, CREFADC = CREFDAC = 0.1µF, VOPSAFE1 = VOPSAFE2 = 0, VRCS1+ = VRCS2+ = +5V, CFILT1 = CFILT3 = 1nF, CFILT2 = CFILT4 = 1nF, VAGND = VDGND = 0, VADCIN0 = VADCIN1 = 0, VACLAMP1 = VACLAMP2 = -5V, TJ = TMIN to TMAX, unless otherwise noted. All typical values are at TJ = +25°C.) PARAMETER EXTERNAL REFERENCES REFADC Input Voltage Range REFADC Input Current REFDAC Input Voltage Range REFDAC Input Current DAC DC ACCURACY Resolution Integral Nonlinearity Differential Nonlinearity POWER SUPPLIES Analog Supply Voltage Digital Supply Voltage Negative Supply Voltage Analog Supply Current Digital Supply Current Negative Supply Current Analog Shutdown Current Digital Shutdown Current Negative Shutdown Current SERIAL-INTERFACE SUPPLIES VIL Input Voltage VIH Input Hysteresis Output Low Voltage VHYS VOL BUSY: ISINK = 0.5mA; DOUT, ALARM: ISINK = 3mA SPI/ I2C = DVDD; BUSY: ISOURCE = 0.5mA; DOUT, ALARM: ISOURCE = 2mA DVDD 0.5V ±0.01 5 ±10 0.7 x DVDD 0.05 x DVDD 0.4 V V 0.3 x DVDD VAVDD VDVDD VGATEVSS, VGATEVSS = VAVSS VAVSS IAVDD IDVDD IGATEVSS + IAVSS VAVDD = +5.25V VDVDD = +5.25V VGATEVSS = VAVSS = -5.5V VAVDD = +5.25V VDVDD = +5.25V VGATEVSS = VAVSS = -5.5V +4.75 +2.7 -5.50 2.8 1.5 1.1 0.8 0.2 0.6 +5.25 AVDD -4.75 5 5 1.7 V V V mA mA mA µA µA µA INLDAC DNLDAC Measured at FILT_ Measured at FILT_, guaranteed monotonic 12 ±1 ±0.4 ±1 Bits LSB LSB VREFADC IREFADC VREFDAC VREFADC = +2.5V, fSAMPLE = 178ksps Acquisition/between conversions +0.50 26 +1.0 60 ±0.01 +2.52 VAVDD V µA V µA SYMBOL CONDITIONS MIN TYP MAX UNITS MAX11014/MAX11015 V Output High Voltage Input Current Input Capacitance VOH IIN CIN V µA pF _______________________________________________________________________________________ 5 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 SPI-INTERFACE TIMING CHARACTERISTICS (Note 9) (See Figure 1.) PARAMETER SCLK Clock Period SCLK High Time SCLK Low Time DIN to SCLK Rise Setup Time DIN to SCLK Rise Hold Time SCLK Fall to DOUT Transition CS Fall to DOUT Enable CS Rise to DOUT Disable CS Rise or Fall to SCLK Rise CS Pulse-Width High Last SCLK Rise to CS Rise SYMBOL tCP tCH tCL tDS tDH tDO tDV tTR tCSS tCSW tCSH (Note 3) (Note 3) CL = 30pF CL = 30pF (Note 3) CL = 30pF (Note 10) 10 40 0 CONDITIONS MIN 40 16 16 10 0 20 40 40 TYP MAX UNITS ns ns ns ns ns ns ns ns ns ns ns I2C-INTERFACE SLOW-/FAST-MODE TIMING CHARACTERISTICS (Note 9) (See Figure 2.) PARAMETER SCL Clock Frequency Bus Free Time Between a STOP and START Condition Hold Time (Repeated) for START Condition Setup Time for a Repeated START Condition SCL Pulse-Width Low SCL Pulse-Width High Data Setup Time Data Hold Time SDA, SCL Rise Time, Receiving SDA, SCL Fall Time, Receiving SDA Fall Time, Transmitting Setup Time for STOP Condition Capacitive Load for Each Bus Line Pulse Width of Spikes Suppressed By the Input Filter SYMBOL fSCL tBUF tHD;STA tSU;STA tLOW tHIGH tSU;DAT tHD;DAT tR tF tF tSU;STO CB tSP (Notes 3, 14) (Note 15) (Note 11) (Notes 3, 12) (Notes 3, 12) (Notes 3, 12, 13) After this period, the first clock pulse is generated CONDITIONS MIN 0 1.3 0.6 0.6 1.3 0.6 100 0 0 0 20 + 0.1 x CB 0.6 400 50 0.9 300 300 250 TYP MAX 400 UNITS kHz µs µs µs µs µs ns µs ns ns ns µs pF ns 6 _______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers I2C-WIRE-INTERFACE HIGH-SPEED-MODE TIMING CHARACTERISTICS (Note 9) (See Figure 3.) PARAMETER Serial Clock Frequency Setup Time (Repeated) START Condition Hold Time (Repeated) START Condition SCL Pulse-Width Low SCL Pulse-Width High Data Setup Time Data Hold Time SCL Rise Time SCL Rise Time, After a Repeated START Condition and After an Acknowledge Bit SCL Fall Time SDA Rise Time SDA Fall Time Setup Time for STOP Condition Capacitive Load for Each Bus Line Pulse Width of Spikes Suppressed By the Input Filter SYMBOL fSCL tSU;STA tHD;STA tLOW tHIGH tSU;DAT tHD;DAT tRCL tRCL1 tFCL tRDA tFDA tSU;STO CB tSP (Note 14) (Note 15) 0 (Note 11) (Note 3) (Note 3) (Note 3) (Note 3) (Note 3) CONDITIONS CB = 100pF max MIN 0 160 160 160 60 10 0 10 10 10 10 10 160 100 10 0 70 40 80 40 80 80 MAX 3.4 CB = 400pF MIN 0 160 160 320 120 10 0 20 20 20 20 20 160 400 10 150 80 160 80 160 160 MAX 1.7 UNITS MHz ns ns ns ns ns ns ns ns ns ns ns ns pF ns MAX11014/MAX11015 _______________________________________________________________________________________ 7 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 MISCELLANEOUS TIMING CHARACTERISTICS PARAMETER Minimum Time to Wait After a Write Command Before Reading Back Data from the Same Location CNVST Active-Low Pulse Width in ADC Clock Mode 01 CNVST Active-Low Pulse Width in ADC Clock Mode 11 to Initiate a Temperature Conversion CNVST Active-Low Pulse Width in ADC Clock Mode 11 for ADCIN1/2 Acquisition ADC Power-Up Time (External Reference) ADC Power-Up Time (Internal Reference) DAC Power-Up Time (External Reference) DAC Power-Up Time (Internal Reference) Acquisition Time (Internally Timed in ADC Clock Modes 00 or 01) Conversion Time (Internally Clocked) Delay to Start of Conversion Time Temperature Conversion Time (Internally Clocked) SYMBOL CONDITIONS MIN TYP MAX UNITS tRDBK (Note 16) 1 µs tCNV01 (Note 3) 20 ns tCNV11 (Note 3) 20 ns tACQ11A (Note 3) 1.5 µs tAPUEXT tAPUINT tDPUEXT tDPUINT 0.8 50 2 50 µs µs µs µs tACQ 0.6 µs tCONV tCONVW tCONVT (Note 17) 1 30 6.5 µs µs µs 8 _______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 MISCELLANEOUS TIMING CHARACTERISTICS (continued) Note 1: All current-sense amplifier specifications are tested after a current-sense calibration (valid when drain current = 0mA). See RCS Error vs. GATE Current in the Typical Operating Characteristics. The calibration is valid only at one temperature and supply voltage and must be repeated if either the temperature or supply voltage changes. Note 2: The hardware configuration register’s CH_OCM1 and CH_OCM0 bits are set to 0. See Table 10a. The max specification is limited by tester limitations. Note 3: Guaranteed by design. Not production tested. Note 4: At power-on reset, the output safe switch is closed. See the ALMHCFG (Read/Write) section. Note 5: Integral nonlinearity is the deviation of the analog value at any code from its theoretical value after the gain and offset errors have been calibrated out. Note 6: Offset nulled. Note 7: Absolute range for analog inputs is from 0 to VAVDD. Note 8: Device and sensor at the same temperature. Verified by the current ratio (see the Temperature Measurements section). Note 9: All timing specifications referred to VIH or VIL levels. Note 10: DOUT goes into tri-state mode after the CS rising edge. Keep CS low long enough for the DOUT value to be sampled before it goes to tri-state. Note 11: A master device must provide a hold time of at least 300ns for the SDA signal (referred to VIL of the SCL signal) to bridge the undefined region of SCL’s falling edge. Note 12: tR and tF measured between 0.3 x DVDD and 0.7 x DVDD. Note 13: CB = total capacitance of one bus line in pF. For bus loads between 100pF and 400pF, the timing parameters should be linearly interpolated. Note 14: An appropriate bus pullup resistance must be selected depending on board capacitance. For more information, refer to the I2C documentation on the Philips website. Note 15: Input filters on the SDA and SCL inputs suppress noise spikes less than 50ns. Note 16: When a command is written to the serial interface, it is passed to the internal oscillator clock to be executed. There is a small synchronization delay before the new value is written to the appropriate register. If the user attempts to read the new value back before tRDBK, no harm will be caused to the data, but the read command may not yet show the new value. Note 17: This is the minimum time from the end of a command before CNVST should be asserted. The time allows for the data from the preceding write to arrive and set up the chip in preparation for the CNVST. The time need only be observed when the write affects the ADC controls. Failure to observe this time may lead to incorrect conversions (for example, conversion of the wrong ADC channel). _______________________________________________________________________________________ 9 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 tCSW CS tCSS tCL SCLK tDH tDS tCH tCP tCSH tCSS DIN C7 C6 D1 tDO D0 tTR tDV DOUT Figure 1. SPI Serial-Interface Timing Diagram SDA tSU;DAT tF SCL tLOW tR tF tHD;STA tSP tR tBUF tHD;STA S tSU;STA tHD;DAT tHIGH Sr tSU;STO P S S = START, Sr = REPEATED START, P = STOP Figure 2. Slow-/Fast-Speed Timing Diagram Sr tFDA SDA tSU;STA tHD;STA tHD;DAT tSU;DAT tSU;STO tRDA Sr P SCL tRCL1 tFCL tHIGH tLOW tRCL tLOW tHIGH tRCL1 Sr = REPEATED START, P = STOP Figure 3. High-Speed Timing Diagram 10 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers Typical Operating Characteristics (VGATEVSS = -5.5V; VAVDD = VDVDD = +5V, GATEVSS = AVSS = -5V, external VREFADC = +2.5V; external VREFDAC = +2.5V; CREF = 0.1µF; TA = TMIN to TMAX, unless otherwise noted.) DIGITAL SUPPLY CURRENT vs. DIGITAL SUPPLY VOLTAGE AVDD = 5.25V DVDD SUPPLY CURRENT (mA) 6 MAX11014 toc01 MAX11014/MAX11015 ANALOG SUPPLY CURRENT vs. ANALOG SUPPLY VOLTAGE MAX11014 toc02 RCS ERROR vs. TEMPERATURE MAX11014 toc03 8 2.45 0.4 AVDD SUPPLY CURRENT (mA) 2.44 0.2 RCS ERROR (mV) AFTER CALIBRATION 0 2.43 4 2.42 2 -0.2 2.41 BEFORE CALIBRATION 0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 DVDD SUPPLY VOLTAGE (V) 2.40 4.750 4.875 5.000 5.125 5.250 AVDD SUPPLY VOLTAGE (V) -0.4 -50 -25 0 25 50 75 100 125 TEMPERATURE (°C) GATE VOLTAGE POWER-UP MAX11014 toc04 FILT1/FILT3 SETTLING TIME vs. FILT1/FILT3 CAPACITIVE LOAD 10% TO 90% 500 SETTLING TIME (µs) 400 300 200 100 tRISE tFALL MAX11014 toc05 RCS ERROR vs. GATE CURRENT MAX11014 toc06 600 0.50 0.25 RCS ERROR (mV) 0 VGATE 1V/div -0.25 -5V 40µs/div SOURCING SINKING 0 0 100 200 300 400 500 CAPACITIVE LOAD (pF) -0.50 -10 -5 0 GATE CURRENT (mA) 5 10 GATE OUTPUT RESISTANCE vs. GATE VOLTAGE GATEVSS = AVSS = -5V GATE OUTPUT RESISTANCE (Ω) 15 MAX11014 toc07 GLITCH IMPULSE MAX11014 toc08 DAC INTEGRAL NONLINEARITY vs. OUPUT CODE 0.75 0.50 DAC INL (LSB) FILT1 1mV/div AC-COUPLED 0.25 0 -0.25 -0.50 -0.75 MAX11014 toc09 20 1.00 10 5 0 -5 -4 -3 -2 -1 0 1µs/div VGATE (V) -1.00 0 1024 2048 OUTPUT CODE 3072 4096 ______________________________________________________________________________________ 11 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Typical Operating Characteristics (continued) (VGATEVSS = -5.5V; VAVDD = VDVDD = +5V, GATEVSS = AVSS = -5V, external VREFADC = +2.5V; external VREFDAC = +2.5V; CREF = 0.1µF; TA = TMIN to TMAX, unless otherwise noted.) DAC DIFFERTIAL NONLINEARITY vs. OUTPUT CODE MAX11014 toc10 ADC INTEGRAL NONLINEARITY vs. OUTPUT CODE MAX11014 toc11 ADC DIFFERENTIAL NONLINEARITY vs. OUTPUT CODE 0.75 0.50 ADC DNL (LSB) 0.25 0 -0.25 -0.50 -0.75 -1.00 MAX11014 toc12 1.00 0.75 0.50 DAC DNL (LSB) 0.25 0 -0.25 -0.50 -0.75 -1.00 0 1024 2048 OUTPUT CODE 3072 1.00 0.75 0.50 ADC INL (LSB) 0.25 0 -0.25 -0.50 -0.75 -1.00 1.00 4096 0 1024 2048 OUTPUT CODE 3072 4096 0 1024 2048 OUTPUT CODE 3072 4096 ADC SINAD vs. FREQUENCY MAX11014 toc13 ADC SFDR vs. FREQUENCY MAX11014 toc14 ADC TOTAL HARMONIC DISTORTION vs. FREQUENCY MAX11014 toc15 80 100 0.1 75 SINAD (dB) SFDR (dB) 90 70 THD (%) 80 0.01 70 65 60 60 0.1 1 10 FREQUENCY (kHz) 100 1000 50 0.1 1 10 FREQUENCY (kHz) 100 1000 0.001 0.1 1 10 FREQUENCY (kHz) 100 1000 ADC FFT PLOT MAX11014 toc16 DIGITAL SUPPLY CURRENT vs. SAMPLING RATE MAX11014 toc17 ADC INTERNAL REFERENCE VOLTAGE vs. SUPPLY VOLTAGE AVDD = DVDD ADC REFERENCE VOLTAGE (V) 2.5024 MAX11014 toc18 0 -20 AMPLITUDE (dB) -40 -60 -80 -100 -120 0 10 20 30 40 fANALOG_IN = 9.982kHz fCLK = 3.052MHz SINAD = 71.28dBc SNR = 71.51dBc THD = -84.18dBc SFDR = -86.94dBc 8 2.5026 AVDD = DVDD = 5V DVDD SUPPLY CURRENT (mA) 7 6 2.5022 5 2.5020 4 3 50 0.1 1 10 100 1000 ANALOG INPUT FREQUENCY (kHz) SAMPLING RATE (ksps) 2.5018 4.750 4.875 5.000 5.125 5.250 SUPPLY VOLTAGE (V) 12 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers Typical Operating Characteristics (continued) (VGATEVSS = -5.5V; VAVDD = VDVDD = +5V, GATEVSS = AVSS = -5V, external VREFADC = +2.5V; external VREFDAC = +2.5V; CREF = 0.1µF; TA = TMIN to TMAX, unless otherwise noted.) DAC INTERNAL REFERENCE VOLTAGE vs. SUPPLY VOLTAGE MAX11014 toc19 MAX11014/MAX11015 INTERNAL REFERENCE VOLTAGE vs. TEMPERATURE MAX11014 toc20 ADC OFFSET ERROR vs. ANALOG SUPPLY VOLTAGE MAX11014 toc21 2.5018 AVDD = DVDD DAC REFERENCE VOLTAGE (V) 2.5016 2.52 2.0 2.51 ADC OFFSET ERROR (LSB) REFERENCE VOLTAGE (V) VREFADC 1.5 2.5014 2.50 VREFDAC 2.49 1.0 2.5012 0.5 2.5010 4.750 2.48 4.875 5.000 5.125 5.250 -50 -25 0 25 50 75 100 125 SUPPLY VOLTAGE (V) TEMPERATURE (°C) 0 4.750 4.875 5.000 AVDD (V) 5.125 5.250 ADC OFFSET ERROR vs. TEMPERATURE MAX11014 toc22 ADC GAIN ERROR vs. ANALOG SUPPLY VOLTAGE MAX11014 toc23 ADC GAIN EROR vs. TEMPERATURE MAX11014 toc24 4 3.0 2.5 ADC GAIN ERROR (LSB) 2.0 1.5 1.0 0.5 4 3 ADC GAIN ERROR (LSB) 2 1 0 -1 -2 -3 ADC OFFSET ERROR (LSB) 3 2 1 0 -50 -25 0 25 50 75 100 125 TEMPERATURE (°C) 0 4.750 4.875 5.000 AVDD (V) 5.125 5.250 -50 -25 0 25 50 75 100 125 TEMPERATURE (°C) INTERNAL TEMPERATURE SENSOR ERROR vs. TEMPERATURE INTERNAL TEMPERATURE SENSOR ERROR (°C) MAX11014 toc25 0 TO 100mV VSENSE TRANSIENT RESPONSE MAX11014 toc26 0 TO 250mV VSENSE TRANSIENT RESPONSE MAX11014 toc27 1.00 0.75 0.50 0.25 0 -0.25 -0.50 -0.75 -1.00 -50 -25 0 75 50 TEMPERATURE (°C) 25 100 VRCS1100mV/div VPGAOUT1 200mV/div GND VRCS1200mV/div VPGAOUT1 500mV/div GND VFILT1 200mV/div VFILT1 500mV/div GND 125 10ms/div 10ms/div ______________________________________________________________________________________ 13 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Pin Description PIN 1 NAME DIN/SDA FUNCTION Serial Data Input. Data is latched into the serial interface on the rising edge of SCLK in SPI mode. Connect a pullup resistor to SDA in I2C mode. Serial Data Output in SPI Mode/Address Select 1 in I2C Mode. Data transitions on the falling edge of SCLK. DOUT is high impedance when CS is high. Connect A1 to DVDD or DGND to set the device address to I2C mode. Analog Input 1 Analog Input 2 Remote-Diode Current Sink. Connect the emitter of a base-emitter junction remote npn transistor to DXN1. Remote-Diode Current Source. Connect DXP1 to the base/collector of a remote temperature-sensing npn transistor. Do not leave DXP1 open; connect to DXN1 if no remote diode is used. Remote-Diode Current Sink. Connect the emitter of a base-emitter junction remote npn transistor to DXN2. Remote-Diode Current Source. Connect DXP2 to the base/collector of a remote temperature-sensing npn transistor. Do not leave DXP2 open; connect to DXN2 if no remote diode is used. DAC Reference Input/Output. Connect a 0.1µF capacitor to AGND in external reference mode. See the HCFG (Read/Write) section. ADC Reference Input/Output. Connect a 0.1µF capacitor to AGND in external reference mode. See the HCFG (Read/Write) section. Positive Analog Supply Voltage. Set AVDD between +4.75V and +5.25V. Bypass with a 1µF and a 0.1µF capacitor in parallel to AGND. Analog Ground MESFET2 External Clamping Voltage Input MESFET2 Gate Connection. See the Gate-Drive Amplifiers section. Gate-Drive Amplifier Negative Power-Supply Input. Set GATEVSS between -4.75V and -5.5V. Connect externally to AVSS. Bypass with a 1µF and a 0.1µF capacitor in parallel to AGND. No Connection. Not internally connected. MESFET1 External Clamping Voltage Input MESFET1 Gate Connection. See the Gate-Drive Amplifiers section. Channel 1 Filter 1 Input. See Figures 5 and 6. Channel 1 Filter 2 Input. See Figures 5 and 6. Channel 2 Filter 3 Input. See Figures 5 and 6. Channel 2 Filter 4 Input. See Figures 5 and 6. Channel 1 Amplifier Voltage Output. See the PGAOUT Outputs section and Figures 5 and 6. Channel 2 Amplifier Voltage Output. See the PGAOUT Outputs section and Figures 5 and 6. Negative Analog Supply Voltage. Set AVSS between -4.75V and -5.5V. Connect externally to GATEVSS. Bypass with a 1µF and a 0.1µF capacitor in parallel to AGND. 2 3 4 5 6 7 8 9 10 11, 27 12, 26 13 14 15 16, 28, 29, 34–37 17 18 19 20 21 22 23 24 25 DOUT/A1 ADCIN1 ADCIN2 DXN1 DXP1 DXN2 DXP2 REFDAC REFADC AVDD AGND ACLAMP2 GATE2 GATEVSS N.C. ACLAMP1 GATE1 FILT1 FILT2 FILT3 FILT4 PGAOUT1 PGAOUT2 AVSS 14 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers Pin Description (continued) PIN 30 NAME RCS2+ FUNCTION Channel 2 Current-Sense-Resistor Connection. Connect to the external supply powering channel 2’s MESFET drain, in the range of +0.5V to +11V (MAX11014) or +5V to +32V (MAX11015). Bypass with a 1µF and a 0.1µF capacitor in parallel to AGND. If unused, connect to RCS1+. Channel 2 Current-Sense-Resistor Connection. Connect to the channel 2 MESFET drain. Decouple as required by the application. If unused, connect to RCS2+. Channel 1 Current-Sense-Resistor Connection. Connect to the channel 1 MESFET drain. Decouple as required by the application. If unused, connect to RCS1+. Channel 1 Current-Sense-Resistor Connection. Connect to the external supply powering channel 1’s MESFET drain, in the range of +0.5V to +11V (MAX11014) or +5V to +32V (MAX11015). Bypass with a 1µF and a 0.1µF capacitor in parallel to AGND. If unused, connect to RCS2+. Operating Safe Channel 1 Input. Set OPSAFE1 high to clamp GATE1 to ACLAMP1 for fast protection of enhancement FET power transistors. Operating Safe Channel 2 Input. Set OPSAFE2 high to clamp GATE2 to ACLAMP2 for fast protection of enhancement FET power transistors. BUSY Output. BUSY asserts high under certain conditions when the device is busy. See the BUSY Output section. Digital Supply Voltage. Set DVDD between +2.7V and AVDD. Bypass with a 1µF and a 0.1µF capacitor in parallel to DGND. Digital Ground Active-Low Conversion Start Input. Set CNVST low to begin a conversion in clock modes 01 and 11. Connect CNVST to DVDD when issuing conversion commands through the serial interface. ALARM Output. ALARM asserts when the temperature or voltage measurements exceed their preset high or low thresholds. Chip-Select Input in SPI Mode/Address Select 0 in I2C Mode. CS is an active-low input. When CS is low, the serial interface is enabled. When CS is high, DOUT is high impedance. Connect A0 to DVDD or DGND to set the device address in I2C mode. SPI-/I2C-Interface Select Input. Connect SPI/I2C to DVDD to select SPI mode. Connect SPI/I2C to DGND to select I2C mode. No Connection in SPI Mode/Address Select 2 in I2C Mode. Connect A2 to DVDD or DGND to set the device address in I2C mode. Serial Clock Input. Clocks data in and out of the serial interface. (Duty cycle must be 40% to 60%.) Connect a pullup resistor to SCL in I2C mode. See Table 10 for details on programming the clock mode. Exposed Pad. Connect to AGND and a large copper plane to meet power dissipation specifications. Do not use as a ground connection. MAX11014/MAX11015 31 32 RCS2RCS1- 33 RCS1+ 38 39 40 41 42 43 44 OPSAFE1 OPSAFE2 BUSY DVDD DGND CNVST ALARM 45 CS/A0 46 47 SPI/I2C N.C./A2 48 SCLK/SCL — EP ______________________________________________________________________________________ 15 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Detailed Description The MAX11014/MAX11015 set and monitor the bias conditions for dual MESFET power devices found in cellular base stations and point-to-point microwave links. The internal DAC sets the voltage across the current-sense resistor by controlling the GATE voltage. These devices integrate a 12-bit ADC to measure voltage, internal and external temperature, and communicate through a 4-wire 20MHz SPI-/MICROWIRE-compatible serial interface or 2-wire 3.4MHz I 2 C-compatible serial interface (pin-selectable). The MAX11014/MAX11015 operate from an internal +2.5V reference or individual ADC and DAC external references. The external current-sense resistors monitor voltages over the 0 to (VDACREF / 4) range. Two current-sense amplifiers with a preset gain of four monitor the voltage across the sense resistors. The MAX11014/MAX11015 accurately measure their internal die temperature and two external remote diode temperature sensors. The remote pn junctions are typically the base-emitter junction of an npn transistor, either discrete or integrated on a CPU, FPGA, or ASIC. The MAX11014/MAX11015 also feature an ALARM output that can be triggered during an internal or external overtemperature condition, an excessive current-sense voltage, or an excessive GATE voltage. Figure 4 shows the MAX11014’s functional diagram. The MAX11014 integrates complete dual analog closed-loop drain-current controllers for Class A MESFET amplifier operation. See the MAX11014 Class A Control Loop section. The analog control loop sets the drain current through the current-sense resistors. The MESFET gate-drive amplifier can vary the DAC code accordingly if the temperature or other system variables change. Implement Class A amplifier operation with the following three steps: 1) Characterization Characterize the MESFET over temperature to determine the amplifier’s set of drain-current values, assuming the part-to-part calibration curve is consistent. There may be an offset shift, but no important change in the shape of the function. Load these values into the MAX11014 LUTs at power-up. In operation, there is a linear interpolation between the values stored in the LUTs. Adjust the drain current for other variables such as output power or drain voltage by loading values into the numerical KLUTs. 2) Calibration In production of the power amplifier, measure the quiescent drain current at a fixed calibration temperature (probably room) and adjust the VSET(CODE) value until the drain current is within the specified limits for that temperature. The VSET(CODE) value is stored for loading after power-up. Prior to operation, command a PGA calibration after powering up by writing to the PGA calibration control register, setting the TRACK bit to 0 and the DOCAL bit to 1 (see Table 18). 3) Operation Upon request, the MAX11014 measures the temperature of the MESFET and compares it with the previous reading. If the temperature reading has changed, the MAX11014 reads the LUTs with the characterization data and updates the DAC to correct the drain current. Setting the TRACK, DOCAL, and SELFTIME bits to 1 in the PGA calibration control register starts automatic monitoring and adjustment of drain current for variations in temperature. Also, if the KLUTs are used, their values are monitored for changes. A DAC correction is then made if necessary. For Class AB operation with the MAX11015, measure the MESFET temperature and set the GATE_ voltage through the LUTs and DAC to control the drain current. See the M AX11015 Class AB Control section. Implement Class AB amplifier operation with the same three steps as Class A operation, with the exception that the LUTs set the GATE_ voltage for constant drain current with varying temperature. Power-On Reset On power-up, the MAX11014/MAX11015 are in full power-down mode (see the SHUT (Write) section). To change to normal power mode, write two commands to the shutdown register. Set the FULLPD bit to 0 (other bits in the shutdown register are ignored) on the first command. A second command to this register then activates the internal blocks. MAX11014 Class A Control Loop The MAX11014 is designed to set and continuously control the drain current for MESFET power amplifiers configured to operate in Class A. Set the DAC code to control the voltage across the RCS_+ and RCS_- current-sense resistor connections. The MAX11014 internal control loop automatically keeps the voltage across the current-sense resistor to the value set by the DAC. See the 12-Bit DAC section. 16 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 SCLK/SCL PGAOUT1 DOUT/A1 DIN/SDA N.C./A2 CS/A0 SPI/I2C PGAOUT2 DRAIN SUPPLY RCS1+ BIAS CURRENT GENERATOR RCS1POR POWER GOOD FILT1 FILT2 SERIAL INTERFACE CHANNEL 1 DAC GATE1 G D S 12-BIT REGISTER OPSAFE1 OPSAFE2 ACLAMP1 DVDD DRAIN SUPPLY DGND DIGITAL CONTROL RCS2+ MAX11014 MAX11015 RCS2- FILT3 FILT4 12-BIT REGISTER CHANNEL 2 DAC GATE2 REGISTER MAP ADC CONTROL ADC CHANNEL SELECT DAC CONTROL DAC CHANNEL SELECT SENSE VOLTAGE CONTROL ALARM ALARM LIMIT RESET G D S ACLAMP2 AVDD AGND AVSS GATEVSS INTERNAL +2.5V REFERENCE INTERNAL TEMPERATURE SENSOR REFADC ALARM VOLTAGE/TEMPERATURE DIGITAL COMPARATOR 12-BIT ADC 12-BIT DAC CODE 48-ENTRY INTERPOLATING TEMPERATURE SRAM LUT 48-ENTRY INTERPOLATING TEMPERATURE SRAM LUT CONVERSION, SCAN, OSCILLATOR, AND CONTROL DXP1 MUX EXTERNAL TEMPERATURE SENSOR PROCESSING DXN1 DXP2 ALU 48-ENTRY INTERPOLATING K SRAM LUT CHANNEL 1 48-ENTRY INTERPOLATING K SRAM LUT CHANNEL 2 DXN2 ADCIN2 ADCIN1 REFDAC Figure 4. Functional Diagram ______________________________________________________________________________________ 17 CNVST BUSY Automatic RF MESFET Amplifier Drain-Current Controllers Once the control loop has been set, the MAX11014 automatically maintains the drain-current value. Figure 5 details the amplifiers that bias the channel 1 and channel 2 control loops. The dual current-sense amplifiers amplify the voltage between RCS_+ and RCS_- by four and add an offset voltage (+12mV nominally). These current-sense amplifiers amplify sense voltages between 0 and 625mV when V REFDAC = +2.5V. See the C urrent-Sense Amplifiers section. The current-sense amplifier output injects a scaled-down replica of the MESFET drain current at the summing node to complete the internal analog feedback loop. The summing node drives the gate-drive amplifier through a 100kΩ series resistor. The gate-drive amplifier is configured as an integrator by the external capacitor connected between GATE1/GATE2 and FILT2/FILT4. The gate-drive amplifier includes automatic offset cancellation between 0 and 24mV to null the 12mV offset from the current-sense amplifier. See the Register Descriptions and PGACAL (Write) sections. The MAX11014’s analog control loop setpoint is described by the following equation: V (CODE = 000h) − VFILT VRCS+ − VRCS− = FILT 4 where: VFILT(CODE = 000h) = VFILT1 (channel 1) and VFILT3 (channel 2) when the THRUDAC1/THRUDAC2 register code is set to 000h. VFILT = VFILT1 (channel 1) and VFILT3 (channel 2). VRCS+ - VRCS- = the voltage drop across the currentsense resistor. Connect a capacitor from FILT2 to GATE1 to form an integrator (setting the control-loop dominant pole) with the channel 1 internal 100k Ω resistor. Connect a capacitor from FILT4 to GATE2 to form an integrator (setting the control-loop dominant pole) with the channel 2 internal 100kΩ resistor. The gate-drive amplifier’s output drives the MESFET gates. See the Gate-Drive Amplifiers section. The channel 1 DAC voltage is output to FILT1 through a series 580kΩ resistor. The channel 2 DAC voltage is output to FILT3 through a series 580k Ω resistor. Connect a capacitor from FILT1 to AGND and FILT3 to AGND to set the filter’s time constant for the respective channel. MAX11014/MAX11015 MAX11015 Class AB Control The MAX11015 is designed to be used with a Class AB amplifier configuration to independently measure the drain current and set the GATE_ output voltages through the serial interface. After sensing the drain current with no RF signal applied, set the DAC code to obtain the desired GATE_ voltage. Figure 6 details the amplifiers that bias the channel 1 and channel 2 control. The MAX11015 internal 12-bit DAC voltage is applied to the gate-drive amplifier, which has a preset gain of -2. See the Gate-Drive Amplifiers section. Setting the DAC code between FFFh and 000h typically produces a GATE_ voltage between 0 and (-2 x VREFDAC). See the HCFG (Read/Write) section for details on adjusting the GATE_ maximum voltage. The channel 1 DAC voltage is output to FILT1 through a series 580kΩ resistor. The channel 2 DAC voltage is output to FILT3 through a series 580k Ω resistor. Connect a capacitor from FILT1 to AGND and FILT3 to AGND to set the filter’s time constant for the respective channel. Connect FILT2 and FILT4 to AGND (MAX11015 only). The dual current-sense amplifiers amplify the voltage between RCS_+ and RCS_- by four and add an offset voltage (+12mV nominally). The current-sense amplifiers amplify sense voltages between 0 and 625mV when V REFDAC = +2.5V. See the C urrent-Sense Amplifiers section. Current-Sense Amplifiers The dual current-sense amplifiers amplify the voltage between RCS_+ and RCS_- and add an offset voltage. Connect a resistor between RCS_+ and RCS_- to sense the MESFET drain current. The current-sense amplifiers scale the sense voltage by four. These amplifiers also reject the drain supply voltage that appears as a DC common-mode level on the current signal. The gate-drive amplifier includes automatic offset cancellation between 0 and 24mV to null the 12mV offset from the current-sense amplifier. See the P GACAL (Write) section. Gate-Drive Amplifiers The gate-drive amplifiers control the MESFET gate bias settings. The MAX11014’s channel 1 and channel 2 DAC voltages are routed through a summing node and into the gate-drive amplifiers. The MAX11015’s channel 1 and channel 2 DAC voltages are routed directly to the gate-drive amplifiers, which have a preset gain of -2. See the 12-Bit DAC section for details on setting the DAC codes. 18 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 PGAOUT1 +0.5V TO +11V CURRENT-SENSE AMPLIFIER CS/A0 CHANNEL 1 ADC RCS1SCLK/SCL RCS1+ DIN/SDA SERIAL INTERFACE DOUT/A1 CFILT2 N.C./A2 GATE1 100kΩ 580kΩ GATE-DRIVE AMPLIFIER POWER MESFET FILT2 CHANNEL 1 DAC + CFILT1 FILT1 PGAOUT2 +0.5V TO +11V CURRENT-SENSE AMPLIFIER CHANNEL 2 ADC RCS2RCS2+ FILT4 CFILT4 GATE2 POWER MESFET 100kΩ 580kΩ GATE-DRIVE AMPLIFIER CHANNEL 2 DAC + CFILT3 FILT3 MAX11014 Figure 5. MAX11014 Class A Analog Control Loop ______________________________________________________________________________________ 19 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 PGAOUT1 CS/A0 CHANNEL 1 ADC SCLK/SCL RCS1DIN/SDA CURRENT-SENSE AMPLIFIER RCS1+ +5V TO +32V DOUT/A1 SERIAL INTERFACE N.C./A2 GAIN = -2 GATE1 POWER MESFET GATE-DRIVE AMPLIFIER 580kΩ CHANNEL 1 DAC FILT1 CFILT1 FILT2 PGAOUT2 +5V TO +32V CHANNEL 2 ADC CURRENT-SENSE AMPLIFIER RCS2+ RCS2- GAIN = -2 GATE2 POWER MESFET GATE-DRIVE AMPLIFIER 580kΩ CHANNEL 2 DAC FILT3 CFILT3 FILT4 MAX11015 Figure 6. MAX11015 Class AB Analog Control 20 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 MESFET GATE VOLTAGE 0V USER ENTERED DAC CODE FFFh ADC CODE RCS_+ TO READ RCS_- SENSE FROM VOLTAGE THE FIFO FFFh VREFDAC / 4 PGAOUT VOLTAGE 0V GATE VOLTAGE ALARM THRESHOLDS DEFAULT VH = FFFh FULLY ON TOO HIGH NEW HIGH GATE VOLTAGE ALARM THRESHOLD VGATE WITHIN THRESHOLDS NEW LOW GATE VOLTAGE ALARM THRESHOLD TOO LOW OFF -2 x VREFDAC 000h 000h 0mV VREFADC DEFAULT VL = 000h Figure 7. DAC Code Range Connect the MESFET drain to the RCS_- input. Connect the MESFET’s gate to the GATE_ output. Set the GATE_ voltage to -2 x VREFDAC to turn the MESFET fully off. Set the GATE_ voltage to 0V to turn the MESFET fully on. See Figure 7. The MAX11014/MAX11015 GATE_ output voltage can be clamped to the external voltage applied at ACLAMP_. Setting OPSAFE_ high clamps the GATE_ voltage unconditionally. The GATE_ can also be clamped by different commands issued through the serial interface. These devices can also monitor the alarms through the software to modify the clamping mechanism. See the Automatic GATE Clamping and ALMHCFG (Read/Write) sections. conversion results are written to the FIFO memory. The FIFO holds up to 15 words (each word of 16 bits) with a leading 4-bit channel tag to indicate which channel the 12-bit data comes from. See Table 25. The FIFO reads back data words either one at a time or continuously. See the A DCCON (Write) s ection. The FIFO always stores the most recent conversion results and allows the oldest data to be overwritten. The FIFO indicates an overflow condition and underflow condition (read of an empty FIFO) through the flag register. See the FLAG (Read) section. 12-Bit ADC Description The MAX11014/MAX11015 ADCs use a fully differential successive-approximation register (SAR) conversion technique and on-chip track-and-hold (T/H) circuitry to convert temperature and voltage signals into 12-bit digital results. The analog inputs accept single-ended input signals. Single-ended signals are converted using a unipolar transfer function. See the A DC Transfer Function section for more details. The internal ADC block converts the results of the internal die temperature, remote diode temperature readings, current-sense voltages, and ADCIN_ voltages. The ADC block also reads back the GATE_ analog output voltage and converts it to a 12-bit digital result. The Analog Input Track and Hold The equivalent circuit of Figure 8 details the MAX11014/MAX11015’s ADCIN_ input architecture. In track mode, a positive input capacitor is connected to ADCIN1/ADCIN2. A negative input capacitor is connected to AGND. After the T/H enters hold mode, the difference between the sampled input voltages and AGND is converted. The input-capacitance charging rate determines the time required for the T/H to acquire an input signal. The required acquisition time lengthens with the increase of the input signal’s source impedance. Any source impedance below 300Ω does not significantly affect the ADC’s AC performance. A highimpedance source can be accommodated either by placing a 1µF capacitor between ADCIN_ and AGND. The combination of the analog-input source impedance and the capacitance at the analog input creates an RC 21 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 REFADC ADCIN1, ADCIN2 ACQ AGND DAC CIN+ COMPARATOR HOLD CIN- ACQ AGND HOLD ACQ HOLD AVDD / 2 Figure 8. ADC Equivalent Input Circuit filter that limits the analog-input bandwidth. Analog Input Protection Internal ESD protection diodes clamp ADCIN1/ADCIN2 to AV DD and AGND, allowing them to swing from (AGND - 0.3V) to (AV DD + 0.3V) without damage. However, for accurate conversions near full scale, the inputs must not exceed AVDD by more than 50mV or be lower than AGND by 50mV. If an analog input voltage exceeds the supplies, limit the input current to 2mA. Temperature Measurements The MAX11014/MAX11015 measure their internal die temperature and two external remote-diode temperatures. Write to the ADC conversion register to command a temperature conversion. See Table 19. Set the CH6 bit to 1 to calculate the remote-diode DXP2/DXN2 temperature sensor reading and load the data into the FIFO. Set the CH1 bit to 1 to calculate the remote-diode DXP1/DXN1 temperature-sensor reading and load the data into the FIFO. Set the CH0 bit to 1 to calculate the internal die temperature-sensor reading and load the data into the FIFO. Temperature data is output in signed two’s-complement format at DOUT in SPI mode and SDA in I2C mode. See Figure 22 for the temperature transfer function. The MAX11014/MAX11015 perform internal tempera22 ture measurements with a diode-connected transistor. The diode bias current changes from 66µA to 4µA to produce a temperature-dependent bias voltage difference. The second conversion result at 4µA is subtracted from the first at 66µA to calculate a digital value that is proportional to absolute temperature. The stored data result is the above digital code minus an offset to adjust from Kelvin to Celsius. The reference voltage for the temperature measurements is derived from the internal reference source to ensure the temperature calibration of 1 LSB corresponding to +0.125°C. For external temperature readings, connect an npn transistor between DXP_ and DXN_. Connect the base and collector together as shown in Figure 4 to form a base-emitter pn junction. The MAX11014/MAX11015 feature an ALARM output that trips when the internal or external temperature rises above an upper threshold value or drops below a lower threshold value. Set the high and low temperature thresholds through the channel 1/channel 2 high/low temperature ALARM threshold registers. See Tables 3, 4, and 5. The temperature-sensing circuits power up for the first temperature measurement in an ADC conversion scan. The temperature-sensing block remains on until the end of the scan to avoid an additional 50µs power-up delay for each individual temperature channel. See the ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers ADCCON (Write) section, Figure 31, and Figure 32. The temperature-sensor circuits remain powered up when the ADC conversion register’s continuous convert bit (CONCONV) is set to 1 and the current ADC conversion includes a temperature channel. The temperaturesensor circuits remain powered up until the CONCONV bit is set low. The external temperature sensor drive current ratio has been optimized for a 2N3904 npn transistor with an ideality factor of 1.0065. The nonideality offset is removed internally by a preset digital coefficient. Using a transistor with a different ideality factor produces a proportionate difference in the absolute measured temperature. For more details on this topic and others related to using an external temperature sensor, see Application Note 1057: Compensating for Ideality Factor and Series Resistance Differences between Thermal Sense Diodes and Application Note 1944: Temperature Monitoring Using the MAX1253/54 and MAX1153/54 on Maxim’s website: www.maxim-ic.com. MAX11014/MAX11015 VDAC(CODE) = VSET(CODE) = (1 + LUTK [K] x LUTTEMP [TEMP]) 12-Bit DAC The MAX11014/MAX11015 include two voltage-output, 12-bit monotonic DACs with ±1 LSB integral nonlinearity error and ±0.4 LSB differential nonlinearity error. The DAC operates from the internal +2.5V reference or an external reference voltage supplied at REFDAC. When using an external voltage reference, bypass REFDAC with a 0.1µF capacitor to AGND. The REFDAC external voltage range is +0.7V to +2.5V. The MAX11014’s channel 1/channel 2 DACs set the sense voltage between RCS_+ and RCS_- by controlling the GATE_ bias. See the M AX11014 Class A Control Loop section. The MAX11015’s channel 1/channel 2 DACs drive the GATE_ outputs directly, independent of the current-sense voltages, through the gate-drive amplifier with a gain of -2. See the MAX11015 Class AB Control section. Set the channel 1/channel 2 DAC code by writing to the respective channel’s DAC input registers, DAC input and output registers, or VSET registers. Write to the DAC input registers (Table 16) and use a subsequent write to the software load DAC register (Table 21) to control the timing of the update. Write to the DAC input and output registers (Table 17) to set the DAC output voltage code directly, independent of the software load DAC register bits. Write to the VSET registers (Table 14) to include LUT data in the DAC code. Writing to the VSET registers triggers a VDAC(CODE) calculation as shown in the following equation: where VDAC(CODE) = The modified channel1/channel 2 12-bit DAC code. VSET(CODE) = The 12-bit DAC code written to the channel 1/channel 2 VSET registers. LUT K [K] = The interpolated, fractional 12-bit KLUT value. The KLUT data is derived from a variety of sources, including: the VSET register value, the K parameter register value, or various ADC channels. See the SRAM LUTs section. LUTTEMP[TEMP] = The interpolated, fractional 12-bit two’s-complement temperature LUT value. The temperature LUT data is derived from either internal or external temperature values. See the SRAM LUTs section. The VDAC(CODE) equation code is then loaded into the DAC input register or DAC output register, depending on the corresponding channel’s LDAC bit in the software configuration register. See Table 11. Self-Calibration Calibrate channel 1 and channel 2 by writing to the PGA calibration control register. The MAX11014/MAX11015 function after power-up without a calibration. However, for best performance after powering up, command a calibration by setting the TRACK bit to 0 and the DOCAL bit to 1 (see Table 18). Subsequently, set the TRACK, DOCAL, and SELFTIME bits to 1 to minimize loss of performance over temperature and supply voltage. The self-calibration algorithm cancels offsets at the gate-drive amplifier inputs in approximately 95µV increments to improve accuracy. The self-calibration routine can be commanded when the DACs are powered down, but the results will not be accurate. For best results, run the calibration after the DAC power-up time, tDPUEXT. The ADC’s operation is suspended during a self-calibration. The end of the self-calibration routine is indicated by the BUSY output returning low. See the BUSY Output section. Wait until the end of the self-calibration routine before requesting an ADC conversion. ______________________________________________________________________________________ 23 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 ADC/DAC References The MAX11014/MAX11015 provide an internal lownoise +2.5V reference for the ADCs, DACs, and temperature sensors. Set bits D3–D0 within the hardware configuration register to control the source of the DAC and ADC references. See Tables 10c and 10d. Connect a voltage source to REFADC between +1.0V and AVDD in external ADC reference mode. Connect a voltage source to REFDAC between +0.7V to +2.5V in external DAC reference mode. When using an external voltage reference, bypass REFADC and REFDAC with 0.1µF capacitors to AGND. Power Supplies The MAX11014/MAX11015 operate from separate analog and digital power supplies. Set the analog supply voltage, AVDD, between +4.75V and +5.25V. Set the digital supply voltage, DV DD , between +2.7V and AVDD. Bypass AVDD with a 0.1µF and 1µF capacitor to AGND and DVDD with a 0.1µF and 1µF capacitor to DGND. The analog circuitry typically consumes 2.8mA of supply current and the digital circuitry 3.7mA. Set the negative analog supply voltages, AV SS and GATEVSS, between -4.75V and -5.5V. Connect AVSS and GATEVSS together externally. Bypass each of these negative supplies with a 0.1µF and 1µF capacitor to AGND. The RCS_+ inputs supply the power to the input section of the current-sense amplifiers. Set RCS_+ between +0.5V and +11V on the MAX11014 and +5V to +32V on the MAX11015. Bypass RCS_+ with a 0.1µF and 1µF capacitor to AGND. SPI Compatibility (SPI/I2C = DVDD) The MAX11014/MAX11015 communicate through a serial interface, compatible with SPI and MICROWIRE devices. For SPI, ensure that the SPI bus master (typically a µC) runs in master mode so it generates the serial clock signal. Set the SCLK frequency to 20MHz or less, and set the clock polarity (CPOL) and phase (CPHA) in the µC control registers to the same value. The MAX11014/MAX11015 operate with SCLK idling high or low, and thus operate with CPOL = CPHA = 0 or CPOL = CPHA = 1. Set CS low to latch input data at DIN on the rising edge of SCLK. Output data at DOUT is updated on the falling edge of SCLK. See Figure 1. Temperature values are available in signed two’s-complement format, while all others are in straight binary. A high-to-low transition on CS initiates the 24-bit data input cycle. Once CS is low, write an 8-bit command byte (MSB first) at DIN to indicate which internal register is being accessed. The command byte also identifies whether the data to follow is to be written into the serial interface or read out. See the R egister Descriptions section. After writing the command byte, write two data bytes at DIN or read two data bytes at DOUT. Keep CS low throughout the entire 24-bit word write. The serial-interface circuitry is common to the ADC and DAC sections. When writing data, write an 8-bit command word and 16 data bits at DIN. See Figure 9. Data is input to the serial interface on the rising edge of SCLK. When reading data, write an 8-bit command byte at DIN and read the following 16 data bits at DOUT. See Figure 10. Data transitions at DOUT on the falling edge of SCLK. DIN can be set high or low while data is being transferred out at DOUT. Serial Interface The MAX11014/MAX11015 feature a pin-selectable I2C/SPI serial interface. Connect SPI/I2C to DGND to select I2C mode, or connect SPI/I2C to DVDD to select SPI mode. SDA and SCL (I2C mode) and DIN, SCLK, and CS (SPI mode) facilitate communication between the MAX11014/MAX11015 and the master. 24 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 CS SCLK 1 2 3 4 5 6 7 8 9 10 23 24 DIN C7 (MSB) C6 C5 C4 C3 C2 C1 C0 (LSB) D15 (MSB) D14 D1 D0 (LSB) THE COMMAND BYTE INITIALIZES THE INTERNAL REGISTERS. THE NEXT 16 BITS ARE DATA BITS. Figure 9. MAX11014/MAX11015 Write Timing CS SCLK 1 2 3 4 5 6 7 8 9 10 23 24 DIN C7 (MSB) C6 C5 C4 C3 C2 C1 C0 (LSB) THE COMMAND BYTE INITIALIZES THE INTERNAL REGISTERS. THE NEXT 16 DATA BITS ARE READ OUT. DOUT D15 (MSB) D14 D1 D0 (LSB) X = DON'T CARE. NOTE: DOUT MAY BE DRIVEN UP TO 2 CLOCK CYCLES BEFORE D15 IS AVAILABLE. ANY DATA ON DOUT BEFORE D15 IS AVAILABLE, SHOULD BE IGNORED. Figure 10. MAX11014/MAX11015 Read Timing ______________________________________________________________________________________ 25 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 I2C Compatibility (SPI/I2C = DGND) The MAX11014/MAX11015 communicate through an I2C-compatible 2-wire serial interface consisting of a serial data line (SDA) and a serial clock line (SCL). SDA and SCL facilitate bidirectional communication between the MAX11014/MAX11015 and the master at data rates up to 3.4MHz. The master (typically a µC) initiates data transfer on the bus and generates the SCL signal to permit data transfer. The MAX11014/MAX11015 behave as I2C slave devices that transfer and receive data. SCL and SDA must be pulled high for proper I2C operation. This is typically done with pullup resistors (1kΩ or greater). Series resistors are optional. The series resistors protect the input architecture from high-voltage spikes on the bus lines and minimize crosstalk and undershoot of the bus signals. One data bit transfers during each SCL clock cycle. A minimum of 9 bytes is required to transfer a byte in or out of the MAX11014/MAX11015 (8 bits and an acknowledge (ACK)/not-acknowledge (NACK) bit). Data is latched in on SCL’s rising edge and read out on SCL’s falling edge. The data on SDA must remain stable during the high period of the SCL clock pulse. Changes in SDA while SCL is stable and high are considered control signals (see the S TART and STOP Conditions section). Both SDA and SCL remain high when the bus is not busy. START and STOP Conditions The master initiates a transmission with a START condition (S), a high-to-low transition on SDA while SCL is high. The master terminates a transmission with a STOP condition (P), a low-to-high transition on SDA while SCL is high (Figure 11). A repeated START condition (Sr) can be used in place of a STOP condition to leave the bus active and the interface mode unchanged (see the High-Speed Mode section). The address byte, command byte, and data bytes are transmitted between the START and STOP conditions. Nine clock cycles are required to transfer the data in or out of the MAX11014/MAX11015. See Figures 15 and 16. If the receiver returns a not-acknowledge bit, the MAX11014/MAX11015 releases the bus. If the not acknowledge occurs in the middle of a 16-bit word, the remaining bits are lost. S SDA Sr P SCL S = START. Sr = REPEATED START. P = STOP. Figure 11. START and STOP Conditions 26 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 S SDA NACK ACK SCL 1 2 8 9 S = START. ACK = ACKNOWLEDGE. NACK = NOT ACKNOWLEDGE. Figure 12. Acknowledge Bits SLAVE ADDRESS S 0 1 0 1 A2 A1 A0 R/W ACK SDA SCL 1 2 3 4 5 6 7 8 9 S = START. ACK = ACKNOWLEDGE. SLAVE ADDRESS BITS A2, A1, AND A0 CORRESPOND TO THE LOGIC STATE OF ADDRESS-SELECT INPUT PINS A2, A1, AND A0. Figure 13. Slave Address Byte Acknowledge and Not-Acknowledge Conditions Data transfers are acknowledged with an acknowledge bit or a not-acknowledge bit. Both the master and the MAX11014/MAX11015 (slave) generate acknowledge bits. To generate an acknowledge, the receiving device pulls SDA low before the rising edge of the acknowledge-related clock pulse (ninth pulse) and keeps it low during the high period of the clock pulse (Figure 12). To generate a not-acknowledge condition, the receiver allows SDA to be pulled high before the rising edge of the acknowledge-related clock pulse and leaves SDA high during the high period of the clock pulse. Monitor the acknowledge bits to detect an unsuccessful data transfer. An unsuccessful data transfer happens if a receiving device is busy or if a system fault occurs. In the event of an unsuccessful data transfer, the bus master should reattempt communication at a later time. Slave Address The MAX11014/MAX11015 have a 7-bit I 2 C slave address. The MSBs of the slave address are factory programmed to 0101. The logic state of address inputs A2, A1, and A0 determine the 3 LSBs of the device address (Figure 13). Connect A2, A1, and A0 to DVDD for a high logic state or DGND for a low logic state. Therefore, a maximum of eight MAX11014/MAX11015 devices can be connected on the same bus at one time. The MAX11014/MAX11015 continuously wait for a START condition followed by its slave address. When the device recognizes its slave address, it is ready to accept or send data depending on bit 8, the R/W bit. High-Speed Mode At power-up, the bus timing is set for fast mode (F/S mode, up to 400kHz I2C clock), which limits interface speed. Switch to high-speed mode (HS mode, up to 3.4MHz I2C clock) to increase interface speed. The interface is capable of supporting slow (up to 100kHz), fast (up to 400kHz), and high-speed (up to 3.4MHz) protocols. See Figure 14. ______________________________________________________________________________________ 27 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Transfer from F/S mode to HS mode by addressing all devices on the bus with the HS-mode master code 0000 1XXX (X = don’t care). After successfully receiving the HS-mode master code, the MAX11014/ MAX11015 issue a NACK, allowing SDA to be pulled high for one cycle. After the NACK, the MAX11014/MAX11015 operate in HS mode. Send a repeated START followed by a slave address to initiate HS-mode communication. If the master generates a STOP condition, the MAX11014/MAX11015 return to F/S mode. Use a repeated START condition in place of a STOP condition to leave the bus active and the mode unchanged. (Figure 13) and a write bit (R/W = 0). After writing the 8th bit, the MAX11014/MAX11015 (the slave) issue an acknowledge signal by pulling SDA low for one clock. Write the command byte to the slave after writing the slave address (C7–C0, MSB first). See Figures 15 and 17, Table 1, and the Command Byte section. Following the command byte, the slave issues another acknowledge signal, pulling SDA low for one clock cycle. After the command byte, write 2 data bytes, allowing for two additional acknowledge signals after each byte. The master ends the write cycle by issuing a STOP condition. When operating in HS mode, a STOP condition returns the bus to F/S mode. See the High-Speed Mode section. The MAX11014/MAX11015’s internal conversion clock frequency is 4.8MHz (typ), resulting in a typical conversion time of 4.6µs. Figure 15 shows a complete write cycle. Command Byte/Data Bytes (Write Cycle) Begin a write cycle by issuing a START condition (through the master), followed by 7 slave address bits HS-MODE MASTER CODE S = START. Sr = REPEATED START. S SDA 0 0 0 0 1 X X X A Sr SCL F/S MODE HS MODE Figure 14. F/S-Mode to HS-Mode Transfer MASTER TO SLAVE SLAVE TO MASTER S = START. ACK = ACKNOWLEDGE. P = STOP. Sr = REPEATED START. 4-BYTE WRITE CYCLE 1 S 7 SLAVE ADDRESS 11 A WC K 8 COMMAND BYTE 1 A C K 8 DATA BYTE 1 A C K 8 DATA BYTE 1 1 NUMBER OF BITS A C P OR Sr K MSB DETERMINES WHETHER TO READ OR WRITE TO REGISTERS. Figure 15. Write Cycle 28 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers Command Byte/Data Bytes (Read Cycle) Begin a read cycle by issuing a START condition followed by writing a 7-bit address (Figure 18) and a read bit (R/ W = 1). After writing the 8th bit, the MAX11014/MAX11015 (the slave) issue an acknowledge signal by pulling SDA low for one clock cycle. Write the command byte to the slave after writing the slave address (C7–C0, MSB first). See Figures 16, 18, 19, Table 1, and the Command Byte section. Following the command byte, the slave issues another acknowledge signal, pulling SDA low for one clock cycle. After writing the command byte, issue a repeated START condition, write the slave address byte again, and write a 9th bit for an acknowledge signal. After a third acknowledge signal, read out the 2 bytes at SDA. After reading the first byte, the master should send an acknowledge bit. After reading the second byte, the master should send a not-acknowledge bit followed by a STOP signal. Default Reads A standard I 2C read command involves writing the slave address, command byte, slave address byte again, and then reading the data at SDA. This is detailed in the 5-byte read cycle sequence in Figure 16. Read from the MAX11014/MAX11015 through the default read command to avoid writing a command byte and second slave address byte. See the default read sequence in Figure 16. Begin a default read cycle by writing the slave address byte followed by an acknowledge bit. Read out the next 2 data bytes, with acknowledge bits from the master to the slave following each byte. Continue to acknowledge the data by sending acknowledge signals. After reading the final byte, the master should send a notacknowledge bit followed by a STOP signal. The default read cycle reads out the data from the register (located in Table 2) of the previously assigned command byte. See Figure 18. This default read feature is useful for 2-wire reads to maximize the data throughput without having the overhead of setting the slave address and command byte each time. MAX11014/MAX11015 MASTER TO SLAVE SLAVE TO MASTER 5-BYTE READ CYCLE 1 S 7 SLAVE ADDRESS 11 A RC K 8 COMMAND BYTE 1 A C Sr K 7 SLAVE ADDRESS 11 A RC K 8 DATA BYTE 1 N A C K 8 DATA BYTE 1 1 NUMBER OF BITS N A C P OR Sr K MSB DETERMINES WHETHER TO READ OR WRITE TO REGISTERS DEFAULT READ CYCLE 1 S 7 SLAVE ADDRESS 11 A RC K 8 DATA BYTE 1 A C K 8 DATA BYTE 1 1 NUMBER OF BITS S = START. ACK = ACKNOWLEDGE. Sr = REPEATED START. P = STOP. NACK = NOT ACKNOWLEDGE. N A P OR Sr C K Figure 16. Read Cycle ______________________________________________________________________________________ 29 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 SCL SDA A6 A5 A4 A3 A2 A1 A0 R/W ACK R/W C6 C5 C4 C3 C2 C1 C0 ACK S SDA DIRECTION IN OUT IN OUT SCL SDA D15 D14 D13 D12 D11 D10 D9 D8 ACK D7 D6 D5 D4 D3 D2 D1 D0 ACK P SDA DIRECTION IN OUT IN OUT IN S = START. ACK = ACKNOWLEDGE. P = STOP. Figure 17. MAX11014/MAX11015 I2C Write Timing SCL SDA A6 A5 A4 A3 A2 A1 A0 R/W ACK R/W C6 C5 C4 C3 C2 C1 C0 ACK S SDA DIRECTION IN OUT IN OUT SCL SDA A6 A5 A4 A3 A2 A1 A0 R/W ACK D15 D14 D13 D12 D11 D10 D9 D8 ACK Sr SDA DIRECTION IN OUT IN SCL SDA D7 D6 D5 D4 D3 D2 D1 D0 NACK S = START. ACK = ACKNOWLEDGE. Sr = REPEATED START. P = STOP. NACK = NOT ACKNOWLEDGE. P SDA DIRECTION OUT IN Figure 18. MAX11014/MAX11015 I2C Read Timing 30 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 SCL SDA A6 A5 A4 A3 A2 A1 A0 R/W ACK R/W C6 C5 C4 C3 C2 C1 C0 ACK S SDA DIRECTION IN OUT, DATA FROM LAST READ COMMAND BYTE REGISTER IN SCL S = START. ACK = ACKNOWLEDGE. NACK = NOT ACKNOWLEDGE. P = STOP. SDA D7 D6 D5 D4 D3 D2 D1 D0 NACK P OUT IN SDA DIRECTION Figure 19. MAX11014/MAX11015 I2C Default Read Timing Command Byte Begin a write or read to the MAX11014/MAX11015 by writing a command byte at DIN/SDA. Set bit C7 to 1 for a read operation. Set bit C7 to 0 for a write operation. See Table 1. The remaining bits, C6–C0, determine the register accessed by the command byte. Table 2 indi- cates the register’s read/write access. C7 is the MSB of the command byte and C0 is the LSB. Following the command byte, write or read 2 data bytes to/from bits D15–D0. D15 is the MSB of the 2 data bytes and D0 is the LSB. See Figures 9, 10, 17, 18, and 19 and the Register Descriptions section. Table 1. Input Command Bits 24-BIT SERIAL INPUT WORD COMMAND BYTE MSB C7 R/W C6 C5 C4 C3 C2 C1 C0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DATA BITS LSB D0 ______________________________________________________________________________________ 31 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Table 2. Register Listing (see Appendix: Startup Code Example for sample startup sequence) REGISTER DESCRIPTION ADC Conversion ALARM Flag Register Channel 1 DAC Input Channel 1 DAC Input and Output Channel 1 High GATE Voltage ALARM Threshold Channel 1 High Sense Voltage ALARM Threshold Channel 1 High Temperature ALARM Threshold Channel 1 K Parameter Channel 1 Low GATE Voltage ALARM Threshold Channel 1 Low Sense Voltage ALARM Threshold Channel 1 Low Temperature ALARM Threshold Channel 1 VSET Channel 2 DAC Input Channel 2 DAC Input and Output Channel 2 High GATE Voltage ALARM Threshold Channel 2 High Sense Voltage ALARM Threshold Channel 2 High Temperature ALARM Threshold Channel 2 K Parameter Channel 2 Low GATE Voltage ALARM Threshold Channel 2 Low Sense Voltage ALARM Threshold Channel 2 Low Temperature ALARM Threshold Channel 2 VSET First-In First-Out Memory Flag Register Hardware ALARM Configuration Hardware Configuration LUT Address LUT Data PGA Calibration Control Shutdown Software ALARM Configuration Software Clear Software Configuration Software Load DAC MNEMONIC ADCCON ALMFLAG IPDAC1 THRUDAC1 VH1 IH1 TH1 USRK1 VL1 IL1 TL1 VSET1 IPDAC2 THRUDAC2 VH2 IH2 TH2 USRK2 VL2 IL2 TL2 VSET2 FIFO FLAG ALMHCFG HCFG LUTADD LUTDAT PGACAL SHUT ALMSCFG SCLR SCFG LDAC HEX CODE WRITE 62 — 48 4A 28 24 20 44 2A 26 22 40 4C 4E 34 30 2C 46 36 32 2E 42 — — 3C 38 7A 7C 5E 64 3E 74 3A 66 READ — F8 — — A8 A4 A0 — AA A6 A2 — — — B4 B0 AC — B6 B2 AE — 80 F6 BC B8 — FC — — BE — BA — Register Descriptions The MAX11014/MAX11015 communicate between the internal registers and external bus lines through the serial interface. Table 1 details the command bits (C7–C0) and the data bits (D15–D0) of the serial input word. Table 2 32 details the command byte and the subsequent register accessed. Tables 3–27 detail the various read and write internal registers and their power-on reset states. On power-up, the MAX11014/MAX11015 are in full power-down mode (see the SHUT (Write) section). To ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Table 3. TH1 and TH2 (Read/Write) BIT RESET STATE BIT VALUE (°C) D15 X X D14 X X D13 X X D12 X X D11 0 MSB (sign) D10 1 128 D9 1 64 D8 1 32 D7 1 16 D6 1 8 D5 1 4 D4 1 2 D3 1 1 D2 1 0.5 D1 1 0.25 D0 1 LSB 0.125 X = Don’t care. Table 4. High/Low Temperature ALARM Threshold Examples TEMPERATURE SETTING -40°C -1.625°C 0°C +27.125°C +105°C DATA BITS D11–D0 (TWO’S COMPLEMENT) 1110 1100 0000 1111 1111 0011 0000 0000 0000 0000 1101 1001 0011 0100 1000 Table 5. TL1 and TL2 (Read/Write) BIT RESET STATE BIT VALUE (°C) D15 X X D14 X X D13 X X D12 X X D11 1 MSB (sign) D10 0 128 D9 0 64 D8 0 32 D7 0 16 D6 0 8 D5 0 4 D4 0 2 D3 0 1 D2 0 0.5 D1 0 0.25 D0 0 LSB 0.125 X = Don’t care. change to normal power mode, write two commands to the shutdown register. Set the FULLPD bit to 0 (other bits in the shutdown register are ignored) on the first command. A second command to this register activates the internal blocks. TH1 and TH2 (Read/Write) Set the external channel 1 and channel 2 high temperature ALARM thresholds by writing command bytes 20h and 2Ch, respectively. Following the command byte, write 12 bits of data to bits D11–D0. Read the high temperature channel 1 and channel 2 ALARM thresholds by writing command bytes A0h and ACh, respectively. Following the command byte, read 12 bits of data from bits D11–D0. Bits D15–D12 are don’t care. Temperature data must be written and read in two’s-complement format, with the LSB corresponding to +0.125°C. See Table 3. The POR value of the high temperature ALARM threshold registers is 0111 1111 1111, which corresponds to +255.875°C. See Table 4 for examples of channel 1/channel 2 high and low temperature threshold settings. See Figures 25 and 27 for ALARM examples. TL1 and TL2 (Read/Write) Set the external channel 1 and channel 2 low temperature ALARM thresholds by writing command bytes 22h and 2Eh, respectively. Following the command byte, write 12 bits of data to bits D11–D0. Read the low temperature channel 1 and channel 2 ALARM thresholds by writing command bytes A2h and AEh, respectively. Following the command byte, read 12 bits of data from bits D11–D0. Bits D15–D12 are don’t care. Temperature data must be written and read in two’s-complement format, with the LSB corresponding to +0.125°C. See Table 5. The POR value of the low temperature ALARM threshold registers is 1000 0000 0000, which corresponds to -256.0°C. See Figures 25 and 27 for ALARM examples. IH1 and IH2 (Read/Write) Set the channel 1 and channel 2 high sense voltage ALARM thresholds by writing command bytes 24h and 30h, respectively. Following the command byte, write 12 bits of data to bits D11–D0. Read the high sense voltage channel 1 and channel 2 ALARM thresholds by writing command bytes A4h and B0h, respectively. 33 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Table 6. IH1 and IH2 (Read/Write) BIT RESET STATE D15 X D14 X X D13 X X D12 X X D11 1 MSB D10 1 — D9 1 — D8 1 — D7 1 — D6 1 — D5 1 — D4 1 — D3 1 — D2 1 — D1 1 — D0 1 LSB BIT VALUE X X = Don’t care. Table 7. IL1 and IL2 (Read/Write) BIT RESET STATE BIT VALUE D15 X X D14 X X D13 X X D12 X X D11 0 MSB D10 0 — D9 0 — D8 0 — D7 0 — D6 0 — D5 0 — D4 0 — D3 0 — D2 0 — D1 0 — D0 0 LSB X = Don’t care. Table 8. VH1 and VH2 (Read/Write) BIT RESET STATE BIT VALUE D15 X X D14 X X D13 X X D12 X X D11 1 MSB D10 1 — D9 1 — D8 1 — D7 1 — D6 1 — D5 1 — D4 1 — D3 1 — D2 1 — D1 1 — D0 1 LSB X = Don’t care. Following the command byte, read 12 bits of data from bits D11–D0. Bits D15–D12 are don’t care. Sense voltage data must be written and read in straight binary format. See Table 6. The POR value of the high sense voltage ALARM threshold registers is 1111 1111 1111. See Figures 25 and 27 for ALARM examples. The sense voltage is measured between RCS_+ and RCS_-. A reading of 1111 1111 1111 corresponds to V REFDAC / 4. A reading of 0000 0000 0000 corresponds to 0mV. IL1 and IL2 (Read/Write) Set the channel 1 and channel 2 low sense voltage ALARM thresholds by writing command bytes 26h and 32h, respectively. Following the command byte, write 12 bits of data to bits D11–D0. Read the low sense voltage channel 1 and channel 2 ALARM thresholds by writing command bytes A6h and B2h, respectively. Following the command byte, read 12 bits of data from bits D11–D0. Bits D15–D12 are don’t care. Sense voltage data must be written and read in straight binary format. See Table 7. The POR value of the low sense voltage ALARM threshold registers is 0000 0000 0000. See Figures 25 and 27 for ALARM examples. The sense voltage is measured between RCS_+ and RCS_-. A reading of 1111 1111 1111 corresponds to V REFDAC / 4. A reading of 0000 0000 0000 corresponds to 0mV. 34 VH1 and VH2 (Read/Write) Set the channel 1 and channel 2 high GATE voltage ALARM thresholds by writing command bytes 28h and 34h, respectively. Following the command byte, write 12 bits of data to bits D11–D0. Read the high GATE voltage channel 1 and channel 2 ALARM thresholds by writing command bytes A8h and B4h, respectively. Following the command byte, read 12 bits of data from bits D11–D0. Bits D15–D12 are don’t care. Voltage data must be written and read in straight binary format. See Table 8. The POR value of the high GATE voltage ALARM threshold registers is 1111 1111 1111. See Figure 7 for a GATE voltage example. See Figures 25 and 27 for ALARM examples. VL1 and VL2 (Read/Write) Set the channel 1 and channel 2 low GATE voltage ALARM thresholds by writing command bytes 2Ah and 36h, respectively. Following the command byte, write 12 bits of data to bits D11–D0. Read the low GATE voltage channel 1 and channel 2 ALARM thresholds by writing command bytes AAh and B6h, respectively. Following the command byte, read 12 bits of data from bits D11–D0. Bits D15–D12 are don’t care. Voltage data must be written and read in straight binary format. See Table 9. The POR value of the low GATE voltage ALARM threshold registers is 0000 0000 0000. See Figure 7 for a GATE voltage example. See Figures 25 and 27 for ALARM examples. ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Table 9. VL1 and VL2 (Read/Write) BIT RESET STATE BIT VALUE D15 X X D14 X X D13 X X D12 X X D11 0 MSB D10 0 — D9 0 — D8 0 — D7 0 — D6 0 — D5 0 — D4 0 — D3 0 — D2 0 — D1 0 — D0 0 LSB X = Don’t care. Table 10. HCFG (Read/Write) BIT NAME X CH2OCM1 CH2OCM0 CH1OCM1 CH1OCM0 X DATA BIT D15–D12 D11 D10 D9 D8 D7 RESET STATE X 0 0 0 0 X Don’t care. Maximum GATE2 voltage control bits. Maximum GATE1 voltage control bits. Don’t care. ADC monitor bit. Set to 1 to load ADC results into the FIFO. Set to 0 to not load any ADC results into the FIFO. The value of ADCMON does NOT affect whether the results from any particular ADC conversion are checked against ALARM limits or examined for changes to the VDAC(CODE) equations. Clock mode and CNVST configuration bits. ADC reference select bits. DAC reference select bits. FUNCTION ADCMON D6 0 CKSEL1 CKSEL0 ADCREF1 ADCREF0 DACREF1 DACREF0 D5 D4 D3 D2 D1 D0 0 0 0 0 0 0 HCFG (Read/Write) Select each channel’s maximum GATE voltage, clock mode, ADC monitoring, DAC and ADC reference modes by setting bits D11–D0 in the hardware configuration register. Set the command byte to 38h to write to the hardware configuration register. Set the command byte to B8h to read from the hardware configuration register. Bits D15–D12 are don’t care. Set the CH2OCM1/0 bits, D11 and D10, to determine the maximum positive GATE2 output voltage. Set the CH1OCM1/0 bits, D9 and D8, to determine the maximum positive GATE1 output voltage. See Table 10. Set the ADCMON bit, D6, to 1 to load the ADC results into the FIFO. Set ADCMON to 0 to not load ADC results into the FIFO. Set the CKSEL1/0 bits, D5 and D4, to determine the conversion and acquisition timing clock modes. See Table 10b. Also, see the Internally Timed Acquisitions and Conversions and the Externally Timed Acquisitions and Conversions sections. Set the ADCREF1/0 bits, D3 and D2, to determine the ADC reference source. See Table 10c. Set the DACREF1/0 bits, D1 and D0, to determine the DAC reference source. See Table 10d. SCFG (Read/Write) Write to the software configuration register to determine whether a VDAC(CODE) calculation value is loaded to the DAC input register or DAC input and output register. This register also sets the control modes for the K parameter and temperature lookup values in the VDAC(CODE) calculation. Set the command byte to 3Ah to write to the software configuration register. Set the command byte to BAh to read from the software configuration register. ______________________________________________________________________________________ 35 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Table 10a. Maximum GATE_ Voltage Modes CH_OCM1 0 0 1 1 CH_OCM0 0 1 0 1 FUNCTION Maximum positive voltage at GATE_ = AGND. Maximum positive voltage at GATE_ = AGND + 250mV. Maximum positive voltage at GATE_ = AGND + 500mV. Maximum positive voltage at GATE_ = AGND + 750mV. Table 10b. Clock Modes CKSEL1 CKSEL0 CONVERSION CLOCK Internal ACQUISITION/SAMPLING Internally timed acquisitions and conversions. Default state. Begin a conversion by writing to the ADC conversion register to convert all channels specified in this register. Internally timed acquisitions and conversions. Begin a conversion by pulling CNVST low only once for at least 20ns to convert all of the channels selected in the ADC conversion register. Do not use. Externally timed single acquisitions. Conversions internally timed. Begin each individual conversion by pulling CNVST low for each channel converted. See the Electrical Characteristics table for CNVST timing. The MAX11014/MAX11015 acquire while CNVST is low and sample when CNVST returns high. 0 0 0 1 1 0 Internal Reserved 1 1 Internal Table 10c. ADC Reference Modes ADCREF1 0 1 1 ADCREF0 X 0 1 ADC VOLTAGE REFERENCE External. Bypass REFADC with a 0.1µF capacitor to AGND. Internal. Leave REFADC unconnected. Internal. Bypass REFADC with a 0.1µF capacitor to AGND for better noise performance. X = Don’t care. Table 10d. DAC Reference Modes DACREF1 0 1 1 DACREF0 X 0 1 DAC VOLTAGE REFERENCE External. Bypass REFDAC with a 0.1µF capacitor to AGND. Internal. Leave REFDAC unconnected. Internal. Bypass REFDAC with a 0.1µF capacitor to AGND for better noise performance. X = Don’t care. Bits D15–D12 of the software configuration register are don’t care. Set the LDAC2 bit, D11, to 1 to load the new value of VDAC2, upon completion of a VDAC2(CODE) calculation, into both the channel 2 DAC input and output registers. See Figure 20. Set to 0 to load the new value of VDAC2, upon completion of a VDAC2(CODE) calculation, to only the channel 2 DAC input register. 36 Set the T2COMP1/0 bits, D10 and D9, to control the channel 2 temperature LUT. See Table 11a. Set the KSRC2-2/1/0 bits, D8, D7, and D6, to control the channel 2 K parameter LUT. See Table 11b and the SRAM LUTs section. ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers Set the LDAC1 bit, D5, to 1 to load the new value of VDAC1, upon completion of a VDAC1(CODE) calculation, into both the channel 1 DAC input and output registers. Set to 0 to load the new value of VDAC1, upon completion of a VDAC1(CODE) calculation, to only the channel 1 DAC input register. Set the T1COMP1/0 bits, D4 and D3, to control the channel 1 temperature LUT. See Table 11a. Set the KSRC1-2/1/0 bits, D2, D1, and D0 to control the channel 1 K parameter LUT. See Table 11b and the SRAM LUTs section. Set the channel 1/channel 2 DAC code by writing to the respective channel’s DAC input registers, DAC input and output registers, or VSET registers. Write to the DAC input registers (Table 16) and use a subsequent write to the software load DAC register (Table 21) to control the timing of the update. Write to the DAC input and output registers (Table 17) to set the DAC output voltage code directly, independent of the software load DAC register bits. Write to the VSET registers (Table 14) to include LUT data in the DAC code. Writing to the VSET registers triggers a VDAC(CODE) calculation by the following equation: VDAC(CODE) = VSET(CODE) (1 + LUTK [K] x LUTTEMP [TEMP]) LUT K[K] = The interpolated, fractional 12-bit KLUT value. The KLUT data is derived from a variety of sources, including the VSET register value, the K parameter register value, or various ADC channels. See the SRAM LUTs section. LUTTEMP[TEMP] = The interpolated, fractional 12-bit two’s-complement temperature LUT value. The temperature LUT data is derived from either internal or external temperature values.See the SRAM LUTs section. When the KSRC_-2/KSRC_-1/KSRC_-0 bits are set to 000 and T_COMP1/T_COMP0 bits are set to 00 or 01, the VDAC(CODE) equation simplifies to: VDAC(CODE) = VSET(CODE) Note: This is a special case and will not trigger a VGATE calculation unless a sample already exists. This functionality should be accessed by the THRUDAC registers. For temperature samples or sampled KLUT sources to automatically trigger VDAC(CODE) calculations, the ADC must be configured to provide these samples. Therefore, the ADC conversion register (Table 19) must have the relevant channel bits set and the ADC must be in a suitable clocking mode, regardless of the ADCMON bit setting. MAX11014/MAX11015 where VDAC(CODE) = The modified channel1/channel 2 12-bit DAC code. VSET(CODE) = The 12-bit DAC code written to the channel 1/channel 2 VSET registers. CHANNEL 1/CHANNEL 2 DAC INPUT REGISTERS: LDAC REGISTER (IPDAC1/IPDAC2 THRUDAC1/THRUDAC2) CHANNEL 1/CHANNEL 2 DAC INPUT AND OUTPUT REGISTERS: CHANNEL 1/ CHANNEL 2 DAC OUTPUT VOLTAGE (THRUDAC1/ THRUDAC2) VDAC CALCULATION LDAC_ BITS SET TO 1 IN SCFG REGISTER Figure 20. DAC Register Format ______________________________________________________________________________________ 37 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Table 11. SCFG (Read/Write) BIT NAME X DATA BIT D15–D12 RESET STATE X Don’t care. Channel 2 load DAC. Set to 1 to load the new value of VDAC2(CODE), upon completion of a VDAC2(CODE) calculation, into both the channel 2 DAC input and output registers. When set to 1, BUSY pulses high after a new VDAC2 output is calculated. Set to 0 to load the new value of VDAC2(CODE), upon completion of a VDAC2(CODE) calculation, to only the channel 2 DAC input register. When set to 0, set the DACCH2 bit high in the software load DAC register to transfer the VDAC(CODE) calculation value from the DAC input register to the DAC output. Channel 2 temperature LUT control bits. FUNCTION LDAC2 D11 0 T2COMP1 T2COMP0 KSRC2-2 KSRC2-1 KSRC2-0 D10 D9 D8 D7 D6 0 0 0 0 0 Channel 2 KLUT control bits. Channel 1 load DAC. Set to 1 to load the new value of VDAC1, upon completion of a VDAC1(CODE) calculation, into both the channel 1 DAC input and output registers. When set to 1, BUSY pulses high after a new VDAC1 output is calculated. Set to 0 to load the new value of VDAC1, upon completion of a VDAC1(CODE) calculation, to only the channel 1 DAC input register. When set to 0, set the DACCH1 bit high in the software load DAC register to transfer the VDAC(CODE) calculation value from the DAC input register to the DAC output. Channel 1 temperature LUT control bits. LDAC1 D5 0 T1COMP1 T1COMP0 KSRC1-2 KSRC1-1 KSRC1-0 D4 D3 D2 D1 D0 0 0 0 0 0 Channel 1 KLUT control bits. 38 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Table 11a. Channel 1/Channel 2 Temperature LUT Control Modes T_COMP1 0 T_COMP0 0 FUNCTION A change in temperature does not trigger a VDAC(CODE) calculation. Any VDAC(CODE) calculation triggered in another way does not include the temperature lookup. This bit setting simplifies the VDAC(CODE) calculation to VDAC(CODE) = VSET(CODE) (1 + LUTK[K]). A change in temperature does not trigger a VDAC(CODE) calculation. Any VDAC(CODE) calculation triggered in another way does not include the temperature lookup. This bit setting simplifies the VDAC(CODE) calculation to VDAC(CODE) = VSET(CODE) (1 - LUTK[K]). A change in the channel 1/channel 2 external temperature sensor reading triggers a VDAC(CODE) calculation for the corresponding DAC channel. When a VDAC(CODE) calculation is triggered, the calculation includes the temperature lookup function. A change in the internal temperature sensor reading triggers a VDAC(CODE) calculation for the corresponding channel. When a VDAC(CODE) calculation is triggered, the calculation includes the temperature lookup function. 0 1 1 0 1 1 Table 11b. Channel 1/Channel 2 KLUT Control Modes KSRC_-2 0 KSRC_-1 0 KSRC_-0 0 FUNCTION No KLUT operations performed. This bit setting simplifies the VDAC(CODE) calculation to: VDAC(CODE) = VSET(CODE) (1 + LUTTEMP[TEMP]) The VDAC(CODE) calculation simplifies to: VDAC(CODE) = VSET(CODE) (1 + LUTK[VSET] x LUTTEMP[TEMP]) The VDAC(CODE) calculation simplifies to: VDAC(CODE) = VSET(CODE) (1 - LUTK[USRK] x LUTTEMP[TEMP]) The VDAC(CODE) calculation simplifies to: VDAC(CODE) = VSET(CODE) (1 + LUTK[sense voltage] x LUTTEMP[TEMP]) The VDAC(CODE) calculation simplifies to: VDAC(CODE) = VSET(CODE) (1 + LUTK[ADCIN_] x LUTTEMP[TEMP]) The VDAC(CODE) calculation simplifies to: VDAC(CODE) = VSET(CODE) + USRK x LUTK[VSET] x LUTTEMP[TEMP] The VDAC(CODE) calculation simplifies to: VDAC(CODE) = VSET(CODE) + USRK x LUTK[sense voltage] x LUTTEMP[TEMP] The VDAC(CODE) calculation simplifies to: VDAC(CODE) = VSET(CODE) + USRK x LUTK[ADCIN_] x LUTTEMP[TEMP] 0 0 0 1 1 1 1 0 1 1 0 0 1 1 1 0 1 0 1 0 1 ______________________________________________________________________________________ 39 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Table 12. ALMHCFG (Read/Write) BIT NAME X INTEMP DATA BIT D15–D12 D11 RESET STATE X 0 Don’t care. Internal temperature conversion bit. Set to 1 to cause ALARM comparisons for channel 2 to use the internal temperature conversion result. Set to 0 to cause ALARM comparisons for channel 2 to use the external temperature conversion result. ALARM comparator bit. Set to 1 to configure the ALARM output in comparator mode. Set to 0 to configure the ALARM output in interrupt mode. GATE voltage hysteresis bits. The VGHYST_ bits control the built-in hysteresis level when using the ALARM function in windowing mode for GATE voltage measurements. The same value is used for the GATE voltage ALARM measurements in both channels. Sense voltage/temperature hysteresis bits. The ITHYST_ bits control the built-in hysteresis level when using the ALARM function in windowing mode for sense voltage and temperature measurements. The same value is used for the sense voltage and temperature ALARM measurements in both channels. Channel 2 ALARM clamp bits. Channel 1 ALARM clamp bits. ALARM polarity bit. Set to 1 to force the ALARM output to be active-low. Set to 0 to force the ALARM output to be active-high. ALARM open-drain/push-pull output bit. Set to 1 to configure the ALARM output as open-drain. An external pullup or pulldown resistor is required. Multiple ALARM outputs can be wired together onto a single line in open-drain mode. Set to 0 to configure the ALARM output as a push-pull output (no external resistor required). FUNCTION ALMCMP VGHYST1 VGHYST0 ITHYST1 ITHYST0 ALM2CLMP1 ALM2CLMP0 ALM1CLMP1 ALM1CLMP0 ALMPOL D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 0 0 0 0 0 0 0 0 0 0 ALMOPN D0 0 ALMHCFG (Read/Write) The hardware ALARM configuration register controls the active states of the ALARM output. Set the command byte to 3Ch to write to the hardware ALARM configuration register. Set the command byte to BCh to read the hardware ALARM configuration register. Bits D15–D12 are don’t care. Set the INTEMP bit, D11, to 1 to cause ALARM comparisons for channel 2 to use the internal temperature conversion result. Set the ALMCMP bit, D10, to 1 to set the ALARM output in comparator mode. Set ALMCMP to 0 to set the ALARM output in interrupt mode. See Figure 25. When operating in windowing mode, set the VGHYST1/0 bits, D9 and D8, to control the GATE_ voltage ALARM hysteresis level. This hysteresis level applies to both channel 1 and channel 2. See Table 12a and Figure 25. When operating in windowing 40 mode, set the ITHYST1/0 bits, D7 and D6, to control the sense voltage and temperature ALARM hysteresis level. This hysteresis level applies to both channel 1 and channel 2. See Table 12b. Set the ALM2CLMP1/0 bits, D5 and D4, to control whether or not the GATE2 output is clamped to the external voltage at ACLAMP2. See Table 12c. Set the ALM1CLMP1/0 bits, D3 and D2, to control whether or not the GATE1 output is clamped to the external voltage at ACLAMP1. See Table 12c and the Automatic GATE Clamping section. Set the ALMPOL bit, D1, to 1 make the ALARM output active-low. Set ALMPOL to 0 to make the ALARM output active-high. Set the ALMOPN bit, D0, to 1 to make the ALARM output an open-drain output. Set ALMOPN to 0 to force the ALARM output to be push-pull. ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Table 12a. GATE Voltage Hysteresis Levels VGHYST1 0 0 1 1 VGHYST0 0 1 0 1 FUNCTION 8 LSBs of hysteresis. 16 LSBs of hysteresis. 32 LSBs of hysteresis. 64 LSBs of hysteresis. Table 12b. Sense Voltage/Temperature Hysteresis Levels ITHYST1 0 0 1 1 ITHYST0 0 1 0 1 8 LSBs of hysteresis. 16 LSBs of hysteresis. 32 LSBs of hysteresis. 64 LSBs of hysteresis. FUNCTION Table 12c. ALARM Clamp Modes ALM_CLMP1 0 ALM_CLMP0 0 FUNCTION Default state. The GATE_ outputs are clamped to the respective external voltage applied at ACLAMP_ independent of alarms. GATE_ remains clamped until this register value is changed or a software clear command is issued. The corresponding ALARM bit in the ALARM flag register goes high if an ALARM condition is triggered by a conversion of sense voltage, temperature, or GATE_ voltage. However, the GATE_ outputs are not clamped. Fully automatic clamping. The GATE_ outputs are clamped to the respective external voltage applied at ACLAMP_ when an ALARM condition is triggered. The clamp is removed if a subsequent temperature or sense voltage conversion removes the ALARM condition. GATE_ remains clamped when a GATE_ voltage ALARM is triggered. For a GATE_ voltage ALARM, ALM_CLMP 10 mode functions the same as 11 mode. This exception breaks the feedback loop created by sampling GATE_ voltage and then clamping the same signal. Semi-automatic clamping. The GATE_ outputs are clamped to the respective external voltage applied at ACLAMP_ when an ALARM condition is triggered. If an ALARM condition is triggered, the ALM_CLMP bits are overwritten to 00, causing a permanent clamp condition. Clear this permanent clamp condition with a subsequent write to reset the ALM_CLMP bits. 0 1 1 0 1 1 ALMSCFG (Read/Write) The software ALARM configuration register controls which voltage and temperature channels trigger the ALARM output and whether the ALARM comparators operate in windowing or hysteresis mode. Set the command byte to 3Eh to write to the software ALARM configuration register. Set the command byte to BEh to read the software ALARM configuration register. Bits D15–D12 are don’t care. Set the VALARM2 bit, D11, to 1 to enable ALARM functionality for GATE2 voltage measurements. Set the VWIN2 bit, D10, to 1 to monitor the GATE2 voltage with the ALARM comparator in windowing mode. Set VWIN2 to 0 to monitor the GATE2 voltage with the ALARM comparator in hysteresis mode. Set the TALARM2 bit, D9, to 1 to enable ALARM functionality for channel 2 temperature measurements. Set the TWIN2 bit, D8, to 1 to monitor the channel 2 temperature with the ALARM comparator in windowing mode. Set TWIN2 to 0 to monitor the channel 2 temperature with the ALARM comparator in hysteresis mode. Set the IALARM2 bit, D7, to 1 to enable ALARM functionality for channel 2 sense voltage (RCS2+ to RCS2-) measurements. Set the IWIN2 bit, D6, to 1 to monitor the channel 2 sense voltage with the ALARM comparator in windowing mode. Set IWIN2 to 0 to monitor the channel 2 sense voltage with the ALARM comparator in hysteresis mode. ______________________________________________________________________________________ 41 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Table 13. ALMSCFG (Read/Write) BIT NAME X VALARM2 DATA BIT D15–D12 D11 RESET STATE X 0 Don’t care. Channel 2 GATE voltage ALARM bit. Set to 1 to enable the ALARM functionality for GATE2 voltage measurements. Set to 0 to disable the ALARM functionality for GATE2 voltage measurements. Channel 2 GATE voltage windowing bit. Set to 1 to monitor the GATE2 voltage with the ALARM comparator in windowing mode. Set to 0 to monitor the GATE2 voltage with the ALARM comparator in hysteresis mode. Channel 2 temperature ALARM bit. Set to 1 to enable the ALARM functionality for channel 2 temperature measurements. Set to 0 to disable the ALARM functionality for channel 2 temperature measurements. Channel 2 temperature windowing bit. Set to 1 to monitor the channel 2 temperature with the ALARM comparator in windowing mode. Set to 0 to monitor the channel 2 temperature with the ALARM comparator in hysteresis mode. Channel 2 sense voltage ALARM bit. Set to 1 to enable the ALARM functionality for channel 2 sense voltage measurements. Set to 0 to disable the ALARM functionality for channel 2 sense voltage measurements. Channel 2 sense voltage windowing bit. Set to 1 to monitor the channel 2 sense voltage with the ALARM comparator in windowing mode. Set to 0 to monitor the channel 2 sense voltage with the ALARM comparator in hysteresis mode. Channel 1 GATE voltage ALARM bit. Set to 1 to enable the ALARM functionality for GATE1 voltage measurements. Set to 0 to disable the ALARM functionality for GATE1 voltage measurements. Channel 1 GATE voltage windowing bit. Set to 1 to monitor the GATE1 voltage with the ALARM comparator in windowing mode. Set to 0 to monitor the GATE1 voltage with the ALARM comparator in hysteresis mode. Channel 1 temperature ALARM bit. Set to 1 to enable the ALARM functionality for channel 1 temperature measurements. Set to 0 to disable the ALARM functionality for channel 1 temperature measurements. Channel 1 temperature windowing bit. Set to 1 to monitor the channel 1 temperature with the ALARM comparator in windowing mode. Set to 0 to monitor the channel 1 temperature with the ALARM comparator in hysteresis mode. Channel 1 sense voltage ALARM bit. Set to 1 to enable the ALARM functionality for channel 1 sense voltage measurements. Set to 0 to disable the ALARM functionality for channel 1 sense voltage measurements. Channel 1 sense voltage windowing bit. Set to 1 to monitor the channel 1 sense voltage with the ALARM comparator in windowing mode. Set to 0 to monitor the channel 1 sense voltage with the ALARM comparator in hysteresis mode. FUNCTION VWIN2 D10 0 TALARM2 D9 0 TWIN2 D8 0 IALARM2 D7 0 IWIN2 D6 0 VALARM1 D5 0 VWIN1 D4 0 TALARM1 D3 0 TWIN1 D2 0 IALARM1 D1 0 IWIN1 D0 0 42 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Table 14. VSET1 and VSET2 (Write) BIT NAME X VSET11–VSET0 DATA BIT D15–D12 D11–D0 RESET STATE X 0000 0000 0000 Don’t care. VSET11 is the MSB and VSET0 is the LSB. Data format is straight binary. FUNCTION Table 15. USRK1 and USRK2 (Write) BIT NAME X K11–K0 DATA BIT D15–D12 D11–D0 RESET STATE X N/A Don’t care. K11 is the MSB and K0 is the LSB. Data format is straight binary. FUNCTION Set the VALARM1 bit, D5, to 1 to enable ALARM functionality for GATE1 voltage measurements. Set the VWIN1 bit, D4, to 1 to monitor the GATE1 voltage with the ALARM comparator in windowing mode. Set VWIN1 to 0 to monitor the GATE1 voltage with the ALARM comparator in hysteresis mode. Set the TALARM1 bit, D3, to 1 to enable ALARM functionality for channel 1 temperature measurements. Set the TWIN1 bit, D2, to 1 to monitor the channel 1 temperature with the ALARM comparator in windowing mode. Set TWIN1 to 0 to monitor the channel 1 temperature with the ALARM comparator in hysteresis mode. Set the IALARM1 bit, D1, to 1 to enable ALARM functionality for channel 1 sense voltage (RCS1+ to RCS1-) measurements. Set the IWIN1 bit, D0, to 1 to monitor the channel 1 sense voltage with the ALARM comparator in windowing mode. Set IWIN1 to 0 to monitor the channel 1 sense voltage with the ALARM comparator in hysteresis mode. USRK1 and USRK2 (Write) Write to the channel 1/channel 2 K parameter registers to set the LUTK[K] code in the VDAC(CODE) equation. The K parameter register value is loaded into the VDAC(CODE) equation when the KSRC_ bits in the software configuration register are set to 010, 101, 110, or 111. See Table 11b. Use the K parameter as an index to the KLUT or as a multiplier for the VDAC(CODE) equation in place of VSET(CODE) by writing to the software configuration register. See Table 11. Set the command byte to 44h to write to the channel 1 K parameter register. Set the command byte to 46h to write to the channel 2 K parameter register. See Table 15. Bits D15–D12 are don’t care. Bits D11–D0 contain the straight binary data. IPDAC1 and IPDAC2 (Write) Write to the channel 1/channel 2 DAC input registers to load the DAC code and bypass a VDAC(CODE) calculation. Transfer the code written to the DAC input registers to the channel 1/channel 2 DAC output registers by setting the corresponding DACCH_ bit high in the software load DAC register. Set the command byte to 48h and 4Ch, respectively, to write to the channel 1/channel 2 DAC input registers. See Table 16. Bits D15–D12 are don’t care. Bits D11–D0 contain the straight binary data. Writing to these registers overwrites any previous values loaded from the VDAC(CODE) calculation. VSET1 and VSET2 (Write) Write to the channel 1/channel 2 VSET registers to set the V SET(CODE) code in the V DAC(CODE) equations. Writing to these registers triggers a VDAC(CODE) calculation. That code is then loaded into either the channel 1/channel 2 DAC input register or channel 1/channel 2 DAC input and output register, depending on the state of the LDAC1/LDAC2 bits in the software configuration register. Set the command byte to 40h to write to the channel 1 VSET register. Set the command byte to 42h to write to the channel 2 VSET register. See Table 14. Bits D15–D12 are don’t care. Bits D11–D0 contain the straight binary data. ______________________________________________________________________________________ 43 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Table 16. IPDAC1 and IPDAC2 (Write) BIT NAME X DAC11–DAC0 DATA BIT D15–D12 D11–D0 RESET STATE X 0000 0000 0000 Don’t care. DAC11 is the MSB and DAC0 is the LSB. Data format is straight binary. FUNCTION Table 17. THRUDAC1 and THRUDAC2 (Write) BIT NAME X DAC11–DAC0 DATA BIT D15–D12 D11–D0 RESET STATE X N/A Don’t care. DAC11 is the MSB and DAC0 is the LSB. Data format is straight binary. FUNCTION Table 18. PGACAL (Write) BIT NAME X HVCAL2 DATA BIT D15–D5 D4 RESET STATE X 0 Don’t care. Channel 2 high-side calibration bit. Set to 1 to short circuit the currentsense amplifier inputs so that only the offset is apparent at the PGAOUT2 output and the channel 2 current-sense conversion. Channel 1 high-side calibration bit. Set to 1 to short circuit the currentsense amplifier inputs so that only the offset is apparent at the PGAOUT1 output and the channel 1 current-sense conversion. Acquisition/tracking bit. Set to 0 to force the next current-sense calibration to run in acquisition mode. Set to 1 to force the next calibration to run in tracking mode. Set TRACK to 0 the first time through a calibration. Dual calibration bit. Set to 1 to run a current-sense self-calibration routine in both channels 1 and 2. At the end of the calibration routine, DOCAL is set to 0. When DOCAL and SELFTIME are both set to 1, the internal timer is reset at the end of the routine and waits another 13ms before performing the next self-timed calibration. Self-time bit. Set to 1 to perform a calibration of the current-sense amplifier in both channels 1 and 2 on a self-timed periodic basis (approximately every 15ms). When set to the default state of 0, calibration only occurs when DOCAL is set to 1. FUNCTION HVCAL1 D3 0 TRACK D2 0 DOCAL D1 0 SELFTIME D0 0 THRUDAC1 and THRUDAC2 (Write) Write to the channel 1/channel 2 DAC input and output registers to load the DAC code directly to the respective DAC output and bypass a VDAC(CODE) calculation. Set the command byte to 4Ah and 4Eh, respectively, to write to the channel 1/channel 2 DAC input and output registers. See Table 17. Bits D15–D12 are don’t care. Bits D11–D0 contain the straight binary data. Writing to these registers overwrites any previous values loaded from the VDAC(CODE) calculation. PGACAL (Write) Write to the PGA calibration control register to calibrate the channel 1 and channel 2 current-sense amplifiers. Set the command byte to 5Eh to write to the PGA calibration control register. See Table 18. Bits D15–D5 are don’t care. Set the HVCAL2 bit, D4, to 1 to short circuit the channel 2 current-sense amplifier inputs so that only the offset is apparent at the PGAOUT2 output. Set the HVCAL1 bit, D3, to 1 short circuit the channel 1 current-sense amplifier inputs so that only the offset is apparent at the PGAOUT1 output. Determine the input channel offset (+12mV, typ) by setting the HVCAL_bits and commanding a sense-voltage ADC conversion. 44 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers The current-sense calibration routine offers two operation modes: acquisition and tracking. In acquisition mode, the calibration routine operates continuously until the error is minimized to 50µV or less. In tracking mode, the routine operates every 15ms to minimize interference and allow the calibration routine more averaging time. A sample-and-hold circuit prevents switching noise on GATE_ during tracking mode. Set the TRACK bit, D2, to 0 to run the calibration routine in acquisition mode. Set TRACK to 1 to run the calibration routine in tracking mode. Set TRACK to 0 for the first calibration. Set the DOCAL bit, D1, to 1 to run a current-sense self-calibration routine in both channel 1 and channel 2. At the end of the calibration routine, DOCAL is set back to 0. Set the SELFTIME bit, D0, to 1 to perform a current-sense calibration on a periodic basis, typically every 15ms. Use the DOCAL bit in conjunction with the SELFTIME bit. When a calibration routine is commanded by DOCAL, and SELFTIME is set to 1, the internal timer is reset at the end of the routine and waits another 15ms before performing the next self-timed calibration. The self-calibration routine can be commanded when the DACs are powered down, but the results are not accurate. For best results, run the calibration after the DAC power-up time, tDPUEXT. Convert any combination of ADC channels through the ADC conversion register. When requesting a conversion of more than one channel, the channels are converted in numerical order from CH0 to CH10. Setting the CONCONV bit to 1 may cause the FIFO to overflow if data is not read out quickly enough. Continuous-conversion mode is only available in clock modes 00 and 01. See the Clock Mode 00 and Clock Mode 01 sections. The ADC does not trigger a busy signal when the CONCONV bit is set. If a temperature channel is included in the scan when CONCONV is set, the internal reference and temperature sensor remain powered up until CONCONV is set to 0. Similarly, if an ADC measurement using the internal reference is included in the scan, the internal reference is turned on prior to the first conversion and remains on until CONCONV is set to 0. In clock modes 00 and 01, when the CONCONV bit is set to 0 and the current scan (not just the current conversion) is completed, the ADC goes to an idle state awaiting the next command. The BUSY output is set high when the CONCONV bit is set to 0 and remains high until the current scan is completed. See the BUSY Output section. MAX11014/MAX11015 ADCCON (Write) Write to the ADC conversion register to convert the ADCIN_, GATE_, internal DAC and sense voltages. The ADC conversion register also converts the internal and external temperature readings and sets the interface for continuous conversion. See Table 19. Set the command byte to 62h to write to the ADC conversion register. Bits D15–D12 are don’t-care bits. The ADCMON bit in the hardware configuration register must be set to 1 to load ADC results into the FIFO. Set the CONCONV bit, D11, to 1 for continuous ADC conversions. Set the CH10 bit, D10, to 1 to convert the ADCIN2 voltage. Set the CH9 bit, D9, to 1 to convert the GATE2 voltage. Set the CH8 bit, D8, to 1 to convert the channel 2 DAC code. Set the CH7 bit, D7, to 1 to convert the channel 2 sense voltage. Set the CH6 bit, D6, to 1 to convert the channel 2 external temperature sensor measurement. Set the CH5 bit, D5, to 1 to convert the ADCIN1 voltage. Set the CH4 bit, D4, to 1 to convert the GATE1 voltage. Set the CH3 bit, D3, to 1 to convert the channel 1 DAC code. Set the CH2 bit, D2, to 1 to convert the channel 1 sense voltage. Set the CH1 bit, D1, to 1 to convert the channel 1 external temperature sensor measurement. Set the CH0 bit, D0, to 1 to convert the internal temperature sensor measurement. SHUT (Write) Shut down all internal blocks, as well as the DACs, ADCs, and gate-drive amplifiers individually, through the shutdown register. See Table 20. Set the command byte to 64h to write to the shutdown register. Bits D15–D12 are don’t care. Set the FULLPD bit, D11, to 1 to shut down all internal blocks and reduce AVDD supply current to 0.8µA. The FULLPD bit is set to 1 at power-up. Set the FULLPD bit to 0 before writing any other commands to activate all internal blocks and functionality. Set the FBGON bit, D10, to 1 to keep the internal bandgap reference powered up. Set the WDGPD bit, D9, to 1 to turn off the watchdog oscillator and prevent self-monitoring of the watchdog timer. Set the OSCPD bit, D8, to 1 to power down the internal oscillator. Set the PD2-3 bit, D7, to 1 to power down the channel 2 current-sense amplifier. Set the PD2-2 bit, D6, to 1 to power down the channel 2 gate-drive amplifier. Set the PD2-1 bit, D5, to 1 to power down the channel 2 DAC summing node. Set the PD2-0 bit, D4, to 1 to power down the channel 2 DAC. Set the PD1-3 bit, D3, to 1 to power down the channel 1 current-sense amplifier. Set the PD1-2 bit, D2, to 1 to power down the channel 1 gate-drive amplifier. Set the PD1-1 bit, D1, to 1 to power down the channel 1 DAC summing node. Set the PD1-0 bit, D0, to 1 to power down the channel 1 DAC. 45 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Table 19. ADCCON (Write) BIT NAME X DATA BIT D15–D12 RESET STATE X Don’t care. Set to 1 to command continuous ADC conversions. The ADCMON bit in the hardware configuration register must be to set to 1 to load ADC results into the FIFO. Continuous conversions are only applicable in clock modes 00 and 01. When CONCONV is set to 1, the ADC continuously converts the channels selected by the ADC conversion register using the conversion mode selected by the CKSEL1/CKSEL0 bits. Results are accumulated in the FIFO. Empty the FIFO quickly enough to prevent overflow conditions. Set to 1 to convert the ADCIN2 voltage in the next ADC conversion cycle. Set to 1 to convert the GATE2 voltage in the next ADC conversion cycle. Also, the PD2-3 bit in the shutdown register must be set to 0. Set to 1 to convert the channel 2 DAC code in the next ADC conversion cycle. Set to 1 to convert the channel 2 sense voltage in the next ADC conversion cycle. Set to 1 to convert the channel 2 external temperature-sensor measurement in the next ADC conversion cycle. Set to 1 to convert the ADCIN1 voltage in the next ADC conversion cycle. Set to 1 to convert the GATE1 voltage in the next ADC conversion cycle. Also, the PD1-3 bit in the shutdown register must be set to 0. Set to 1 to convert the channel 1 DAC code in the next ADC conversion cycle. Set to 1 to convert the channel 1 sense voltage in the next ADC conversion cycle. Set to 1 to convert the channel 1 external temperature sensor measurement in the next ADC conversion cycle. Set to 1 to convert the internal temperature sensor measurement in the next ADC conversion cycle. FUNCTION CONCONV D11 0 CH10 CH9 CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1 CH0 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 0 0 0 0 0 0 0 0 0 0 0 For maximum accuracy, power up all internal blocks prior to a calibration (MAX11014). The MAX11015 does not require the current-sense amplifier to be powered up for a calibration. LDAC (Write) Write to the software load DAC register to load the values stored in the DAC input registers to their respective DAC output registers. Set the command byte to 66h to write to the software load DAC register. See Table 21. Bits D15–D2 are don’t care. Set the DACCH2 bit, D1, to 1 to load the channel 2 DAC output register with the value stored in the channel 2 DAC input register. Set the DACCH1 bit, D0, to 1 to load the channel 1 DAC output register with the value stored in the channel 1 DAC input register. See Figure 20. 46 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Table 20. SHUT (Write) BIT NAME X DATA BIT D15–D12 RESET STATE X Don’t care. Set to 1 to power down all internal blocks. FULLPD takes precedence over any of the other power-down control bits. All commands in progress are suspended and the DACs and ADC are disabled. The serial interface remains functional. FULLPD is set to 1 on power-up. Set the FULLPD bit to 0 after power-up and before writing any other commands to activate all internal blocks. Set to 1 to force the internal bandgap voltage block to power up, remain powered up between conversions, and avoid the 50µs reference powerup delay time. Forcing the internal reference to remain on increases the power dissipation. Set FBGON to its default state of 0 to power the bandgap voltage as required by the ADC. Set to 1 to turn off the watchdog oscillator. The watchdog oscillator monitors the internal ALU and resets the logic state to the startup condition after 80ms. This reduces power consumption but prevents the self-monitoring function of the watchdog timer. Set to 1 to power down the internal oscillator. OSCPD is automatically reset to 0 after receiving the next interface command. Set to 1 to power down the channel 2 current-sense amplifier. Set to 1 to power down the channel 2 gate-drive amplifier. Set to 1 to power down the channel 2 DAC summing node (MAX11014)/DAC buffer (MAX11015). The summing node acts as a buffer in the MAX11015. Set to 1 to power down the channel 2 DAC. Set to 1 to power down the channel 1 current-sense amplifier. Set to 1 to power down the channel 1 gate-drive amplifier. Set to 1 to power down the channel 1 DAC summing node (MAX11014)/DAC buffer (MAX11015). The summing node acts as a buffer in the MAX11015. Set to 1 to power down the channel 1 DAC. FUNCTION FULLPD D11 1 FBGON D10 0 WDGPD D9 0 OSCPD PD2-3 PD2-2 PD2-1 PD2-0 PD1-3 PD1-2 PD1-1 PD1-0 D8 D7 D6 D5 D4 D3 D2 D1 D0 0 1 1 1 1 1 1 1 1 Table 21. LDAC (Write) BIT NAME X DACCH2 DACCH1 DATA BIT D15–D2 D1 D0 RESET STATE X N/A N/A Don’t care. Set to 1 to load the channel 2 DAC output register with the value stored in the channel 2 DAC input register. Set to 1 to load the channel 1 DAC output register with the value stored in the channel 1 DAC input register. FUNCTION ______________________________________________________________________________________ 47 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Table 22. SCLR (Write) BIT NAME X DATA BIT D15–D7 RESET STATE X Don’t care. Write the following sequence to perform a full reset and return all internal registers to their respective reset state: Write to the software clear register once with FULLRESET = 0 and ARMRESET = 1. Write a second word to the software clear register with FULLRESET = 1 and ARMRESET = 0. The full reset takes effect after completion of the second write to this register. After a full software reset, the internal registers return to their power-on state, but the internal oscillator remains running (unlike at power-up). After a full software reset, it is not necessary to set the FULLPD bit to 0 (as it is on a normal power-on reset) before attempting any other commands. The BUSY output is set high and the ALU initializes internal RAM before setting BUSY low. Set to 1 to reset all ALARM threshold registers and the ALARM flag register. Set to 1 to force the ALU to clear the pointers and lookup value cache to their power-up values. This forces an LUT operation and a VDAC(CODE) calculation for the next sample, regardless of whether the sample produces a table pointer that is different. Set to 1 to reset the FIFO address pointers and clear the FIFO’s contents. Set to 1 to reset the channel 2 DAC input and output registers. Set to 1 to reset the channel 1 DAC input and output registers. FUNCTION FULLRESET D6 N/A ARMRESET D5 0 ALMSCLR D4 N/A CACHECLR D3 N/A FIFOCLR DAC2CLR DAC1CLR D2 D1 D0 N/A N/A N/A Table 23. LUTADD (Write) BIT NAME LUTWORD7– LUTWORD0 LUTADD7– LUTADD0 DATA BIT D15–D8 D7–D0 RESET STATE 0000 0000 0000 0000 FUNCTION Set these 8 bits to determine the number of LUT words to be read/written. Set these 8 bits to determine the base address for the read/write operation. SCLR (Write) Write to the software clear register to reset all of the internal registers, clear the internal ALU or reset the FIFO pointers and clear the FIFO. This register also resets the ALARM threshold registers, ALARM flag register and the DAC registers. Set the command byte to 74h to write to the software clear register. See Table 22. Bits D15–D7 are don’t care. The FULLRESET bit, D6, and ARMRESET bit, D5, provide functionality for a full reset. Write the following sequence to perform a full reset and return all internal register bits to their respective reset state: • Write to the software clear register once with FULLRESET = 0 and ARMRESET = 1. • Write a second word to the software clear register with FULLRESET = 1 and ARMRESET = 0. The full reset takes effect after completion of the second write to this register. It is recommended a FULLRESET be completed after power-up. See Appendix for sample startup code. Set the ALMSCLR bit, D4, to 1 to reset all ALARM threshold register bits and the ALARM flag register bits. Set the CACHECLR bit, D3, to 1 to force the ALU to clear the pointers and lookup value cache to their power-up values. This forces a LUT operation and a VDAC(CODE) calculation for the next sample, regardless of whether the sample produces a table pointer that is different. Set the FIFOCLR bit, D2, to 1, reset the FIFO address pointers, and clear the FIFO’s contents. Set the DAC2CLR bit, D1, to 1 to reset the channel 2 DAC input and output register bits. Set the DAC1CLR bit, D0, to 1 to reset the channel 1 DAC input and output register bits. • 48 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Table 24. LUTDAT (Read/Write) BIT NAME LUTDAT15– LUTDAT0 DATA BIT D15–D0 RESET STATE N/A FUNCTION The 16-bit data word written to the LUT data or configuration memory space. Table 25. FIFO DATA BITS CHANNEL TAG D15 0 0 0 0 0 0 0 0 1 1 1 1 1 D14 0 0 0 0 1 1 1 1 0 0 0 0 1 D13 0 0 1 1 0 0 1 1 0 0 1 1 0 D12 0 1 0 1 0 1 0 1 0 1 0 1 D12 D11 MSB MSB MSB MSB MSB MSB MSB MSB MSB MSB MSB MSB D11 D10–D1 — — — — — — — — — — — — — D0 LSB LSB LSB LSB LSB LSB LSB LSB LSB LSB LSB LSB LSB CONVERSION-DATA ORIGIN Internal temperature sensor. Channel 1 external temperature sensor. Channel 1 sense voltage. Channel 1 DAC input register. Channel 1 GATE voltage. ADCIN1 voltage. Channel 2 external temperature sensor. Channel 2 sense voltage. Channel 2 DAC input register. Channel 2 GATE voltage. ADCIN2 voltage. Reserved. LUT data value. See Table 28. Bit D12 is the MSB for the LUT configuration words. Bit D11 is the MSB for all other LUT reads. Conversion may be corrupted. This occurs only when arriving data causes the FIFO to overflow at the same time data is being read out. Empty FIFO. The current value of the flag register is read out in place of the FIFO data. 1 1 1 0 MSB — LSB 1 1 1 1 MSB — LSB LUTADD (Write) Write to the LUT address register to determine the number of write/read LUT locations, the base address pointer, and the LUT configuration word. See Table 23. Set the command byte to 7Ah to write to the LUT address register. Set the LUTWORD bits, D15–D8, to the number of LUT words to be read/written. Set the LUTADD bits, D7–D0, to determine the base address for the read/write operation. If the top of LUT memory is reached before the LUTWORD limit is reached, the LUT data register read/write is discontinued. Write 00h to the LUTWORD bits to abort an LUT read/write. See the SRAM LUTs section for details on programming the various LUT addresses. See Table 28 for a map of the LUT address locations. LUTDAT (Read/Write) Write or read LUT data through the LUT data register. Set the command byte to 7Ch to write to the LUT data register. Set the command byte to FCh to read from the LUT data register. Write 16 bits of data to the LUT data register to load individual address locations with lookup data. See Table 24. The address in the LUT memory space is automatically incremented after each LUT data register write command. Differentiate LUT data from ADC data from the unique LUT data channel tag 110_. See Table 25. ______________________________________________________________________________________ 49 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Table 26. FLAG (Read) BIT NAME X RESTART DATA BIT D15–D7 D6 RESET X 0 Don’t care. RESTART is set to 1 after either a watchdog timer reset or by commanding a software reset through the software clear register’s FULL RESET function. RESTART returns to 0 after a power-on reset or a flag register read command. ALUBUSY is set to 1 when the ALU is performing other tasks not covered by specific status bits elsewhere in this register. This includes, for example, the internal memory initialization after power-up. PGABUSY is set to 1 when the ALU is performing a PGA calibration (whether commanded or self-timed). ADCBUSY is set to 1 when the ADC is busy, an ALARM value is being checked, or the ADC results are being loaded into the FIFO. ADCBUSY returns to 0 after the ADC completes all of the conversions in the current scan. VGBUSY is set to 1 when the ALU is performing a lookup and interpolation or VDAC(CODE) calculation for either channel. FIFOEMP is set to 1 when the FIFO is empty and contains no data. FIFOEMP is reset to 0 if data is written into the FIFO. Writing to the software clear register with FIFOCLR set to 1 causes the FIFO to be cleared, which then sets FIFOEMP to 1. FIFOOVR functions in one of two modes: 1) Reading the ADC data: FIFOOVR is set to 1 if the FIFO has a data overflow. FIFOOVR is reset to 0 by reading the flag register or by clearing the FIFO through the software clear register. Emptying the FIFO does not clear the FIFOOVR bit. 2) Reading the LUT data: When commanding an LUT read, the FIFO is no longer allowed to overflow (as it is for normal ADC monitoring). FIFOOVR is set to 1 if the LUT is full and set to 0 if the LUT is not full, for that instant in time only. FUNCTION ALUBUSY D5 0 PGABUSY D4 0 ADCBUSY D3 0 VGBUSY D2 1 FIFOEMP D1 1 FIFOOVR D0 0 FIFO Read the oldest result in the FIFO by writing command byte 80h and reading the next 16 bits at DOUT in SPI mode and SDA in I2C mode. Bits D15–D12 (channel tag) identify which ADC or LUT channel is being converted. Bits D11–D0 contain the ADC/LUT conversion results for that specific channel. Bit D11 is the MSB and bit D0 is the LSB for all ADC and LUT data, with the exception of the LUT configuration words. When reading the LUT configuration registers, bit D12 is the MSB and bit D0 is the LSB. See Table 25. FLAG (Read) Read from the flag register to determine the source of a busy condition. Set the command byte to F6h to read the flag register. Bits D15–D7 are don’t care. See Table 26. The RESTART bit, D6, is set to 1 after either a watchdog timer reset or by commanding a software reset through the software clear register’s FULL RESET function. RESTART is reset to a 0 after a power-on reset or a flag register read command. The ALUBUSY bit, D5, is set to 1 when the ALU is performing other tasks not covered by specific status bits elsewhere in this register. The PGABUSY bit, D4, is set to 1 when the ALU is performing a PGA calibration. 50 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Table 27. ALMFLAG (Read) BIT NAME X HIGH-V2 DATA BIT D15–D12 D11 RESET STATE X 0 Don’t care. HIGH-V2 is set to 1 when the GATE2 voltage exceeds the high threshold setting. HIGH-V2 is reset to 0 by either a read of the ALARM flag register or a software clear command. LOW-V2 is set to 1 when the GATE2 voltage decreases below the low threshold setting. LOW-V2 is reset to 0 by either a read of the ALARM flag register or a software clear command. HIGH-I2 is set to 1 when the channel 2 sense voltage exceeds the high threshold setting. HIGH-I2 is reset to 0 by either a read of the ALARM flag register or a software clear command. LOW-I2 is set to 1 when the channel 2 sense voltage decreases below the low threshold setting. LOW-I2 is reset to 0 by either a read of the ALARM flag register or a software clear command. HIGH-T2 is set to 1 when the channel 2 external temperature exceeds the high threshold setting. HIGH-T2 is reset to 0 by either a read of the ALARM flag register or a software clear command. LOW-T2 is set to a 1 when the channel 2 external temperature decreases below the low threshold setting. LOW-T2 is reset to 0 by either a read of the ALARM flag register or a software clear command. HIGH-V1 is set to 1 when the GATE1 voltage exceeds the high threshold setting. HIGH-V1 is reset to 0 by either a read of the ALARM flag register or a software clear command. LOW-V1 is set to 1 when the GATE1 voltage decreases below the low threshold setting. LOW-V1 is reset to 0 by either a read of the ALARM flag register or a software clear command. HIGH-I1 is set to 1 when the channel 1 sense voltage exceeds the high threshold setting. HIGH-I1 is reset to 0 by either a read of the ALARM flag register or a software clear command. LOW-I1 is set to 1 when the channel 1 sense voltage decreases below the low threshold setting. LOW-I1 is reset to 0 by either a read of the ALARM flag register or a software clear command. HIGH-T1 is set to 1 when the channel 1 external temperature exceeds the high threshold setting. HIGH-T1 is reset to 0 by either a read of the ALARM flag register or a software clear command. LOW-T1 is set to a 1 when the channel 1 external temperature decreases below the low threshold setting. LOW-T1 is reset to 0 by either a read of the ALARM flag register or a software clear command. FUNCTION LOW-V2 D10 0 HIGH-I2 D9 0 LOW-I2 D8 0 HIGH-T2 D7 0 LOW-T2 D6 0 HIGH-V1 D5 0 LOW-V1 D4 0 HIGH-I1 D3 0 LOW-I1 D2 0 HIGH-T1 D1 0 LOW-T1 D0 0 ______________________________________________________________________________________ 51 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 The ADCBUSY bit, D3, is set to 1 when the ADC is busy, an ALARM value is being checked, or the ADC results are being loaded into the FIFO. ADCBUSY returns to 0 after the ADC completes all of the conversions in the current scan. The VGBUSY bit, D2, is set to 1 when the ALU is performing a lookup and interpolation or VDAC(CODE) calculation for either channel. The FIFOEMP bit, D1, is set to 1 when the FIFO is empty and contains no data. FIFOEMP is reset to 0 if data is written into the FIFO. Writing to the software clear register with FIFOCLR set to 1 causes the FIFO to be cleared, which then sets FIFOEMP to 1. The functionality of the FIFOOVR bit, D0, depends on whether the FIFO is loaded with ADC data or LUT data. FIFOOVR functions in one of two modes: 1) Reading the ADC data: FIFOOVR is set to 1 if the FIFO has a data overflow. FIFOOVR is reset to 0 only by reading the flag register or by clearing the FIFO through the software clear register. Emptying the FIFO does not clear the FIFOOVR bit. 2) Reading the LUT data: When commanding a LUT read, the FIFO is no longer allowed to overflow. FIFOOVR is set to 1 if the LUT is full and set to 0 if the LUT is not full, for that instant in time only. See the FIFO Description section. when the channel 1 external temperature exceeds the high threshold setting. The LOW-T1 bit, D0, is set to a 1 when the channel 1 external temperature decreases below the low threshold setting. FIFO Description The MAX11014/MAX11015’s FIFO stores 15 ADC samples or 16 SRAM LUT data words. Read the FIFO to load the FIFO data onto DOUT in SPI mode and SDA in I 2 C mode. See Table 25. The ADC sample data includes a 4-bit channel tag, followed by 12 bits of data. The ADC channel tags indicate the source for the temperature or voltage result. The LUT data includes a 3-bit channel tag for LUT configuration word data and a 4-bit tag for all other LUT data. The LUT tags indicate whether the LUT data is temperature (T) or numerical (K)-based. Do not mix ADC results with LUT results in the FIFO. The FIFO allows overflows of ADC data and it always contains the 15 most recent ADC conversion results. Read the FIFO quickly enough to prevent an overflow condition. Detect if the FIFO has overflowed (indicating a loss of data) by inspecting the FIFOOVR bit in the flag register. The FIFO does not overflow while outputting SRAM LUT data. Count how many words are output in order (through the numerical representation of the LUTWORD bits in the LUT address register) to tell which LUT data word is being supplied. ALMFLAG (Read) Read the ALARM flag register to determine the source of an ALARM condition. Set the command byte to F8h to read the ALARM flag register. Bits D15–D12 are don’t care. See Table 27. Bits D11–D0 are all reset to 0 following a read of the ALARM flag register or a software clear command. The HIGH-V2 bit, D11, is set to 1 when the GATE2 voltage exceeds the high threshold setting. The LOW-V2 bit, D10, is set to 1 when the GATE2 voltage decreases below the low threshold setting. The HIGH-I2 bit, D9, is set to 1 when the channel 2 sense voltage exceeds the high threshold setting. The LOW-I2 bit, D8, is set to 1 when the channel 2 sense voltage decreases below the low threshold setting. The HIGH-T2 bit, D7, is set to 1 when the channel 2 external temperature exceeds the high threshold setting. The LOW-T2 bit, D6, is set to a 1 when the channel 2 external temperature decreases below the low threshold setting. The HIGH-V1 bit, D5, is set to 1 when the GATE1 voltage exceeds the high threshold setting. The LOW-V1 bit, D4, is set to 1 when the GATE1 voltage decreases below the low threshold setting. The HIGH-I1 bit, D3, is set to 1 when the channel 1 sense voltage exceeds the high threshold setting. The LOW-I1 bit, D2, is set to 1 when the channel 1 sense voltage decreases below the low threshold setting. The HIGH-T1 bit, D1, is set to 1 52 ADC Monitoring Mode Each time the ADC converts a sample in ADC monitoring mode, the data word and its 4-bit channel tag are moved into the FIFO. Load the data from the FIFO to DOUT in SPI mode and SDA in I2C mode by writing command byte 80h. The hardware configuration register’s ADCMON bit determines whether ADC samples are loaded into the FIFO. See Table 10. Set ADCMON to 1 to store ADC samples in the FIFO. Set to 0 to not load ADC results into the FIFO. The value of ADCMON does not affect whether the results from any particular ADC conversion are checked against the ALARM thresholds or examined for changes to the VDAC(CODE) equations. After reading out all of the ADC FIFO data, the flag register sets the FIFOEMP bit to 1. If a FIFO read command is issued with the FIFO empty, the FIFO returns a channel tag of 1111 and the 12 flag register bits. See Table 25. The FIFO allows interface reads to be simultaneous with the arrival of new ADC sample or LUT data words. But when the FIFO is full and overflowing, if an ADC sample arrives at exactly the same time as an interface read, there is a possibility of data corruption. This condition is ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 FULL-SCALE TRANSITION 111...111 111...110 111...101 FS = VREFADC 1 LSB = VREFADC / 4096 011....111 011....110 OUTPUT CODE OFFSET BINARY OUTPUT CODE (LSB) 000....010 000....001 000....000 111....111 111....110 111....101 000...011 000...010 000...001 000...000 0 1 2 3 INPUT VOLTAGE (LSB) FS - 3/2 LSB FS 100....001 100....000 -256°C 0 TEMPERATURE °C +255.5°C Figure 21. ADC Transfer Function Figure 22. Temperature Transfer Function indicated by channel tag 1110 (rather than the usual ADC channel tag). In this case, only that particular data item is corrupted and all other FIFO contents remain valid and can be accessed with subsequent reads. Read the FIFO quickly enough to prevent overflow conditions to entirely avoid the risk of data corruption. At fast serial-interface clock rates, it is possible to read data from the FIFO faster than the ADC loads it. Set a continuous ADC scan in progress and continuously read the FIFO. Assuming the FIFO is being emptied more quickly than it is being filled, the continuous FIFO reads supply a mixture of empty channel tags (1111 and the flag register value), mixed in with the valid ADC results. Separate the valid ADC results from the flag register data based on the 4-bit channel tag. Output Data Format All conversion data results are output in 2-byte format, MSB first. Data transitions on DOUT on the falling edges of SCLK in SPI mode. Data transitions on SDA on the rising edge of SCL in I2C mode. Figures 10, 18, and 19 illustrate the MAX11014/MAX11015’s read timing. See Figures 21 and 22 for ADC and temperature transfer functions, respectively. SRAM LUT Read Mode After an LUT data register read command, data from the SRAM LUTs is copied into the FIFO. Load the data from the FIFO to DOUT in SPI mode and SDA in I2C mode by reading the FIFO. If SRAM LUT data is written to the FIFO faster than its read out, the FIFO fills up. The copying of data is suspended until the FIFO is read again. If the FIFO is read more quickly than the SRAM LUT loads the values, the data is interspersed with error channel tags (1111 and the flag register value) and valid LUT data. ADC Transfer Function Data is output in straight binary format, with the exception of temperature results/alarms, which are two’s complement. Figure 21 shows the unipolar transfer function for single-ended inputs. Code transitions occur halfway between successive-integer LSB values. Output coding is binary, with 1 LSB = VREFADC / 2.5V for unipolar operation, and 1 LSB = +0.125°C for temperature measurements. PGAOUT Outputs The PGAOUT output voltages are derived from a sense voltage conversion. The dual current-sense amplifiers amplify the voltage between RCS_+ and RCS_- by four and add an offset voltage (+12mV nominally). The current-sense amplifiers scale voltages up to +625mV. The MAX11014’s Class A control loop detailed in Figure 5. The MAX11015’s Class AB analog control is detailed in Figure 6. Calculate the PGAOUT_ voltage with the following equation: VPGAOUT = VREFADC − [4 x (VRCS + − VRCS −) + 12mV] ______________________________________________________________________________________ 53 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 CNVST ADCBUSY (FLAG REGISTER BIT) ALUBUSY (FLAG REGISTER BIT) BUSY (OUTPUT) GATE1/2 OUTPUT BUSY TIMING: EXAMPLE 1 CNVST ADCBUSY (FLAG REGISTER BIT) ALUBUSY (FLAG REGISTER BIT) BUSY OUTPUT BUSY TIMING: EXAMPLE 2 Figure 23. BUSY Timing Write to the HVCAL_ bits in the PGA calibration control register to short circuit the current-sense amplifier inputs so that only the offset is apparent at the PGAOUT_ output and ADC input. BUSY Output The BUSY output goes high for a variety of reasons. The possible causes of BUSY pulsing high include: • The ADC is converting, but not in continuous conversion mode • • • The internal ALU core is performing a power-up initialization The internal ALU core is performing a VDAC(CODE) calculation The internal ALU core is performing another function • The self-calibration routine is taking place When the CONCONV bit is set in the ADC conversion register, the BUSY output does not trigger when the ADC is converting (for all clock modes). This prevents the continuous ADC activity from masking other BUSY events. The serial interface remains available regardless of the state of BUSY, although certain commands are not appropriate. For example, if BUSY is high for an ADC operation, reading the FIFO does not produce the result for the current conversion. Also, if BUSY triggers due to an ADC conversion, do not enter a second conversion command until BUSY returns low, indicating the previous conversion is complete. See Figure 23 for a pair of BUSY timing examples. In example 1, an externally timed ADC conversion triggers the ADCBUSY bit in the flag register and forces BUSY high. Next, a VDAC(CODE) calculation triggers the ALUBUSY bit in the flag register and holds BUSY high. In example 2, the V DAC(CODE) calculation is not requested. 54 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 1111 1111 1111 MOST POSITIVE VALUE (DEFAULT FOR HIGH THRESHOLD REGISTERS) ACTUAL MEASUREMENT VALUE; THEREFORE, ALARM TRIGGERS BUILT IN 8–64 LSBs OF HYSTERESIS WINDOW OF VALUES THAT DO N0T TRIGGER AN ALARM BUILT IN 8–64 LSBs OF HYSTERESIS HIGH THRESHOLD REGISTER VALUE LOW THRESHOLD REGISTER VALUE 0000 0000 0000 MOST NEGATIVE VALUE (DEFAULT FOR LOW THRESHOLD REGISTERS) Figure 24. ALARM Window Comparator Example VOLTAGE OR TEMPERATURE MEASUREMENT VALUE HIGH THRESHOLD REGISTER BUILT-IN HYSTERESIS BUILT-IN HYSTERESIS LOW THRESHOLD REGISTER ALARM COMPARATOR (ACTIVE-LOW) ALARM INTERRUPT (ACTIVE-LOW) READ ALARM FLAG REGISTER READ ALARM FLAG REGISTER READ ALARM FLAG REGISTER TIME Figure 25. ALARM Window-Mode Timing Example ______________________________________________________________________________________ 55 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 1111 1111 1111 MOST POSITIVE VALUE (DEFAULT FOR HIGH THRESHOLD REGISTERS) ACTUAL MEASUREMENT VALUE, THEREFORE ALARM TRIGGERS ALARM TRIGGERED WHEN EXCEEDING THIS LEVEL HIGH THRESHOLD REGISTER VALUE ALARM REMOVED AFTER CROSSING BACK BELOW THIS LEVEL WINDOW OF VALUES THAT DO NOT TRIGGER AN ALARM LOW THRESHOLD REGISTER VALUE 0000 0000 0000 MOST NEGATIVE VALUE (DEFAULT FOR LOW THRESHOLD REGISTERS) Figure 26. ALARM Hysteresis Comparator Example ALARM Output The ALARM output asserts when the corresponding channel’s temperature or voltage readings exceed the respective high or low ALARM threshold. Each time the sense voltage, temperature (external for either channel, internal for channel 2), or GATE_ voltage is converted, the measured value is compared to the high and low ALARM threshold values. The ALARM comparison operates in either window or hysteresis mode. When operating in window comparator mode (TWIN_, IWIN_, or VGWIN_ bits in the software ALARM configuration register set to 1), the ADC output values are monitored to ensure that the values are between both the high and low ALARM threshold register values. See Table 13 and Figure 24. Window comparisons include built-in hysteresis levels, ensuring the ALARM output does not trigger repeatedly when sampling values around the threshold. The ALMHYST bits in the hardware ALARM configuration 56 register vary the built-in hysteresis between 8 and 64 LSBs. The built-in hysteresis acts as a noise filter to prevent unnecessary switching when a sample value is varying slightly around the threshold. The ALARM condition remains in place until the measured value rises above the low threshold value or falls below the high threshold value. Figure 25 details a window-mode timing example. The ALARM output operates in interrupt or comparator mode. In interrupt mode, the ALARM output asserts until the ALARM flag register is read. In comparator mode, the ALARM output reflects the internal ALARM state and remains asserted for as long as the ALARM conditions are breached. The ALARM output deasserts after the windowing or hysteresis conditions are satisfied. When operating in hysteresis comparator mode (TWIN_, IWIN_, or VGWIN_ bits in the software ALARM configuration register set to 0), the ADC output values are monitored to ensure that the values are below the high set ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 VOLTAGE OR TEMPERATURE MEASUREMENT VALUE HIGH THRESHOLD REGISTER LOW THRESHOLD REGISTER ALARM COMPARATOR (ACTIVE-LOW) ALARM INTERRUPT (ACTIVE-LOW) READ ALARM FLAG REGISTER READ ALARM FLAG REGISTER TIME Figure 27. ALARM Hysteresis-Mode Timing Example ALARM threshold register value. See Figure 26. If an ADC output value exceeds its respective ALARM high threshold register value, the ALARM output triggers. The ALARM condition remains in place until the measured value falls below the low threshold value. Figure 27 details a hysteresis-mode timing example. When operating in interrupt mode, the ALARM output triggers when the measured ADC output value exceeds either the high or low threshold. However, in interrupt mode, the ALARM output remains active until reading the ALARM flag register. Reading the ALARM flag register resets the flag bits and the ALARM output. The default values for the high and low threshold registers are the extremes of the measured range (all 1s or all 0s, respectively). The ALARM output can be configured to be open-drain or push-pull and active-high or active-low through the hardware ALARM configuration register. See Table 12. At power-up, the ALARM output is configured as an active-high output that operates in interrupt mode. Each channel has four possible ALM_CLMP1/ ALM_CLMP0 values: • ALM_CLMP1/ALM_CLMP0 = 00 Power-on reset state. GATE_ clamps through a series 2.4kΩ resistor to the ACLAMP_, regardless of any ALARM condition. Reset these 2 bits before attempting to change the DAC voltage. • ALM_CLMP1/ALM_CLMP0 = 01 The automatic GATE_ clamp is disabled in this mode. The GATE_ outputs are not affected by any ALARM conditions. The ALARM output function operates normally (samples beyond their thresholds still cause ALARM flags to be set and ALARM behaves according to the comparator/interrupt mode). • ALM_CLMP1/ALM_CLMP0 = 10 This mode provides fully automatic clamping. Prior to an ALARM condition, the GATE_ voltage is controlled by the sense voltage (MAX11014) or the DAC setting (MAX11015). When an ALARM condition triggers, the GATE_ voltage clamps to ACLAMP_. The clamp is applied as long as the ALARM condition is valid. The GATE_ clamp is released when a subsequent ADC conversion clears the ALARM condition. The GATE_ voltage is then restored to the sense voltage/DAC setting. Configure the ALARM output in comparator mode to assert when the GATE_ clamp is active. 57 Automatic GATE Clamping Configure the ALARM output to clamp the GATE1 output to ACLAMP1 or GATE2 output to ACLAMP2 in response to an ALARM condition through the hardware ALARM configuration register. See Table 12c. Set the ALM_CLMP_ bits, D5–D2, to clamp the respective channel’s GATE output. ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 For a GATE_ voltage ALARM condition, GATE_ remains clamped and ALM_CLMP 10 mode functions the same as 11 mode. This exception breaks the feedback loop that would have otherwise been created by sampling the GATE_ voltage and then clamping that same voltage. • ALM_CLMP1/ALM_CLMP0 = 11 This mode provides semi-automatic clamping. Prior to an ALARM condition, the GATE_ voltage is controlled by the sense voltage (MAX11014) or the DAC setting (MAX11015). When an ALARM condition is triggered, the GATE_ voltage clamps to ACLAMP_. The clamp holds the GATE_ output in this condition, even if subsequent ADC samples are taken and all ALARM channels are cleared. To release the clamp, rewrite the ALM_CLMP1/ALM_CLMP0 bits to 11 or 01. 2) Issue a single read command of the LUT data register. The MAX11014/MAX11015 then fill the FIFO with the requested LUT data, starting with the data at the LUTADD base address and incrementing until reaching either the top of memory or the number of locations based on the LUTWORD code. 3) Read each of the 16-bit LUT data words (including the 3- or 4-bit channel tag) from the FIFO at DOUT in SPI mode and SDA in I2C mode. Begin a LUT write or read command by writing to the LUT address register. See Table 23. This register sets the LUT base address and the number of LUT locations to be read in a subsequent read of the LUT data register. Set the command byte to 7Ah to write to the LUT address register. Set the LUTWORD bits, D15–D8, to the number of LUT words (1 to 48) to be output during a LUT read operation. Set the LUTADD bits, D7–D0, to point to the base address of the LUT data. The TLUT1-0 to TLUT1-47 (channel 1) values are stored at addresses 00h to 2Fh. The TLUT2-0 to TLUT2-47 (channel 2) values are stored at addresses 30h to 5Fh. The KLUT1-0 to KLUT1-47 (channel 1) values are stored at addresses 60h to 8Fh. The KLUT2-0 to KLUT2-47 (channel 2) values are stored at addresses 90h to BFh. The LUTs are defined by setting the following parameters: 1) The table’s base value 2) The step size of the table (how far apart the entries are) 3) The hysteresis threshold size 4) The size of the LUT (the number of entries) OPSAFE Inputs Set the OPSAFE1 and OPSAFE2 inputs high to clamp the GATE1 and GATE2 outputs to the externally applied voltage at ACLAMP1 and ACLAMP2, respectively. OPSAFE1/OPSAFE2 override any software commands. The ALM_CLMP1/ALM_CLMP0 bits in the hardware ALARM configuration register also provide clamping functionality. SRAM LUTs The MAX11014/MAX11015 implement four independent lookup tables (LUTs). The LUTs are temperature based (TLUT) and numeric based (KLUT). Channel 1 and channel 2 each have a separate T and KLUT. Each LUT can store up to 48 separate data words. See Figure 28. In addition to storing data values, the LUT memory also contains configuration registers that specify LUT size, hysteresis bit value, and step size. Table 28 details how the LUTs are configured in memory. Write data to the LUTs with the following sequence: 1) Write to the LUT address register to set the base address for the first data word (the LUTWORD bits are don’t care in LUT writes). 2) Write to the LUT data register to write data values. Each time the LUT data register is written, the address in the LUT memory space is automatically incremented. Read data from the LUTs with the following sequence: 1) Write to the LUT address register to set the base address for the first data word and the number of LUT words to be read. LUT Configuration Write a LUT configuration sequence to initialize the step size, hysteresis threshold size, and size of the LUT. Determine the respective channel’s temperature or KLUT configuration with the following sequence: 1) Set the LUTADD bits in the LUT address register to C0h (TLUT1), C1h (TLUT2), C2h (KLUT1) or C3h (KLUT2). See Table 28a. 2) Write to the LUT data register (LUTDAT15–LUTDAT0) to initialize the step size, hysteresis threshold size, and size of the LUT. See Table 28b. 58 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 BIT 15 BIT 14 BIT 13 BIT 12 BIT 11 BIT 10 BIT 3 BIT 9 BIT 8 BIT 7 BIT 6 BIT 5 BIT 4 BIT 2 BIT 1 BIT 0 KLUT2BASE KLUT1BASE TLUT2BASE TLUT1BASE KLUT2CNFG 0xC7 0xC6 0xC5 0xC4 0xC3 0xC2 0xC1 0xC0 0xBF 0xBE HARD ADDRESS VALUE HARD ADDRESS VALUE HARD ADDRESS VALUE HARD ADDRESS VALUE HARD ADDRESS VALUE HARD ADDRESS VALUE HARD ADDRESS VALUE HARD ADDRESS VALUE REGISTERS KLUT1CNFG TLUT2CNFG TLUT1CNFG KLUT2 VALUE 48 KLUT2 VALUE 47 KLUT2 VALUE 1 KLUT2 VALUE 0 KLUT1 VALUE 47 KLUT1 VALUE 46 0x91 0x90 0x8F 0x8E HARD ADDRESS VALUE SRAM KLUT1 VALUE 1 KLUT1 VALUE 0 TLUT2 VALUE 47 TLUT2 VALUE 46 0x61 0x60 0x5F 0x5E HARD ADDRESS VALUE TLUT2 VALUE 1 TLUT2 VALUE 0 TLUT1 VALUE 47 TLUT1 VALUE 46 0x31 0x30 0x2F 0x2E HARD ADDRESS VALUE TLUT1 VALUE 1 TLUT1 VALUE 0 0x01 0x00 HARD ADDRESS VALUE Figure 28. LUT Memory Space ______________________________________________________________________________________ 59 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Table 28. LUT Addresses LUTADD7–LUTADD0 0000 0000 to 0010 1111 0011 0000 to 0101 1111 0110 0000 to 1000 1111 1001 0000 to 1011 1111 1100 0000 1100 0001 1100 0010 1100 0011 1100 0100 1100 0101 1100 0110 1100 0111 HEX 00 to 2F 30 to 5F 60 to 8F 90 to BF C0 C1 C2 C3 C4 C5 C6 C7 FUNCTION TLUT1-0 to TLUT1-47 TLUT2-0 to TLUT2-47 KLUT1-0 to KLUT1-47 KLUT2-0 to KLUT2-47 TLUT1 configuration TLUT2 configuration KLUT1 configuration KLUT2 configuration TLUT1 base TLUT2 base KLUT1 base KLUT2 base bit threshold. Using the temperature LUT as an example, if the HYS value is 101 (16 bits) and the latest temperature measurement differs from the last one by more than 2°C, a new TLUT operation is performed and a new TLUT value is calculated. Bits D3–D0 set the LUT step size. See Table 28c. The step size is based on the value of 2N, with N equaling the digital value of the STEP bits. Set the step size between 1 (20) and 512 (29). Locations 1010 (210) to 1111 (215) are reserved. Do not write to these locations. LUT Base The following two-step sequence determines the respective channel’s temperature or KLUT base value: 1) Set the LUTADD bits in the LUT address register to C4h (TLUT1), C5h (TLUT2), C6h (KLUT1) and C7h (KLUT2). See Table 28d. 2) Write to the LUT data register (LUTDAT15– LUTDAT0) to initialize the base word. The KLUT base value is stored in binary format, with the LSB equaling 1. The TLUT base value is stored in two’scomplement format, with the LSB equaling +0.125°C. When performing a write operation, the first 3 LUTDAT bits, D15, D14, and D13 are don’t care. When performing a read operation, these bits are set to the LUT data channel tag 110. Bits D12–D7 set the size of the LUT in binary format. Set the LUT size between 8 (001000) and 48 (110000). Bits D6, D5, and D4 set the hysteresis Table 28a. LUT Data Register Memory Map ADDRESS NAME TLUT1 TLUT2 KLUT1 KLUT2 TLUT1 Configuration TLUT2 Configuration KLUT1 Configuration KLUT2 Configuration TLUT1 Base TLUT2 Base KLUT1 Base KLUT2 Base LUTADD7– LUTDAT15 LUTADD0 (HEX) D15 D14 00 to 2F 30 to 5F 60 to 8F 90 to BF C0 C1 C2 C3 C4 C5 C6 C7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 LUTDAT0 D13 0 0 0 0 0 0 0 0 0 0 0 0 X X X X MSB MSB MSB MSB — — — — D12 X X X X D11 MSB MSB MSB MSB D10 — — — — D9 — — — — D8 — — — — D7 — — — — D6 — — — — D5 — — — — D4 — — — — D3 — — — — D2 — — — — D1 — — — — D0 LSB LSB LSB LSB See Table 28b for bit details. See Table 28b for bit details. See Table 28b for bit details. See Table 28b for bit details. — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — LSB LSB LSB LSB X = Don’t care. 60 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Table 28b. LUT Configuration BIT NAME SIZE5 SIZE4 SIZE3 SIZE2 SIZE1 SIZE0 DATA BIT D12 D11 D10 D9 D8 D7 RESET 0 0 0 0 0 0 The HYS2, HYS1, and HYS0 bits set the hysteresis bit threshold for each LUT. When the difference between the last index value and the next index value is less than the value set by HYS2, HYS1, and HYS0 bits, the LUT operation for that parameter is omitted and the last value calculated for the respective LUT is used. Set the HYS2 (MSB), HYS1, and HYS0 (LSB) bits to the following hysteresis bit values: 000: 0 bits (a new LUT operation is always performed) 001: 1 bit (if the value differs by 1 bit, a new LUT operation is performed) 010: 2 bits 011: 4 bits 100: 8 bits 101: 16 bits 110: 32 bits 111: 64 bits The STEP3–STEP0 bits determine the LUT 12-bit step size. The step size is a 2N value. The N value is determined by the STEP bits, with STEP3 being the MSB and STEP0 the LSB. See Table 28c for the TLUT and KLUT step-size equivalents. The SIZE field is a straight binary representation of the size of the respective LUT. SIZE5 is the MSB of the 6 SIZE bits. SIZE0 is the LSB. Set the size of the LUT between eight entries (001000) and 48 entries (110000). FUNCTION HYS2 D6 0 HYS1 D5 0 HYS0 STEP3 STEP2 STEP1 STEP0 D4 D3 D2 D1 D0 0 0 0 0 0 Table 28c. LUT Configuration Step Sizes STEP3 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 STEP2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 STEP1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 STEP0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 LUT STEP SIZE 1 2 4 8 16 32 64 128 256 512 TLUT STEP-SIZE EQUIVALENT +0.125°C +0.25°C +0.5°C +1°C +2°C +4°C +8°C +16°C +32°C +64°C Reserved. Do not use. Reserved. Do not use. Reserved. Do not use. Reserved. Do not use. Reserved. Do not use. Reserved. Do not use. KLUT STEP-SIZE EQUIVALENT 1 2 4 8 16 32 64 128 256 512 ______________________________________________________________________________________ 61 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Table 28d. LUT Base BIT NAME DATA BIT RESET STATE FUNCTION The base value signifies the starting point for the LUT. The KLUT base value is stored in binary format, with the LSB equaling 1. The TLUT base value is stored in two’s-complement format, with the LSB equaling +0.125°C. BASE11–BASE0 D11–D0 N/A KLUT2BASE KLUT1BASE TLUT2BASE TLUT1BASE = 1111 0001 0000 (-30˚C) KLUT2CNFG KLUT1CNFG TLUT2CNFG T LUT1CNFG = 0 0100 0xxx 0111 0xC7 0xC6 0xC5 0xC4 0xC3 0xC2 0xC1 0xC0 TLUT1 VALUE 8 = UNUSED +82°C +66°C +50°C +34°C +18°C +2°C -14°C TLUT1 BASE = -30°C TLUT1 VALUE 7 TLUT1 VALUE 6 TLUT1 VALUE 5 TLUT1 VALUE 4 TLUT1 VALUE 3 TLUT1 VALUE 2 TLUT1 VALUE 1 TLUT1 VALUE 0 0x08 0x07 0x06 0x05 0x04 0x03 0x02 0x01 0x00 Figure 29. TLUT Example Both the T and KLUTs contain 12-bit data. The TLUT data is stored in two’s-complement format with decimal values ranging from -2048/2048 (-1) to +2047/2048 (+0.9995) in steps of approximately 0.0005. The KLUT data is stored in binary format with decimal values ranging from 0 to +4095/4096 (0.9998) in steps of approximately 0.0002. 62 The temperature LUT data is stored in two’s-complement format. Figure 29 details a channel 1 TLUT example with eight entries where the base temperature is -30°C and the step size is 128 (+16°C between each entry). ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 KLUT2BASE KLUT1BASE = 0011 0011 0011 (819d) TLUT2BASE TLUT1BASE KLUT2CNFG KLUT1CNFG = 0 0100 1xxx 1000 TLUT2CNFG T LUT1CNFG 0xC7 0xC6 0xC5 0xC4 0xC3 0xC2 0xC1 0xC0 KLUT1 VALUE 9 = UNUSED 1.7499V 1.5936V 1.4374V 1.2811V 1.1249V 0.9686V 0.8124V 0.6561V KLUT1 BASE = 0.4999V KLUT1 VALUE 8 KLUT1 VALUE 7 KLUT1 VALUE 6 KLUT1 VALUE 5 KLUT1 VALUE 4 KLUT1 VALUE 3 KLUT1 VALUE 2 KLUT1 VALUE 1 KLUT1 VALUE 0 0x68 0x67 0x66 0x65 0x64 0x63 0x62 0x61 0x60 Figure 30. KLUT Example The KLUT data is stored in straight binary format. Figure 30 details a channel 1 KLUT example with nine entries, a range of 0.5V to 1.7V, and a step size of 256. Assuming VREFDAC = +2.5V, the base value (819d) is determined by the following equation: 0.5V x 4096 = 819d 2.5V Internally Timed Acquisitions and Conversions Clock Mode 00 In clock mode 00, power-up, acquisition, conversion, and power-down are all initiated by writing to the ADC conversion register and performed automatically using the internal oscillator. This is the default clock mode. With ADCMON set to 1, the ADC sets the BUSY output high, powers up, scans all requested channels, stores the results in the FIFO, and then powers down. After the scan is complete, the BUSY output is pulled low and the results are available in the FIFO. ______________________________________________________________________________________ 63 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 tCNV11 tACQ11 tACQ11 CNVST BUSY TEMP SENSOR POWERS UP, ACQUIRES IN 5µs 1.5µs ACQUISITION FOR CH5 3.5µs CONVERSION TIME FOR CH5 1.5µs ACQUISITION FOR CH10 3.5µs CONVERSION TIME FOR CH10 INTERNALLY* INT REFERENCE POWERS UP IN 45µs TEMP CONVERSION IN 30µs IDLE, BUT REFERENCE AND TEMPERATURE SENSOR STAY POWERED UP IDLE, BUT REFERENCE AND TEMPERATURE SENSOR STAY POWERED UP END OF SCAN, REFERENCE AND TEMPERATURE SENSOR POWER DOWN AUTOMATICALLY WRITE TO THE ADC CONVERSION REGISTER TO SET UP THE SCAN *ALL TIMING SPECIFICATIONS ARE TYPICAL. CH0 (INTERNAL TEMPERATURE) RESULT LOADED INTO THE FIFO CH5 LOADED INTO THE FIFO CH10 LOADED INTO THE FIFO CLOCK MODE 11 EXAMPLE 1: COMMAND A SCAN OF CHANNELS 0, 5, AND 10 WITH AN INTERNAL REFERENCE. Figure 31. Clock Mode 11 Timing Example 1 Clock Mode 01 In clock mode 01, power-up, acquisition, conversion, and power-down are all initiated by a single CNVST low pulse and performed automatically using the internal oscillator. Initiate a scan by writing to the ADC conversion register to indicate which channels to convert. Then set CNVST low for at least 20ns only once to convert all of the channels selected in the ADC conversion register. With ADCMON set to 1, the ADC sets the BUSY output high, powers up, scans all requested channels, stores the results in the FIFO, and powers down. After the scan is complete, the BUSY output is pulled low and the results are available in the FIFO. Internal and external temperature conversions are internally timed. Set CNVST low for at least 20ns to acquire a temperature conversion. The BUSY output goes high while sampling and the internal reference typically requires 45µs to power up. The temperature sensor circuit requires 5µs to power up. Temperature conversion results are available after an additional 30µs. The typical conversion time of the initial temperature sensor scan is 80µs. Subsequent temperature scans only take 30µs typically as the internal reference and temperature sensor circuits are already powered. See the Electrical Characteristics table for more details. Set CNVST low for at least 1.5µs to acquire a voltage conversion using the external reference. The BUSY output goes high while sampling and the conversion results are available after an additional 3.5µs (typ). Set CNVST low for at least 50µs to trigger an initial voltage conversion using the internal reference. The BUSY output goes high and the conversion results are available after an additional 3.5µs typically. Additional voltage conversions do not require the acquisition time of powering up the internal reference. Set CNVST low for at least 1.5µs to power up the ADC and place it in track mode. The BUSY output goes high while sampling and the conversion results are available after 5.6µs. Externally Timed Acquisitions and Conversions Clock Mode 10 Clock mode 10 is reserved. Do not use this clock mode. Clock Mode 11 In clock mode 11, conversions are initiated by CNVST one at a time and performed using the internal oscillator. See Figures 31 and 32 for a pair of clock mode 11 timing examples. Initiate a conversion by writing to the ADC conversion register and pulling CNVST low for at least 1.5µs for each channel converted. Different timing parameters apply to whether the conversion is a temperature, a voltage using the external reference, or a voltage using the internal reference conversion. 64 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 tPUINT tCNV11 tACQ11 CNVST BUSY 1.5µs ACQUISITION OF CH5 TEMP SENSOR POWERS UP, ACQUIRES IN 5µs 3.5µs CONVERSION TIME FOR CH5 1.5µs ACQUISITION FOR CH10 3.5µs CONVERSION TIME FOR CH10 INTERNALLY* INT REFERENCE POWERS UP IN 45µs IDLE, BUT REFERENCE STAYS POWERED UP TEMPERATURE CONVERSION IN 30µs IDLE, BUT REFERENCE AND TEMPERATURE SENSOR STAY POWERED UP END OF SCAN, REFERENCE AND TEMPERATURE SENSOR POWER DOWN AUTOMATICALLY WRITE TO THE ADC CONVERSION REGISTER TO SET UP THE SCAN CH5 LOADED INTO THE FIFO CH6 (EXTERNAL TEMPERATURE) RESULT LOADED INTO THE FIFO CH10 LOADED INTO THE FIFO *ALL TIMING SPECIFICATIONS ARE TYPICAL. CLOCK MODE TIMING EXAMPLE 2: COMMANDS A SCAN OF CHANNELS 5, 6, AND 10 WITH AN INTERNAL REFERENCE. Figure 32. Clock Mode 11 Timing Example 2 Changing Clock Modes During ADC Conversions If the hardware configuration register’s CKSEL1 or CKSEL0 bits are changed while the ADC is performing a conversion (or series of conversions), the MAX11014/MAX11015 reacts in one of three ways: • CKSEL1/CKSEL0 = 00 and is then changed to another value: The ADC completes the already triggered series of conversions and then goes idle. The BUSY output remains high until the conversions are completed. The MAX11014/MAX11015 then responds according to commands with the new clock mode. • CKSEL1/CKSEL0 = 01 and is then changed to another value: If waiting for the initial external trigger, the MAX11014/MAX11015 immediately exit clock mode 01, power down the ADC, and go idle. If a conversion sequence is in progress, that conversion is completed and then the ADC goes idle. The BUSY output remains high until the conversions are completed. The MAX11014/MAX11015 then respond according to commands with the new clock mode. CKSEL1/CKSEL0 = 11 and is then changed to another value: If waiting for an external trigger, the MAX11014/ MAX11015 immediately exit clock mode 11, power down the ADC, and go idle. The BUSY output stays low and waits for the external trigger. If a conversion sequence is in progress, that conversion is completed and then the ADC goes idle. Turning the Continuous Convert Bit On and Off When switching between continuous and single convert modes, the clock mode requires resetting to avoid hanging the ADC sequencing routine. To turn off continuous convert, complete the following sequence: 1) Turn off the selected channels but leave the continuous convert bit asserted. 2) Turn off the continuous convert bit. 3) Change from the current clock mode to any other mode. 4) Change the clock mode back. 5) Clear the FIFO. 6) Perform the single conversion. 7) Read the FIFO results. 8) Turn continuous convert back on. Turning on continuous convert can be done by setting the CONVONC bit in the ADCCON register. 65 • ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Applications Information Layout Considerations For the external temperature sensor to perform to specifications, care must be taken to place the MAX11014/ MAX11015 as close as is practical to the remote diode. Traces of DXP_ and DXN_ should not be routed across noisy lines and buses. DXP_ and DXN_ routes should be guarded by ground traces on either sides and should be routed over a quiet ground plane. Traces should be wide enough (> 10mm) to lower inductance, which tends to pick up radiated noise. Aperture Jitter Aperture jitter, tAJ, is the statistical distribution of the variation in the sampling instant. Aperture Delay Aperture delay (t AD ) is the time between the rising edge of the sampling clock and the instant when an actual sample is taken. Signal-to-Noise Ratio For a waveform perfectly reconstructed from digital samples, signal-to-noise ratio (SNR) is the ratio of fullscale analog input (RMS value) to the RMS quantization error (residual error). The ideal, theoretical minimum analog-to-digital noise is caused by quantization error only and results directly from the ADC’s resolution (N bits): SNR = (6.02 x N + 1.76)dB In reality, there are other noise sources besides quantization noise, including thermal noise, reference noise, clock jitter, etc. Therefore, SNR is calculated by taking the ratio of the RMS signal to the RMS noise. RMS noise includes all spectral components to the Nyquist frequency excluding the fundamental, the first five harmonics, and the DC offset. Definitions Integral Nonlinearity Integral nonlinearity (INL) is the deviation of the values on an actual transfer function from a straight line. This straight line can be either a best-straight-line fit or a line drawn between the endpoints of the transfer function, once offset and gain errors have been nullified. INL for the MAX11014/MAX11015 is measured using the endpoint method. Differential Nonlinearity Differential nonlinearity (DNL) is the difference between an actual step width and the ideal value of 1 LSB. A DNL error specification of less than 1 LSB guarantees no missing codes and a monotonic transfer function. Signal-to-Noise Plus Distortion Signal-to-noise plus distortion (SINAD) is the ratio of the fundamental input frequency’s RMS amplitude to the RMS noise plus distortion. RMS noise plus distortion includes all spectral components to the Nyquist frequency excluding the fundamental and the DC offset: SINAD (dB) = 20 x log (SIGNALRMS / NOISERMS ) ADC Offset Error For an ideal converter, the first transition occurs at 0.5 LSB, above zero. Offset error is the amount of deviation between the measured first transition point and the ideal first transition point. ADC Gain Error When a positive full-scale voltage is applied to the converter inputs, the digital output is all ones (FFFh). The transition from FFEh to FFFh occurs at 1.5 LSB below full scale. Gain error is the amount of deviation between the measured full-scale transition point and the ideal full-scale transition point with the offset error removed. Effective Number of Bits Effective number of bits (ENOB) indicates the global accuracy of an ADC at a specific input frequency and sampling rate. An ideal ADC’s error consists of quantization noise only. With an input range equal to the fullscale range of the ADC, calculate the effective number of bits as follows: ENOB = (SINAD − 1.76) / 6.02 DAC Offset Error DAC offset error is determined by loading a code of all zeros into the DAC and measuring the analog output voltage. DAC Gain Error DAC gain error is defined as the amount of deviation between the ideal transfer function and the measured transfer function, with the offset error removed, when loading a code of all 1s into the DAC. Total Harmonic Distortion Total harmonic distortion (THD) is the ratio of the RMS sum of the first five harmonics of the input signal to the fundamental itself. This is expressed as: 66 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers ADC Power-Supply Rejection THD = 20 x log V22 + V32 + V4 2 + V52 + V62 V1 MAX11014/MAX11015 Power-supply rejection is defined as the shift in offset error when the power supply is moved from the minimum operating voltage to the maximum operating voltage. where V1 is the fundamental amplitude, and V2 through V6 are the amplitudes of the first five harmonics. DAC Power-Supply Rejection DAC PSR is the amount of change in the converter’s value at full scale as the power-supply voltage changes from its nominal value. PSR assumes the converter’s linearity is unaffected by changes in the power-supply voltage. Spurious-Free Dynamic Range Spurious-free dynamic range (SFDR) is the ratio of RMS amplitude of the fundamental (maximum signal component) to the RMS value of the next largest spectral component. ADC Channel-to-Channel Crosstalk Bias the ON channel to midscale. Apply a full-scale sinewave test tone to all OFF channels. Perform an FFT on the ON channel. ADC channel-to-channel crosstalk is expressed in dB as the amplitude of the FFT spur at the frequency associated with the OFF channel test tone. RCS1+ Pin Configuration AGND AVDD AVSS N.C. N.C. N.C. N.C. 36 35 34 33 32 31 30 29 28 27 26 25 N.C. OPSAFE1 OPSAFE2 BUSY 37 38 39 40 24 23 22 21 20 19 PGAOUT2 PGAOUT1 FILT4 FILT3 FILT2 FILT1 GATE1 ACLAMP1 N.C. GATEVSS GATE2 ACLAMP2 Intermodulation Distortion (IMD) IMD is the total power of the intermodulation products relative to the total input power when two tones, f1 and f2, are present at the inputs. The intermodulation products are (f1 ± f2), (2 x f1), (2 x f2), (2 x f1 ± f2), (2 x f2 ± f1). The individual input tone levels are at -7dBFS. DVDD 41 DGND CNVST ALARM CS/A0 SPI/I2C N.C./A2 SCLK/SCL 42 43 44 45 46 47 48 1 DIN/SDA 2 DOUT/A1 3 ADCIN1 4 ADCIN2 5 DXN1 6 DXP1 7 DXN2 8 DXP2 9 REFDAC 10 11 12 REFADC AVDD AGND Small-Signal Bandwidth A small -20dBFS analog input signal is applied to an ADC in such a way that the signal’s slew rate does not limit the ADC’s performance. The input frequency is then swept up to the point where the amplitude of the digitized conversion result has decreased by -3dB. Note that the track/hold (T/H) performance is usually the limiting factor for the small-signal input bandwidth. MAX11014 MAX11015 N.C. TOP VIEW RCS2+ RCS1- RCS2- 18 17 16 15 + 14 13 Full-Power Bandwidth A large -0.5dBFS analog input signal is applied to an ADC and the input frequency is swept up to the point where the amplitude of the digitized conversion result has decreased by -3dB. This point is defined as fullpower input bandwidth frequency. TQFN 7mm x 7mm X 0.8mm DAC Digital Feedthrough DAC digital feedthrough is the amount of noise that appears on the DAC output when the DAC digital control lines are toggled. PROCESS: BiCMOS Chip Information ______________________________________________________________________________________ 67 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Typical Operating Circuit +5V +5V EXTERNAL REFERENCE DVDD REFDAC AVDD REFADC DRAIN SUPPLY SCLK/SCL DIN/SDA RCS1+ CS/A0 N.C./A2 µC DOUT/A1 ALARM BUSY GATE1 +5V DGND SPI/I2C RF OUTPUT RCS1- MAX11014 OPSAFE1 OPSAFE2 CNVST (AT MESFET) DXP1 ADCIN1 ADCIN2 ACLAMP1 ACLAMP2 FILT1 FILT2 FILT3 FILT4 RCS2+ RF INTPUT DRAIN SUPPLY DXN1 (AT MESFET) +5V DXP2 RCS2- PGAOUT1 PGAOUT2 GATEVSS DXN2 AGND AVSS GATE2 RF OUTPUT RF INTPUT -5V 68 ______________________________________________________________________________________ Automatic RF MESFET Amplifier Drain-Current Controllers Appendix: Startup Code Example Below is a sample startup code for the MAX11014. This code ensures clean startup of the part irrespective of power supply ramp speed and starts the device REGISTER MNEMONIC SHUT SHUT SCLR SCLR SCLR SCLR FLAG SHUT SHUT HCFG THRUDAC1 THRUDAC2 PGACAL ALMHCFG REGISTER ADDRESS (hex) 0x64 0x64 0x74 0x74 0x74 0x74 0xF6 0x64 0x64 0x38 0x4A 0x4E 0x5E 0x3C 0x0000 0x0000 0x004F 0x7FF 0x7FF 0x0002 0x0014 regulating to 312.5mV on both channels. Change the THRUDAC writes to change the voltage across the sense resistor. Note it should be ran after the power supplies have stabilized. A PGA calibration can be run, but is not required for the part to function. MAX11014/MAX11015 CODE WRITTEN 0x0000 0x0000 0x0020 0x0040 0x0020 0x0040 NOTES Removes the global power-down. Powers up all parts of the MAX11014. Arms the full reset. Completes the full reset. Arms the full reset.* Completes the full reset.* Read of FLAG register to verify reset good. Code should read 0xX042 if reset good. Removes the global power-down. Powers up all parts of the MAX11014. Sets internal references for both DAC and ADC. Midscale on DAC1, sets sense voltage to 312.5mV. Midscale on DAC2, sets sense voltage to 312.5mV. Completes tracking CAL (wait for BUSY to fall). Releases GATE clamps and regulation begins. *Note double reset. This ensures that the internal ROM is reset correctly after power-up and that the ROM data is latched correctly irrespective of the power-supply ramp speed. Package Information For the latest package outline information and land patterns, go to www.maxim-ic.com/packages. PACKAGE TYPE 48 TQFN-EP PACKAGE CODE T4877-6 DOCUMENT NO. 21-0144 ______________________________________________________________________________________ 69 Automatic RF MESFET Amplifier Drain-Current Controllers MAX11014/MAX11015 Revision History REVISION NUMBER 2 3 REVISION DATE 9/08 11/08 DESCRIPTION Added appendix for generic power-up sequence, added note to EC table, and changed DNL spec Changed EC table and updated Appendix: Startup Code Example section PAGES CHANGED 3, 4, 32, 48, 69 3, 69 Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time. Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 ____________________ 70 © 2008 Maxim Integrated Products is a registered trademark of Maxim Integrated Products, Inc. Heslington
MAX11014 价格&库存

很抱歉,暂时无法提供与“MAX11014”相匹配的价格&库存,您可以联系我们找货

免费人工找货