MAX987/MAX988/MAX991/ High-Speed, Micropower, Low-Voltage, MAX992/MAX995/MAX996 Rail-to-Rail I/O Comparators Zero-Crossing DetectorLogic-Level Translator Figure 3 shows a zero-crossing detector application. The Figure 4 shows an application that converts 5V logic levels MAX987’s inverting input is connected to ground, and to 3V logic levels. The MAX988 is powered by the +5V its noninverting input is connected to a 100mVp-p signal supply voltage, and the pullup resistor for the MAX988’s source. As the signal at the noninverting input crosses 0V, open-drain output is connected to the +3V supply voltage. the comparator’s output changes state. This configuration allows the full 5V logic swing without creating overvoltage on the 3V logic inputs. For 3V to 5V logic-level translation, simply connect the +3V supply to VCC and the +5V supply to the pullup resistor. V +5V (+3V) CC 0.1µF 0.1µF +3V (+5V) 2 2 VCC 100mV 100kΩ VCC R 4 IN+ PULLUP 4 IN- OUT 1 OUT 1 3V (5V) LOGIC OUT 3 IN- 100kΩ 3 IN+ MAX987MAX988 VEE VEE 5 5 5V (3V) LOGIC IN Figure 3. Zero-Crossing Detector Figure 4. Logic-Level Translator Pin Configurations (continued) TOP VIEW +++ OUTA 1 14 OUTD N.C. 1 8 N.C. OUTA 1 8 VCC INA- 2 13 IND- IN- 2 MAX987 7 VCC INA- 2 MAX991 7 OUTB MAX988MAX992 INA+ 3 12 IND+ IN+ 3 6 OUT 3 MAX995 INA+ 6 INB- VCC 4 MAX996 11 VEE VEE 4 5 N.C. VEE 4 5 INB+ INB+ 5 10 INC+ INB- 6 9 INC- SOSO/µMAX OUTB 7 8 OUTC SO/TSSOP www.maximintegrated.com Maxim Integrated │ 10