
autocomp is a two-stage Miller op-amp (PMOS input pair, NMOS second stage, 0.99 pF Miller capacitor) wired as a unity-gain follower from ua[0] (VIN) to an internal output OUT, which reaches ua[1] (VOUT) through an on-chip unity-gain buffer while OUT_EN = 1. A 4-bit code K sets the second-stage current to (1 + K) x 8 unit PMOS legs and switches the nulling resistor to about 2.98 MOhm / (1 + K), so the second-stage transconductance scales with K while Rz x gm2 stays constant. Higher codes give more phase margin with a capacitive load and draw more current.
Manual mode (start here):
The 1.8 V supply of the demo board, a signal generator or DAC for VIN, an oscilloscope with a 10x probe on VOUT (ua[1]), a 100 kHz clock on clk (from the demo board) for calibration with CLK_SEL = 1, and a picoammeter or a voltmeter of 1 GOhm or more on ua[2] for the bias monitor.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | CLK_SEL (1 = clk pin, 0 = on-chip oscillator) | KO0 (code in use) | KE0 (in) |
| 1 | MAN (1 = code from KE pins) | KO1 (code in use) | KE1 (in) |
| 2 | OUT_EN (buffered VOUT to ua[1]) | KO2 (code in use) | KE2 (in) |
| 3 | S0 (on-chip load select) | KO3 (code in use) | KE3 (in) |
| 4 | S1 (on-chip load select) | DONE | KT0 (trim code, out) |
| 5 | S2 (on-chip load select) | OSF (overshoot flag) | KT1 (trim code, out) |
| 6 | S3 (on-chip load select) | CK_MON (clock in use / 16) | KT2 (trim code, out) |
| 7 | MON_EN (1 = bias-current monitor on ua[2]) | CAL (calibrating) | KT3 (trim code, out) |
ua | PCB Pin | Internal index | Description |
|---|---|---|---|
| 0 | K | 5 | VIN |
| 1 | C | 0 | VOUT (through the on-chip buffer while OUT_EN = 1) |
| 2 | J | 4 | IBMON (bias monitor current out) |