Rev 0; 10/08 XFP Laser Control and Digital Diagnostic IC The DS1862A is a closed-loop laser-driver control IC with built-in digital diagnostics designed for XFP MSA. The laser control function incorporates automatic power control (APC) and allows extinction ratio control though a temperature-indexed lookup table (LUT). The DS1862A monitors up to seven analog inputs, including temperature and monitor diode (MD) current, which are used to regulate the laser bias current and extinction ratio. Warning and alarm thresholds can be programmed to generate an interrupt if monitored signals exceed tolerance. Calibration is also provided internally using independent gain and offset scaling registers for each of the monitored analog signals. Settings such as programmed calibration data are stored in passwordprotected EEPROM memory. Programming is accomplished through an I2C-compatible interface, which can also be used to access diagnostic functionality. Applications Laser Control and Monitoring 10Gbps Optical Transceiver Modules (XFP) Laser Control and Monitoring Features Implements XFP MSA Requirements for Digital Diagnostics, Serial ID, and User Memory I2C-Compatible Serial Interface Automatic Power Control (APC) Extinction Ratio Control with Lookup Table Seven Monitored Channels for Digital Diagnostics (Five Basic Plus Two Auxiliary) Internal Calibration of Monitored Channels (Temp, VCC2/3, Bias Current, Transmitted, and Received Power) Programmable Quick-Trip Logic for Turning Off Laser for Eye Safety Access to Monitoring and ID Information Programmable Alarm and Warning Thresholds Operates from 3.3V or 5V Supply 25-Ball CSBGA, 5mm x 5mm Package Internal or External Temperature Sensor -40C to +100C Operating Temperature Range One 8-Bit Buffered DAC Digital Diagnostics in Optical Transmission Pin Configuration Ordering Information PART TOP VIEW 1 2 3 4 5 + TEMP RANGE PIN-PACKAGE DS1862AB+ -40C to +100C 25 CSBGA DS1862AB+T&R -40C to +100C 25 CSBGA +Denotes a lead-free/RoHS-compliant package. T&R = Tape and reel. A P-DOWN/ RST SC-RX-LOS SC-RX-LOL THRSET VCC2 B RX-LOS SCL FETG RSSI MODSET TX-D SDA EN1 EN2 BIASSET INTERRUPT MOD-NR AUX1MON AUX2MON BMD MOD-DESEL IBIASMON SC-TX-LOS VCC3 C D Typical Operating Circuit appears at end of data sheet. E GND CSBGA (5mm x 5mm) ________________________________________________________________ Maxim Integrated Products 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. 1 DS1862A General Description DS1862A XFP Laser Control and Digital Diagnostic IC ABSOLUTE MAXIMUM RATINGS Voltage Range on Any Open-Drain Pin Relative to Ground.............................................-0.5V to +6.0V Voltage Range on MOD-DESEL, SDA, SCL, FETG, THRSET, TX-D, AUX1MON, AUX2MON, IBIASMON, RSSI, BIASSET, MODSET, EN1, EN2............................................-0.5V to (VCC3 + 0.5V)* Voltage Range on SC-RX-LOS, SC-RX-LOL, RX-LOS, SC-TX-LOS, MOD-NR, EN1, EN2 ...........................-0.5V to (VCC2 + 0.5V)* Operating Temperature Range .........................-40C to +100C EEPROM Programming Temperature Range .........0C to +70C Storage Temperature Range .............................-55C to +125C Soldering Temperature...........................Refer to the IPC JEDEC J-STD-020 Specification. *Not to exceed +6.0V. 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. RECOMMENDED OPERATING CONDITIONS (VCC3 = +2.9V to +5.5V, TA = -40C to +100C, unless otherwise noted.) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS Main Supply Voltage VCC3 (Note 1) +2.9 +5.5 V Secondary Supply Voltage VCC2 VCC2 not to exceed VCC3 (Note 2) +1.6 +3.6 V High-Level Input Voltage (SDA, SCL) VIH I IH (max) = 10A 0.7 x VCC3 VCC3 + 0.5 V Low-Level Input Voltage (SDA, SCL) VIL I IL (max) = -10A GND 0.3 0.3 x VCC3 V High-Level Input Voltage (TX-D, MOD-DESEL, P-DOWN/RST) (Note 3) VIH I IH (max) = 10A 2 VCC3 + 0.3 V Low-Level Input Voltage (TX-D, MOD-DESEL, P-DOWN/RST) (Note 3) VIL I IL (max) = -10A -0.3 +0.8 V 2 _______________________________________________________________________________________ XFP Laser Control and Digital Diagnostic IC (VCC3 = +2.9V to +5.5V, VCC2 = +1.6V to +3.6V, TA = -40C to +100C, unless otherwise noted.) PARAMETER Supply Current SYMBOL ICC3 CONDITIONS MIN P-DOWN/RST = 1 High-Level Output Voltage (FETG) VOH I OH (max) = -2mA VCC3 0.5 Low-Level Output Voltage (MOD-NR, INTERRUPT, SDA, FETG) VOL I OL (max) = 3mA 0 Resistor (Pullup) RPU I/O Capacitance CI/O Leakage Current IL Leakage Current (SCL, SDA) IL Digital Power-On Reset Analog Power-On Reset 9 TYP MAX UNITS 3 5 mA V 12 0.4 V 15 k 10 pF -10 +10 A -10 +10 A POD 1.0 2.2 V POA 2.0 2.6 V (Note 4) DC ELECTRICAL CHARACTERISTICS--INTERFACE SIGNALS TO SIGNAL CONDITIONERS (VCC2 = +1.6V to +3.6V, VCC3 = +2.9V to +5.5V, TA = -40C to +100C, unless otherwise noted.) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS High-Level Input Voltage (SC-RX-LOS, SC-RX-LOL, SC-TX-LOS) VIH I IH (max) = 100A 0.7 x VCC2 VCC2 + 0.1 V Low-Level Input Voltage (SC-RX-LOS, SC-RX-LOL, SC-TX-LOS) VIL I IL (max) = -100A 0 0.3 x VCC2 V VOH I OH (max) = -0.7mA VCC2 0.2 VOH2 VCC2 = 2.5V to 3.6V, IOH (max) = -2mA VCC2 0.4 VOH3 VCC2 = 1.6V, I OH (max) = -0.7mA VCC2 0.2 High-Level Output Voltage (EN1, EN2) Low-Level Output Voltage (EN1, EN2, RX-LOS) Leakage Current (SC-RX-LOS, SC-RX-LOL, SC-TX-LOS, RX-LOS) V VOL I OL (max) = 0.7mA 0.20 VOL2 VCC2 = 2.5V to 3.6V, IOL (max) = 2mA 0.40 IL -10 +10 V A _______________________________________________________________________________________ 3 DS1862A DC ELECTRICAL CHARACTERISTICS DS1862A XFP Laser Control and Digital Diagnostic IC I2C AC ELECTRICAL CHARACTERISTICS (VCC3 = +2.9V to +5.5V, TA = -40C to +100C, unless otherwise noted.) PARAMETER SCL Clock Frequency SYMBOL CONDITIONS MIN f SCI TYP 0 MAX UNITS 400 kHz Clock Pulse-Width Low tLOW 1.3 s Clock Pulse-Width High tHIGH 0.6 s Bus Free Time Between STOP and START Conditions tBUF 1.3 s START Hold Time tHD:SDA 0.6 s START Setup Time t SU:SDA 0.6 Data In Hold Time tHD:DAT 0 Data In Setup Time t SU:DAT 100 s 0.9 s ns Rise Time of Both SDA and SCL Signals tR (Note 5) 20 + 0.1CB 300 ns Fall Time of Both SDA and SCL Signals tF (Note 5) 20 + 0.1CB 300 ns STOP Setup Time t SU:STO 0.6 s MOD-DESEL Setup Time tHOST_SELECT_SETUP 2 ms MOD-DESEL Hold Time tHOST_SELECT_HOLD 10 s Aborted Sequence Bus Release tMOD-DESEL_ABORT 2 Capacitive Load for Each Bus CB (Note 5) EEPROM Write Time tW 4-byte write (Note 6) ms 400 pF 16 ms MAX UNITS 1.50 100 1.20 100 3.0 1000 +5 1 25 +5 12 +0.9 +0.9 +4.0 +4.0 1.2 1.5 mA nA mA nA V mV % nF A % A ANALOG OUTPUT CHARACTERISTICS (VCC3 = +2.9V to +5.5V, VCC2 = +1.6V to +3.6V, TA = -40C to +100C, unless otherwise noted.) PARAMETER SYMBOL IBIASSET IBIASSET (Off-State Current) IMODSET IMODSET (Off-State Current) Voltage on IBIASSET and IMODSET VTHRSET VTHRSET Drift VTHRSET Capacitance Load APC Calibration Accuracy IBIASSET IBIASSET IMODSET IMODSET VMAX VTHRSET APC Temp Drift IBMD DNL IBMD INL CONDITIONS MIN TYP 0.01 Shutdown 10 0.01 Shutdown (Note 7) IMAX = 100A Across temperature (Note 8) 10 0.7 50 -5 CTHRSET +25C 0.200mA to 1.5mA 50A to 200A Sink, SRC_SINK_B = 0 Source, SRC_SINK_B = 1 Sink, SRC_SINK_B = 0 Source, SRC_SINK_B = 1 -5 -0.9 -0.9 -4.0 -4.0 IBMD Voltage Drift IBMD FS Accuracy 4 _______________________________________________________________________________________ LSB LSB %/V % XFP Laser Control and Digital Diagnostic IC (VCC3 = +2.9V to +5.5V, VCC2 = +1.6V to +3.6V, TA = -40C to +100C, unless otherwise noted.) PARAMETER SYMBOL IMODSET Accuracy IMODSET DNL IMODSET INL IMODSET Temp Drift IMODSET Voltage Drift IMODSET FS Accuracy APC Bandwidth CONDITIONS MIN TYP MAX UNITS % +25C, IMODSET = 0.04mA to 1.2mA -1.5 +1.5 75A range 150A range 300A range 600A range 1200A range 75A range 150A range 300A range 600A range 1200A range -0.9 -0.9 -0.9 -0.9 -0.9 -1.5 -1.5 -1.0 -1.0 -1.0 % %/V % kHz IMD / IAPC = 1 (Note 4) 6 10 +0.9 +0.9 +0.9 +0.9 +0.9 +1.5 +1.5 +1.0 +1.0 +1.0 5 1.2 1.5 30 MIN TYP MAX UNITS 200 ms LSB LSB AC ELECTRICAL CHARACTERISTICS--XFP CONTROLLER (VCC3 = +2.9V to +5.5V, VCC2 = +1.6V to +3.6V, TA = -40C to +100C, unless otherwise noted.) PARAMETER SYMBOL CONDITIONS Time to Initialize t INIT VCC3 within 5% of nominal TX-D Assert Time t OFF IBIAS and IMOD below 10% of nominal 5 s TX-D Deassert Time t ON IBIAS and IMOD above 90% of nominal 1 ms P-DOWN/RST Assert Time t PDR-ON 100 s P-DOWN/RST Deassert Time t PDR-OFF IBIAS and IMOD below 10% of nominal IBIAS and IMOD above 90% of nominal 200 ms 2 ms MOD-DESEL Deassert Time INTERRUPT Assert Delay INTERRUPT Deassert Delay tMOD-DESEL 30 Time until proper response to I2C communication t INIT_ON Time from fault to interrupt assertion 100 ms t INIT_OFF Time from read (clear flags) to interrupt deassertion 500 s 0.5 ms Time from read (clear flags) to MOD-NR deassertion 0.5 ms MOD-NR Assert Delay tMOD-NR-ON Time from fault to MOD-NR assertion MOD-NR Deassert Delay tMOD-NR-OFF RX-LOS Assert Time tLOS-ON Time from SC-RX-LOS assertion to RX-LOS assertion 100 ns RX-LOS Deassert Time tLOS-OFF Time from SC-RX-LOS deassertion to RX-LOS deassertion 100 ns P-DOWN/RST Reset Time tRESET Time from P-DOWN/RST assertion to initial reset Shutdown Time tFAULT Time from fault to IBIASSET, IMODSET, and IBMD below 10% 10 s 30 s _______________________________________________________________________________________ 5 DS1862A ANALOG OUTPUT CHARACTERISTICS (continued) DS1862A XFP Laser Control and Digital Diagnostic IC AC ELECTRICAL CHARACTERISTICS--SOFT* CONTROL AND STATUS (VCC3 = +2.9V to +5.5V, VCC2 = +1.6V to +3.6V, TA = -40C to +100C, unless otherwise noted.) PARAMETER SYMBOL SOFT TX-D Assert Time tOFF_SOFT SOFT TX-D Deassert Time t ON_SOFT tPDR-ON_SOFT IBIAS and IMOD below 10% of nominal tPDR-OFF_SOFT IBIAS and IMOD above 90% of nominal SOFT P-DOWN/RST Assert Time SOFT P-DOWN/RST Deassert Time Soft MOD-NR Assert Delay tMOD-NR-ON CONDITIONS MIN TYP MAX UNITS IBIAS and IMOD below 10% of nominal 50 ms IBIAS and IMOD above 90% of nominal 50 ms 50 ms 200 ms Time from fault to MOD-NR assertion 50 ms Time from read (clear flags) to MOD-NR deassertion 50 ms Time from SC-RX-LOS assertion to RX-LOS assertion 50 ms Time from SC-RX-LOS deassertion to RX-LOS deassertion 50 ms 500 ms MAX UNITS 1.50 mA _SOFT Soft MOD-NR Deassert Delay tMOD-NR-OFF _SOFT Soft RX_LOS Assert Time tLOSON_SOFT Soft RX_LOS Deassert Time tLOSOFF_SOFT Analog Parameter Data Ready (DATA-NR) *All SOFT timing specifications are measured from the falling edge of STOP signal during I2C communication. ANALOG INPUT CHARACTERISTICS (VCC3 = +2.9V to +5.5V, TA = -40C to +100C, unless otherwise noted.) PARAMETER SYMBOL CONDITIONS IBMD Configurable Source or Sink (+/-) MIN TYP 0.05 IBMD Voltage (IBMD - 0A) VBMD IBMD Input Resistance RBMD Source mode Sink mode 2.0 IBMD range 0 to 1.5mA V 1.2 400 550 700 A/D INPUT VOLTAGE MONITORING (IBIASMON, AUX2MON, AUX1MON, RSSI, BMD) (VCC3 = +2.9V to +5.5V, TA = -40C to +100C, unless otherwise noted.) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS Input Resolution VMON 610 V Supply Resolution VCC2/3 1.6 mV Input/Supply Accuracy Update Rate Input/Supply Offset 0.25 0.5 tFRAME1 ACC AUX1MON and AUX2MON disabled 48 52 tFRAME2 All channels enabled 64 75 (Note 4) 0 5 LSB VOS At factory setting %FS ms Full-Scale Input (IBIASMON and RSSI) At factory setting 2.4875 2.5 2.5125 V Full-Scale Input (AUX1MON, AUX2MON, VCC2, VCC3) At factory setting (Note 9) 6.5208 6.5536 6.5864 V BMD (Monitor) (TX-P) FS setting 6 1.5 _______________________________________________________________________________________ mA XFP Laser Control and Digital Diagnostic IC (VCC3 = +2.9V to +5.5V, VCC2 = +1.6V to +3.6V, TA = -40C to +100C, unless otherwise noted.) PARAMETER SYMBOL CONDITIONS HIGH BIAS and TX-P Threshold FS (Note 10) VCC2/3 Fault Asserted Falling Edge Delay VCC2/3 (Note 11) QT Temperature Coefficient MIN TYP MAX UNITS 2.48 2.5 2.52 mA 75 ms +3 % 0.5 %/V 2.520 mA -3 QT Voltage Coefficient QT FS Trim Accuracy (4.2V, +25C) QT Accuracy (Trip) (INL) 2.480 2.500 -2 0 +2 LSB 0.5 %/V 1.5 3 % TYP MAX QT Voltco QT Tempco NONVOLATILE MEMORY CHARACTERISTICS (VCC3 = +2.9V to +5.5V, unless otherwise noted.) PARAMETER SYMBOL CONDITIONS MIN UNITS Endurance (Write Cycle) +70C 50k Cycles Endurance (Write Cycle) +25C 200k Cycles All voltages are referenced to ground. Current into the IC is positive, and current out of the IC is negative. Secondary power supply is used to support optional variable power-supply feature of the XFP module. If VCC2 is not used (i.e., signal conditioners using 3.3V supply), VCC2 should be connected to the VCC3. Note 3: Input signals (i.e., TX-D, MOD-DESEL, and P-DOWN/RST) have internal pullup resistors. Note 4: Guaranteed by design. Simulated over process and 50A < IBMD < 1500A. Note 5: CB--total capacitance of one bus line in picofarads. Note 6: EEPROM write begins after a STOP condition occurs. Note 7: This is the maximum and minimum voltage on the MODSET and BIASSET pins required to meet accuracy and drift specifications. Note 8: For VTHRSET, offset may be as much as 10mV. Note 9: This is the uncalibrated offset provided by the factory; offset adjustment is available on this channel. Note 10: %FS refers to calibrated FS in case of internal calibration, and uncalibrated FS in the case of external calibration. Uncalibrated FS is set in the factory and specified in this data sheet as FS (factory). Calibrated FS is set by the user, allowing a change in any monitored channel scale. Note 11: See the Monitor Channels section for more detail or VCC2 and VCC3 selection. Note 1: Note 2: _______________________________________________________________________________________ 7 DS1862A FAST ALARMS AND VCC FAULT CHARACTERISTICS XFP Laser Control and Digital Diagnostic IC DS1862A Timing Diagrams RESET-DONE VCC > VPOA READ-FLAGS READ-FLAGS TX-D P-DOWN/RST RESET-DONE INTERRUPT tPDR-OFF IBIASSET tINIT tINIT_OFF tINIT tINIT_ON IMODSET Figure 1. Power-On Initialization with P-DOWN/RST Asserted and TX-D/SOFT TX-D Not Asserted VCC > VPOA READ-FLAGS TX-D RESET-DONE P-DOWN/RST INTERRUPT IBIASSET tINIT_ON tINIT_OFF tINIT IMODSET Figure 2. Power-On Initialization with P-DOWN/RST Not Asserted and TX-D/SOFT TX-D Not Asserted (Normal Operation) 8 _______________________________________________________________________________________ XFP Laser Control and Digital Diagnostic IC TX-F TX-D IBIASSET tOFF tON IMODSET Figure 3. TX-D Timing During Normal Operation OCCURRENCE OF FAULT FETG TX-D IBIASSET tFAULT IMODSET Figure 4. Detection of Safety Fault Condition _______________________________________________________________________________________ 9 DS1862A Timing Diagrams (continued) XFP Laser Control and Digital Diagnostic IC DS1862A Timing Diagrams (continued) OCCURRENCE OF FAULT P-DOWN/RST tRESET FETG tINIT IBIASSET RESET-DONE IMODSET Figure 5. Successful Recovery from Transient Safety Fault Condition Using P-DOWN/RST RESET-DONE OCCURRENCE OF FAULT tFAULT P-DOWN/RST tRESET tFAULT FETG (FETG_POL = 1) IBIASSET IMODSET Figure 6. Unsuccessful Recovery from Transient Safety Fault Condition 10 ______________________________________________________________________________________ XFP Laser Control and Digital Diagnostic IC OCCURRENCE OF MONITOR CHANNEL FAULT tINIT_ON INTERRUPT tINIT_OFF READ FLAGS Figure 7. Monitor Channel Fault Timing ______________________________________________________________________________________ 11 DS1862A Timing Diagrams (continued) Typical Operating Characteristics (TA = +25C, unless otherwise noted.) 3.5 3.0 SRC_SINK_B = 0 IBMD = 499.479A 3.3 3.8 4.3 4.8 4.5 4.0 -1.0 SRC_SINK_B = 1 -2.0 VCC3 = 5.5V, VCC2 = 1.6V 3.0 -15 -40 10 35 IBMD = 499.479A 60 VCC3 = 5.5V, VCC2 = 1.6V -2.5 -40 85 -15 10 IBMD = 499.479A 35 60 SUPPLY VOLTAGE (V) TEMPERATURE (C) TEMPERATURE (C) IBMD DRIFT vs. SUPPLY VOLTAGE IMODSET DRIFT vs. TEMPERATURE INTEGRAL NONLINEARITY OF QUICK TRIPS 1.0 DS1862A toc04 1.0 0.8 0.6 0.8 0.5 85 0.6 0.4 IMODSET DRIFT (%) SRC_SINK_B = 0 0.2 0 -0.2 SRC_SINK_B = 1 0 ERROR (LSB) 0.4 -0.4 -0.5 -1.0 0.2 0 -0.2 -0.4 -0.6 -1.5 -0.8 IBMD = 499.479A -1.0 2.8 3.6 4.4 -0.6 VCC3 = 5.5V, VCC2 = 1.6V -2.0 IBMD = 499.479A -0.8 -40 5.2 -15 SUPPLY VOLTAGE (V) 10 35 60 85 128 CODE (0-255) INTEGRAL NONLINEARITY OF IMODSET 0.15 0.15 0.10 0.05 0.05 ERROR (LSB) 0.10 0 -0.05 -0.10 DS1862A toc08 0.20 DS1862A toc07 0.20 ERROR (LSB) 0 TEMPERATURE (C) DIFFERENTIAL NONLINEARITY OF IMODSET 0 -0.05 -0.10 -0.15 -0.15 VCC3 = 4.2V, VCC2 = 1.6V -0.20 0 128 CODE (0-255) 12 -0.5 -1.5 SRC_SINK_B = 0 5.3 SRC_SINK_B = 0 DS1862A toc06 2.8 0 5.0 3.5 2.5 2.0 0.5 IBMD DRIFT (%) 4.0 DS1862A toc02 DS1862A toc01 4.5 SRC_SINK_B = 1 5.5 1.0 DS1862A toc05 5.0 SRC_SINK_B = 1 SUPPLY CURRENT (mA) SUPPLY CURRENT (mA) 5.5 IBMD DRIFT vs. TEMPERATURE SUPPLY CURRENT vs. TEMPERATURE 6.0 DS1862A toc03 SUPPLY CURRENT vs. SUPPLY VOLTAGE 6.0 IBMD DRIFT (%) DS1862A XFP Laser Control and Digital Diagnostic IC FSR = 75A 256 VCC3 = 4.2V, VCC2 = 1.6V -0.20 0 FSR = 75A 128 CODE (0-255) ______________________________________________________________________________________ 256 256 XFP Laser Control and Digital Diagnostic IC NAME PIN FUNCTION P-DOWN/RST A1 Power-Down/Reset Input. This multifunction pin is pulled high internally. See the Power-Down/Reset Pin section for additional information. SC-RX-LOS A2 Signal Conditioner Receiver Loss-of-Signal Input. This pin is an active-high input with LVCMOS/LVTTL voltage levels. SC-RX-LOL A3 Signal Conditioner Receiver Loss-of-Lock Input. This pin is an active-high input with LVCMOS/LVTTL voltage levels. THRSET A4 Threshold Set Output. This pin is a programmable voltage source that can be used for Rx signal conditioner. 1.8V Power-Supply Input VCC2 A5 RX-LOS B1 Receiver Loss of Signal. This open-drain output indicates when there is insufficient optical power. SCL B2 I2C Serial-Clock Input FETG B3 FET Gate Output. This pin can drive an external FET gate associated with safety fault disconnect. RSSI B4 Received Power Signal Input MODSET B5 Modulation Current Output. This pin is only capable of sinking current. TX-D C1 Transmit Disable Input. This pin has an internal pullup resistor. SDA C2 I2C Serial-Data Input/Output EN1 C3 Enable 1 Output. Functional control for signal conditioners. EN2 C4 Enable 2 Output. Functional control for signal conditioners. BIASSET C5 Bias Current Output. This pin is only capable of sinking current. INTERRUPT D1 Interrupt. This open-drain output pin indicates a possible operational fault or critical status condition to the host. MOD-NR D2 Indicating Module Operational Fault. Open-drain output. This pin indicates the status of the MOD-NR flag. AUX1MON D3 AUX2MON D4 Aux1 Monitor Input. This pin can be used to measure any voltage quantity. Aux2 Monitor Input. This pin can be used to measure any voltage quantity or external temperature BMD D5 Monitor Diode Current Input. This pin is capable of sourcing or sinking current. GND E1 Ground MOD-DESEL E2 Module Deselect Input. This pin must be pulled low to enable I2C communication. This pin is pulled high internally. IBIASMON E3 Bias Monitor Input. This pin can be used to monitor the voltage across the laser. SC-TX-LOS E4 Signal Conditioner Transmitter Loss of Signal. This pin is an active-high input with LVCMOS/LVTTL voltage levels. VCC3 E5 3.3V or 5V Power-Supply Input ______________________________________________________________________________________ 13 DS1862A Pin Description XFP Laser Control and Digital Diagnostic IC DS1862A Block Diagram VCC2 VCC3 TEMPERATURE SENSOR INT ALARM AND WARNING THRESHOLDS COMPARATORS INTERRUPT BMD OFFSET RIGHT SHIFTING AUX1MON ADC 13 BIT MUX RSSI GAIN IBIASMON AUX2MON WARNING FLAGS ALARM FLAGS MASKING BITS I TO V ALARM FLAGS TX-P VCC3 VCC3 VCC2 VCC2 MEASURED DATA DS1862A ADDRESS R/W DATA BUS MISC CONTROL SIGNALS MASKING BITS ALARM AND WARNING THRESHOLDS WARNING FLAGS IBMD INTERRUPT TABLE 01h SERIAL ID DATA LOWER MEMORY TABLE-SELECT BYTE TABLE 02h EEPROM TABLE 03h LUT TABLE 04h MODULE CONFIG TABLE 05h THRSET VCC3 THRSET RPU MOD-DESEL SDA SCL I2C INTERFACE ADDRESS R/W MODSET DATA BUS BIAS AND MODULATION ENABLE TEMPERATURE CONTROLLED WITH LUT BIASSET IBMD RX-LOS AEXT(IBMD) A HIGH BIAS QT VCC3 INT SC-RX-LOS TX-F SC-RX-LOL VCC2 OR VCC3 SC-TX-LOS SOFT TX-D HIGH BIAS ALARM THRESHOLD EN1 EN2 MOD-NR LOGIC HIGH BIAS ALARM IBIASSET TX-P HIGH TX_P ALARM HIGH TX_P ALARM THRESHOLD GND LOW TX_P ALARM THRESHOLD RPU TX-D STARTUP INITIALIZATION AND LASER SAFETY SHUTDOWN BLOCK P-DOWN/RST FETG BIAS AND MOD ENABLE LOW TX_P ALARM TX-P 14 RPU ______________________________________________________________________________________ XFP Laser Control and Digital Diagnostic IC The DS1862A's block diagram is described in detail within the following sections and memory map/memory description. Automatic Power Control (APC) The DS1862A's APC is accomplished by closed-loop adjustment of the bias current (BIASSET) until the feedback current (BMD) from a photodiode matches the value determined by the APC registers. The relationship between the APC register and IBMD is given by: IBMD = 5.859A x APCC<7:0> + (1.464A x APCF<1:0>) where APCC<7:0> is the 8-bit value in Table 04h, Byte 84h that controls the coarse BMD current, and APCF<1:0> is the 2-bit value that controls the fine BMD current. The BMD pin appears as a voltage source in series with two resistors. The overall equivalent resistance of the BMD input pin can be closely approximated by the plot in Figure 8. The voltage that appears on the BMD pin, assuming no external current load, is 1.2V if BMD is in sink-current mode (SRC_SINK_B = 0) or 2.0V if BMD is set to source current (SRC_SINK_B = 1). This allows the photodiode to be referenced to either VCC3 or GND. When the control loop is at steady state, the BMD current setting matches the current that is measured by the IBMD voltage across the internal resistance. During a transient period, the DS1862A adjusts the current drive on the BIASSET pin to bring the loop into steady state. The DS1862A is designed to support loop gains of 1/20 to 10. On power-up, the BMD current ramps up to the previously saved current setting in EEPROM APC registers. While operating, the DS1862A monitors the BMD current. If it begins to deviate from the desired (set) IBMD value, the current on the BIASSET pin is again adjusted to compensate. Extinction Ratio Control Lookup Table (LUT) The DS1862A uses a temperature indexed lookup table (LUT) to control the extinction ratio. The MODSET pin is capable of sinking current based on the 8-bit binary value that is controlling it. The DS1862A also features a userconfigurable current range to increase extinction ratio resolution. Five current ranges, as described in Table 1, are available to control the current entering MODSET. Table 1. Selectable Current Ranges for MODSET LUT CURRENT RANGE TABLE 04h, BYTE 86h<2:0> CURRENT RANGE (A) 000 0 to 75 001 0 to 150 010 0 to 300 011 0 to 600 100 0 to 1200 BMD RESISTANCE vs. BMD SUPPLY CURRENT 600 IBMD VOLTAGE 584 RBMD () 565 546 BMD 527 RBMD 508 489 VBMD 470 0 0 0.25 0.50 0.75 1.00 1.25 NOTE: VBMD IS CONTROLLED BY THE SRC_SINK_B BIT IN TABLE 04h. 1.50 IBMD (mA) Figure 8. Approximate Model of the BMD Input ______________________________________________________________________________________ 15 DS1862A Detailed Description DS1862A XFP Laser Control and Digital Diagnostic IC If the largest current range is selected, the maximum value of FFh (from LUT) corresponds to a 1200A sink current. Regardless of the current range, the MODSET value always consists of 256 steps, including zero. IMODSET can be controlled automatically with the temperature-based lookup table, or by three other manual methods. Automatic temperature addressed lookup is accomplished by an internal or external temperature sensor controlling an address pointer. This pointer indexes through 127 previously loaded 8-bit current values stored in the LUT. Each one of the 127 temperature slot locations corresponds to a 2C increment over the -40C to +102C temperature range. Any temperature above or below these points causes the code in the first or last temperature slot to be indexed. Both the internal temperature sensor and an external sensor connected to AUX2MON are capable of providing a signal to control the extinction ratio automatically with an indexed LUT. Table 2 illustrates the relationship between the temperature and the memory locations in the LUT. Automatic and manual control of MODSET is controlled by two bits, TEN and AEN, that reside in Table 04h, Byte B2h. By default (from factory) TEN and AEN are both set, causing complete automatic temperaturebased lookup. If TEN and/or AEN are altered, the DS1862A is set to one of the manual modes. Table 3 describes manual mode functionality. Table 3. Truth Table for TEN and AEN Bits TEN 0 0 AEN DS1862A LUT FUNCTIONALITY 0 Manual mode that allows users to write a value directly to the LUT VALUE register (Table 04h, Byte B1h) to drive MODSET. While in this mode, the LUT INDEX POINTER register is not being updated, and no longer drives the LUT VALUE register. 1 Manual mode that allows users to write a value directly to the LUT VALUE register (Table 04h, Byte B1h) to drive MODSET. While in this mode, the LUT INDEX POINTER register is still being updated; however, it no longer drives the LUT VALUE register. 0 Manual mode that allows users to write a value to the LUT INDEX POINTER register (Table 04h, Byte B0), then the DS1862A updates the LUT VALUE register (Table 04h, Byte B1h) based on the user's index pointer. 1 Automatic mode (factory default). This mode automatically indexes the LUT based on temperature, placing the resulting LUT address in the LUT INDEX POINTER register (Table 04h, Byte B0h). Then the MODSET setting is transferred from that LUT address to the LUT VALUE register (Table 04h, Byte B1h). Lastly, the IMODSET is set to the new MODSET code. Table 2. Temperature Lookup Table TEMPERATURE (C) 16 CORRESPONDING LOOKUP TABLE ADDRESS < -40 80h -40 80h -38 81h -36 82h ... ... +96 C4h +98 C5h +100 C6h +102 C7h > +102 C7h 1 1 ______________________________________________________________________________________ XFP Laser Control and Digital Diagnostic IC The AUX1MON, AUX2MON, and VCC2/3 monitor channels are optional and can be disabled. This feature allows for shorter frame rate for the essential monitor channels. Channels that cannot be disabled are internal temperature, BMD, RSSI, and IBIASMON. A table of full-scale (FS) signal values (using factory internal calibration without right shifting) and the resulting FS code values for all seven channels is provided in Table 4. Measuring Temperature--Internal or External The DS1862A is capable of measuring temperature on three different monitor channels: internal temperature sensor, AUX1MON, and AUX2MON. Only the internal temperature and AUX2MON channels are capable of indexing the LUT to control the extinction ratio. To use an external temperature sensor on AUX2MON, the TEMP_INT/EXT bit in Table 04h, Byte 8Bh, must be set. While AUX2MON controls the extinction ratio, the internal temperature sensor does not stop running; despite extinction ratio control by AUX2MON, it is this internal temperature signal that continues to control the status of temperature flags. Also, when TEMP_INT/EXT = 1, the internal temperature clamps at -40C and +103.9375C, and when TEMP_INT/EXT = 0 it clamps at 120C and +127.984C. AUX2MON, however, does have its own flag to indicate an out-of-tolerance condition and assert the INTERRUPT pin. Both AUX1MON and AUX2MON can be used to measure temperature as a function of voltage on their respective pins. They can be enabled by selecting either 0h or 4h from Table 5. Internal (or external) calibration may be required to transmute the input voltage to the desired two's-complement digital code, readable from the result registers in lower memory, Bytes 6Ah, 6Bh, 6Ch, 6Dh. Measuring VCC2/3 The DS1862A has the flexibility to internally measure either VCC2 or VCC3 to monitor supply voltage. VCC2 or VCC3 is user selectable by the VCC2/3_SEL bit in Table 01h, Byte DCh. To remove VCC2/3 from the round-robin monitor update scheme, despite having VCC2 or VCC3 selected to be monitored, the Reserve_EN bit in Table 04h, Byte 8Bh can be programmed to a 0. The analog power-on-reset flag, POA, indicates the status of VCC3 power supply. Even though POA seems to behave similarly to VCC2/3 monitor channel, it is completely separate and has no connection. RESERVE_EN VCC2/3_SEL RESULT 0 0 VCC2/3 result not enabled. 0 1 VCC2/3 result not enabled. 1 0 VCC3 is being measured. 1 1 VCC2 is being measured. Measuring APC and Laser Parameters--BMD, IBIASMON, RSSI BMD and BIASSET are used to control and monitor the laser functionality. Regardless of the set BMD current in the APC register, the DS1862A measures BMD pin current and uses this value not only to adjust the current on the BIASSET pin, but also to monitor TX-P as well. The IBIASMON pin is used to input a voltage signal to the DS1862A that can be used to monitor the bias current through the laser. This monitor channel does not drive the HIGH BIAS quick-trip (QT) alarms for safety Table 4. Monitor Channel FS and LSB Detail SIGNAL +FS SIGNAL +FS (hex) -FS SIGNAL -FS (hex) LSB 127.984C 7FF8 -120C 8800 0.0625C VCC2/3 6.5528V FFF8 0V 0000 100V IBIASMON 2.4997V FFF8 0V 0000 38.147V RSSI 2.4997V FFF8 0V 0000 38.147V AUX1MON 6.5528V FFF8 0V 0000 38.147V AUX2MON 6.5528V FFF8 0V 0000 38.147V BMD (TX-P) 1.5mA FFF8 0mA 0000 22.888nA Temperature ______________________________________________________________________________________ 17 DS1862A Monitor Channels The DS1862A has seven monitored voltage signals that are polled in a round-robin multiplexed sequence and are updated with the frame rate, tFRAME. All channels are read as 16-bit values, but have 13-bit resolution, and with the exception of temperature measurements, all channels are stored as unsigned values. The resulting 16-bit value for all monitored channels, except internal temperature, is calculated by internally averaging the analog-to-digital result eight times. The resulting internal temperature monitor channel is averaged 16 times. See the Internal Calibration section for a complete description of each channel's method(s) of internal calibration. DS1862A XFP Laser Control and Digital Diagnostic IC fault functionality, current on the BIASSET pin is monitored by the DS1862A to control the HIGH BIAS quicktrip alarm. Similar to TX-P, the RSSI pin is used to measure the received power, RX-P. Measuring Voltage Quantities using AUX1MON and AUX2MON AUX1MON and AUX2MON are auxiliary monitor inputs that may be used to measure additional parameters. AUX1/2MON feature a user-selectable register that determines the measured value's units (i.e., voltage, current, or temperature). In addition to indicating units, some of the 4-bit op codes, in Table 5, also place the part in special modes used for alarms and faults internally. Whichever units' scale is selected, the DS1862A is only capable of measuring a positive voltage quanti- Table 5. AUX1/2MON Functionality Selection (Unit Selection) ty, therefore internal or external calibration may be required to get the binary value to match the measured quantity. A table of acceptable units and/or their corresponding user-programmable 4-bit op code is provided below. Alarms and Warning Flags Based on Monitor Channels All of the monitor channels feature alarm and warning flags that are asserted automatically as user-programmed thresholds are internally compared with monitor channel results. Flags may be set, which, if not masked, will generate an interrupt on the INTERRUPT pin or generate a safety fault. Whenever V CC2/3 , AUX2MON, AUX1MON, RSSI, and internal temperature go beyond their threshold trip points and the corresponding mask bit is 0, an interrupt is generated on the INTERRUPT pin and a corresponding warning or alarm flag is set. Similarly, a safety fault occurs whenever BMD or BIASSET go beyond threshold trip points. When this happens, the FETG pin immediately asserts and BIASSET and MODSET currents are shut down. VALUE DESCRIPTION OF AUX1/2MON INTENDED USE (UNITS OF MEASURE) 0000b Auxiliary monitoring not implemented 0001b APD bias voltage (16-bit value is voltage in units of 10mV) 0010b Reserved Table 6 provides an example of how a 16-bit ADC code corresponds to a real life measured voltage using the factory-set calibration on either RSSI or IBIASMON. By factory default, the LSB is set to 38.147V. 0011b TEC current (mA) (16-bit value is current in units of 0.1mA) Table 6. A/D Conversion Example 0100b Laser temperature (same encoding as module temperature) MSB (BIN) LSB (BIN) VOLTAGE (V) 11000000 00000000 1.875 0101b Laser wavelength 10000000 10000000 1.255 0110b +5V supply voltage (encoded as primary voltage monitor) 0111b +3.3V supply voltage (encoded as primary voltage monitor) 1000b +1.8V supply voltage (encoded as primary voltage monitor) (VCC2) 1001b -5.2V supply voltage (encoded as primary voltage monitor) 1010b +5V supply current (16-bit value is current in 0.1mA) To calculate the temperature (internal), treat the two'scomplement value binary number as an unsigned binary number, then convert it to decimal and divide by 256. If the result is grater than or equal to 128, subtract 256 from the result. Temperature: high byte = -128C to +127C signed; low byte = 1/256C. 1101b +3.3V supply current (16-bit value is current in 0.1mA) Table 7. Temperature Bit Weights 1110b +1.8V supply current (16-bit value is current in 0.1mA) 1111b -5.2V supply current (16-bit value is current in 0.1mA) 18 Monitor Channel Conversion Example To calculate VCC2, VCC3, AUX1MON, or AUX2MON, convert the unsigned 16-bit value to decimal and multiply by 100V. S 2-1 26 2-2 25 2-3 24 2-4 23 2-5 22 -- ______________________________________________________________________________________ 21 -- 20 -- XFP Laser Control and Digital Diagnostic IC MSB (BIN) LSB (BIN) TEMPERATURE (C) 01000000 00000000 +64 01000000 00001000 +64.03215 01011111 00000000 +95 11110110 00000000 -10 11011000 00000000 -40 loaded into the appropriate channels' Gain register. This requires forcing two known voltages on to the monitor input pin. For best results, one of the forced voltages should be the NULL input and the other should be 90% of FS. Since the LSB of the least significant byte in the digital reading register is known, the expected digital results are also known for both the null and FS value inputs. Figure 9 describes the hysteresis built into the DS1862A's LUT functionality. M6 Internal Calibration Table 9. Internal Calibration Capabilities SIGNAL INTERNAL SCALING INTERNAL OFFSET RIGHTSHIFTING Temperature -- x -- VCC2/3 x x -- IBIASMON x x x RSSI (RX-P) x x x AUX1MON x x x AUX2MON x x x BMD (TX-P) x x x To scale a specific input's gain and offset, the relationship between the analog input and the expected digital result must be known. The input that would produce a corresponding digital result of all zeroes is the null value (normally this input is GND). The input that would produce a corresponding digital result of all ones is the full-scale (FS) value minus one LSB. The FS value is also found by multiplying an all ones digital value by the weighted LSB. For example, a digital reading is 16 bits long, assume that the LSB is known to be 50V, then the FS value would be 216 x 50V = 3.2768V. A binary search can be used to find the appropriate gain value to achieve the desired FS of the converter. Once the gain value is determined, then it can be M5 MEMORY LOCATION The DS1862A has two means for scaling an analog input to a digital result. The two devices alter the gain and offset of the signal to be calibrated. All of the inputs except internal temperature have unique registers for both the gain and the offset that can be found in Table 04h. See the table below for a complete description of internal calibration capabilities including rightshifting for all monitor channels. DECREASING TEMPERATURE M4 M3 INCREASING TEMPERATURE M2 M1 2 4 6 8 TEMPERATURE (C) 10 12 Figure 9. Lookup Table Hysteresis With the exception of BMD, which can source or sink current, all monitored channels are high impedance and are only capable of directly measuring a voltage. If other measured quantities are desired, such as light, frequency, power, current, etc., they must be converted to a voltage. In this situation the user is not interested in voltage measurement on the monitored channel, but the measurement of the desired parameter. Only the relationship between the indirect measured quantity (light, frequency, power, current, etc.) to the expected digital result must be known. An example of gain scaling using the recommended binary search procedure is provided with the following pseudo code. To help will the computation, two integers need to be defined: count 1 and count 2. CNT1 = NULL / LSB and CNT2 = 90%FS / LSB. CLAMP is the largest result that can be accommodated. ______________________________________________________________________________________ 19 DS1862A Table 8. Temperature Conversion Examples DS1862A XFP Laser Control and Digital Diagnostic IC /* Assume that the Null input is 0.5V. */ /* In addition, the requirement for LSB is 50V. */ FS = 65536 * 50e-6; /* 3.2768 */ CNT1 = 0.5 / 50e-6; /* 10000 */ CNT2 = 0.90*FS / 50e-6; /* 58982 */ /* Thus the NULL input of 0.5V and the 90% of FS input is 2.94912V. */ set the trim-offset-register to zero; set Right-Shift register to zero (Typically zero. See the Right-Shifting section); gain_result = 0h; CLAMP = FFF8h/2^(Right_Shift_Register); For n = 15 down to 0 begin gain_result = gain_result + 2^n; Force the 90% FS input (2.94912V); Meas2 = read the digital result from the part; If Meas2 >= CLAMP then gain_result = gain_result - 2^n; Else Force the NULL input (0.5V); Meas1 = read the digital result from the part; if (Meas2 - Meas1) > (CNT2 - CNT1) then gain_result = gain_result - 2^n; Right-Shifting A/D Conversion Result (Scalable Dynamic Ranging) Right-shifting is a digital method used to regain some of the lost ADC range of a calibrated system. If rightshifting is enabled, by simply loading a non-zero value into the appropriate Right-Shifting Register, then the DS1862A shifts the calibrated result just before it is stored into the monitor channels' register. If a system is calibrated so the maximum expected input results in a digital output value of less than 7FFFh (50% of FS), then it is a candidate for using the right-shifting method. If the maximum desired digital output is less than 7FFFh, then the calibrated system is using less than 1/2 the ADC's range. Similarly, if the maximum desired digital output is less than 1FFFh, then the calibrated system is only using 1/8th the ADC's range. For example, if an applied maximum analog signal yields a maximum digital output less than 1FFCh, then only 1/8th of the ADC's range is used. Right-shifting improves the resolution of the measured signal as part of internal calibration. Without right-shifting, the 3 MS bits of the ADC will never be used. In this example, a value of 3 for the right-shifting maximizes the ADC range and a larger gain setting must be loaded to achieve optimal conversion. No resolution is lost since this is a 13-bit converter that is left justified. The value can be right-shifted 3 times without losing any resolution. The following table describes when the right-shifting method can be effectively used. end; Set the gain register to gain_result; The gain register is now set and the resolution of the conversion will best match the expected LSB. The next step is to calibrate the offset of the DS1862A. With the correct gain value written to the gain register, again force the NULL input to the monitor pin. Read the digital result from the part (Meas1). The offset value is equal to negative value of Meas1. (- 1)Meas1 OFFSET _ REGISTER = 4 Table 10. Right-Shifting Selection OUTPUT RANGE USED WITH ZERO RIGHT-SHIFTS NUMBER OF RIGHTSHIFTS NEEDED 0h .. FFFFh 0 0h .. 7FFFh 1 0h .. 3FFFh 2 0h .. 1FFFh 3 0h .. 0FFFh 4 The calculated offset is now written to the DS1862A and the gain and offset-scaling procedure is complete. 20 ______________________________________________________________________________________ XFP Laser Control and Digital Diagnostic IC The DS1862A is capable of generating an alarm and/or warning whenever an analog monitored channel goes out of a user-defined tolerance. Temperature, bias current (based on IBIASMON), receive power (based on RSSI), AUX1MON, AUX2MON, and VCC2/3, are moni- tored channels that generate latched flags. See the figure below for more detail pertaining to AUX1MON and AUX2MON. Flags are latched into a high state the first time a monitored channel goes out of the defined operating window and for each monitored signal there is a Mask bit that can be set to prevent the corresponding alarm or warning flag from being set. Once a flag is set, it is cleared by simply reading its memory location. AUX1/2MON LOGIC AUX1MON (PIN) ADC * 4-BIT UNIT SELECT C THRESHOLD AUX2MON (PIN) ADC * C THRESHOLD AUX1MON AUX2MON *COMPARATOR LOGIC IS DUPLICATED FOR HIGH AND LOW ALARMS AND WARNINGS. AUX1MON (VCC2 MODE) AUX2MON (VCC2 MODE) LATCHED-VEE5 LATCHED-VCC2 AUX1MON (VCC5 MODE) AUX2MON (VCC5 MODE) AUX1MON (VCC3 MODE) AUX2MON (VCC3 MODE) LATCH AUX2MON (VEE5 MODE) AUX2MON (TEC MODE) LATCHED-TECFAULT LATCH AUX1MON (VEE5 MODE) LATCHEDWAVELENGTH-UL AUX1MON (TEC MODE) LATCHED-VCC5 LATCH AUX2MON (LASER WL MODE) LATCH AUX1MON (LASER WL MODE) LATCH AUX2MON (APD MODE) LATCHED-APDSUPPLY-FAULT LATCH AUX1MON (APD MODE) LATCH MASK BIT LATCHED-VCC3 ANY FLAG INTERRUPT (PIN) CORRESPONDING MASK BIT Figure 10. AUX1/2MON Monitor Logic ______________________________________________________________________________________ 21 DS1862A Warning and Alarm Logic Based on AUX1/2MON, VCC2/3, Temp, RX-P, and IBIASMON Warning and Alarm Logic Based on Signal Conditioners The DS1862A also has flags that are set by certain logical conditions on signal conditioner (SC) pins: SC-RX-LOL, SC-RX-LOS, SC-TX-LOS. Similarly, for each latched signal conditioner flag there are also mask bits that are capable of preventing the alarm or warning flag from causing an INTERRUPT pin to assert. Again, flags are cleared automatically whenever their memory address is read. See Figure 11 for more detail. Quick-Trip Logic and FETG Shutdown Functionality In addition to alarms and warnings, the DS1862A also has quick-trip (QT) functionality (sometimes referred to as fast alarms) that is capable of shutting down the LASER with the FETG pin in conjunction with shutting down IMODSET and IBIASSET. IBMD and IBIASSET currents are measured and are compared with userdefined trip points to set the quick-trip flags: QT LOW TX-P, QT HIGH TX-P, and QT HIGH BIAS. These flags are also capable of being masked to prevent FETG from being asserted when an out-of-tolerance condition is detected. FETG is not asserted by setting the TX-D pin, SOFT TX-D, or P-DOWN/RST pin to a high state, however, IMODSET, and IBIASSET will shut down. See Figure 12 for more detail. The polarity of the FETG pin can also be reversed by setting the FETG_POL bit. Once a safety fault has occurred, the FETG pin and all of the attendant flags SIGNAL CONDITIONER AND MISCELLANEOUS LOGIC SC-RX-LOL (PIN) TX-FAULT VCC2-FAULT LATCH LATCHEDRX-LOS P-DOWN/RST (PIN) RX-LOS (PIN) * SC-RX-LOL (PIN) TIMER LATCHED-TX-NR LATCH LATCHED-RX-NR LATCHED-TX-FAULT LATCH SC-RX-LOS (PIN) LATCHED-TX-FAULT LATCHED-RESET-DONE LATCH SC-RX-LOL (PIN) LATCH SC-RX-LOS (PIN) SC-TX-LOS (PIN) LATCH HIGH TX-P LOW TX-P HIGH BIAS LATCH DS1862A XFP Laser Control and Digital Diagnostic IC LATCHED RX-CDR-NL LATCHEDMOD-NR MOD-NR (PIN) * ANY FLAG ANY MASK BIT INTERRUPT (PIN) *OPEN DRAIN Figure 11. Signal Conditioner and Other Logic 22 ______________________________________________________________________________________ XFP Laser Control and Digital Diagnostic IC DS1862A LATCH SHUTDOWN LOGIC ADC QT LOW TX-P FLAG THRESHOLD BMD (PIN) (TX-P CURRENT) LOW TX-P MASK ADC QT HIGH TX-P FLAG THRESHOLD BIASSET (PIN) (BIASSET CURRENT) FETG (PIN) HIGH TX-P MASK ADC QT HIGH BIAS FLAG THRESHOLD SOFT TX-D P-DOWN/RST (PIN) TX-D (PIN) SAFETY FLAG SOFT P-DOWN/RST FETG_POL HIGH BIAS MASK SHUTDOWN FLAG QT LOW TX-P FLAG QT HIGH TX-P FLAG QT HIGH BIAS FLAG FETG_POL 0 DRIVE A P-CHANNEL SWITCH 1 DRIVE A N-CHANNEL SWITCH LATCH BMD (PIN) (TX-P CURRENT) LATCHED-TX-FAULT SAFETY FLAG Figure 12. Safety Fault and Shutdown Logic can only be reset by pulsing the P-DOWN/RST pin high for the reset time, tRESET, or by toggling the SOFT PDOWN/RST bit in Byte 6Eh, bit 3. See the PowerDown/Reset Pin section for more details. Power-Down/Reset Pin The P-DOWN/RST pin is a multifunction input pin that resets and/or powers down the DS1862A. Since the pin is internally pulled up, its normal state is released, which corresponds to power-down mode. If the P-DOWN/RST pin is released, or driven high, the DS1862A responds by shutting down the MODSET and BIASSET currents. Once the pin is pulled low, operation continues (if not inhibited by a safety fault). Besides powering down the DS1862A, a high-going pulse with minimum reset time, tRESET, can be applied to the P-DOWN/RST pin. This is necessary to restart the DS1862A, especially if it is in a safety shutdown condition and needs to be restarted after the safety condition has been rectified. See the timing diagrams for proper pin timing. Power-Down Functionality During power-down mode IBIASSET and IMODSET drop below 10A, effectively shutting down the laser. FETG is not asserted and safety faults do not occur during this period. During power-down, I2C communication is still active, but the signal conditioner pins EN1 and EN2 are noncontrollable and automatically change to the states: EN1 = 1 and EN2 = 0. Other internal flags/signals that are based on the signal conditioner inputs still reflect the status on the signal conditioner pins during power-down. For example, RX-LOS still reflects the status of SC-RX-LOS, and MOD-NR still reflects the logical states for the signal conditioner pins. Similarly, it is possible for FETG to be asserted, even though the BIASSET and MODSET currents are shut down. However, during power-down and a short period, tPDR-OFF, during power-up, TX-P Low flag is ignored (internally automatically masked out) and does not contribute to FETG's logic. ______________________________________________________________________________________ 23 DS1862A XFP Laser Control and Digital Diagnostic IC During an asserted period of P-DOWN/RST (DS1862A in power-down), and V CC3 is cycled, the DS1862A remains in power-down mode upon power-up. While in power-down mode the INTERRUPT pin does not assert. Once VCC3 has returned, the reset done flag asserts after the interrupt assert delay, tINIT_ON. Reset Functionality Besides powering down the DS1862A, the PDOWN/RST pin also functions to reset the DS1862A. After a high-going pulse of time tRESET, several events occur within the DS1862A. First, MODSET and BIASSET currents shut down and are then reinstated. Second, between the rising edge of the reset pulse and the assertion of the reset-done flag (tINIT), the low TX-P flag is ignored and does not cause FETG to trip. After time tINIT, the low TX-P flag becomes functional. Also, at this time, the reset-done flag is asserted, causing an interrupt to be generated. If there are no faults before tINIT, then no interrupts are asserted on the INTERRUPT pin. If VCC3 is powered up while P-DOWN/RST is high, then the reset-done flag must be cleared twice. The first time the reset-done flag is generated by VCC3 powering up, the second time reset-done is generated by a falling edge on P-DOWN/RST. If VCC3 is continuously powered while P-DOWN/RST is low then only one resetdone flag needs to be cleared. See the timing diagrams for graphical detail. Memory Map Memory Organization The DS1862A features six separate memory tables that are internally organized into 4-word rows. The Lower Memory is addressed from 00h to 7Fh and contains alarm and warning thresholds, flags, masks, several control registers, password entry area (PE), and the 24 table select byte. Table 01h primarily contains user EEPROM as well as several control bytes for various functions. Table 02h is strictly user EEPROM that is protected by a host password. Table 03h is strictly used for controlling the extinction ratio with an LUT. Table 04h is a multifunction space that contains internal calibration values for monitored channels, LUT index pointers, and miscellaneous control bytes. Table 05h is factory programmed and stores SCALE values for use with suggested external temperature sensors. Also, one byte in Table 05h controls the THRSET voltage source and is completely accessible without any password protection. See the Detailed Register Description section for a more complete detail of each byte's function, as well as Table 11 for read/write permissions for each byte. Many nonvolatile memory locations are actually SRAM-shadowed EEPROM, which are controlled by the SEEB bit in Table 04h, Byte B2h. The DS1862A incorporates SRAM-shadowed EEPROM memory locations for key memory addresses that may be rewritten many times. By default the shadowed-EEPROM bit, SEEB, is not set and these locations act as ordinary EEPROM. By setting SEEB, these locations begin to function like SRAM cells, which allow an infinite number of write cycles without concern of wearing out the EEPROM. This also eliminates the requirement for the EEPROM write time, tWR. Because changes made with SEEB enabled do not affect the EEPROM, these changes are not retained through power cycles. The power-up value is the last value written with SEEB disabled. This function can be used to limit the number of EEPROM writes during calibration or to change the monitor thresholds periodically during normal operation helping to reduce the number of times EEPROM is written. The following information describes which locations are shadowed-EEPROM. ______________________________________________________________________________________ XFP Laser Control and Digital Diagnostic IC DS1862A DEC HEX 0 0 I2C SLAVE ADDRESS A0h 00h LOWER MEMORY DIGITAL DIAGNOSTIC FUNCTIONS PASSWORD ENTRY (PWE) (4 BYTES) 127 7F 128 80 TABLE SELECT BYTE 7Fh 80h 80h 80h USER EEPROM DATA TABLE 05h TABLE 04h TABLE 01h TABLE 00h XFP MSA SERIAL ID DATA 80h 80h TABLE 03h TABLE 02h MODULATION DAC LUT OPTIONAL SCALE VALUES AND THRSET CONTROL CONTROL AND CONFIGURATION TABLE (72 BYTES) 87h BBh C7h 220 DC 255 FF MISC CONTROL BITS FFh FFh Figure 13. General View of DS1862A Memory Organization Register Map Table 11. Permission Table PERMISSION <0> READ WRITE At least one byte in this row is different than the rest of the bytes, so look at each byte separately for permissions. <1> ALL ALL <2> ALL MODULE <3> ALL HOST <4> MODULE MODULE <5> ALL FACTORY <6> NEVER HOST <7> NEVER MODULE ______________________________________________________________________________________ 25 DS1862A XFP Laser Control and Digital Diagnostic IC LOWER MEMORY (00h-7Fh) WORD 0 WORD 1 ADDRESS (hex) BYTE 0/8 BYTE 1/9 00<0,2> USER EE Signal Cond* BYTE 2/A WORD 2 BYTE 3/B BYTE 4/C WORD 3 BYTE 5/D BYTE 6/E BYTE 7/F Temp Alarm Hi Temp Alarm Lo Temp Warn Hi 08<2> Temp Warn Lo VCC3 Alarm Hi** VCC3 Alarm Lo** VCC3 Warn Hi** 10<2> VCC3 Warn Lo** Bias Alarm Hi Bias Alarm Lo Bias Warn Hi 18<2> Bias Warn Lo TX-P Alarm Hi TX-P Alarm Lo TX-P Warn Hi 20<2> TX-P Warn Lo RX-P Alarm Hi RX-P Alarm Lo RX-P Warn Hi AUX1 Warn Hi 28<2> RX-P Warn Lo AUX1 Alarm Hi AUX1 Alarm Lo 30<2> AUX1 Warn Lo AUX2 Alarm Hi AUX2 Alarm Lo 38<0,2> AUX2 Warn Lo 40<1> 48<1> AUX2 Warn Hi USER EE USER EE Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved USER SRAM USER SRAM USER SRAM USER SRAM USER SRAM USER SRAM USER SRAM USER SRAM USER SRAM USER SRAM 50<1> Temp/Res/Bias/ RxP/AUX1/AUX2/ Temp/Res/Bias/ RxP/AUX1/ Tx/Rx Misc Apd/Tec/ VCC5/3/2/Vee TxP Alarm Res Alarm TxP Warn AUX2/Res Warn Flags Wave/Res Flags Alarm Flags VCC5/3/2/Vee Warn Flags 58<1> Temp/Res/Bias/ RxP/AUX1/AUX2/ Temp/Res/Bias/ RxP/AUX1/ Rx/Rx Misc Apd/Tec/Wave/ TxP Mask Res Mask TxP Mask AUX2/Res Mask Mask Res Mask VCC5/3/2/Vee Warn Mask 60<1> Temp Value 68<1> 70<0,1> 78<0,1> RX-P Value Reserved Reserved Host PW Host PW VCC2/3 Value** Bit7 VCC5/3/2/Vee Alarm Mask Bias Value TX-P Value AUX1 Value AUX2 Value GCS1 Reserved Reserved POA Reserved PEC_EN Host PW PWE (MSB) PWE (LSB) EXPANDED BYTES Bit6* Bit5 Bit4 Bit3 Bit2 Bit1 GCS0 Host PW Table Select Bit0 BYTE (hex) BYTE/WORD NAME 01 Signal Cond<1>* USER EE USER EE USER EE USER EE USER EE EN2 Value EN1 Value Lock-T1-221 50 <1> L-HI-TEMPAL L-LO-TEMPAL Reserved Reserved L-HI-BIASAL L-LO-BIASAL L-HI-TX-PAL L-LO-TXP-AL 51 <1> L-HI-RX-PAL L-LO-RX-PAL L-HI-AUX1AL L-LO-AUX1AL L-HI-AUX2AL L-LO-AUX2AL Reserved Reserved 52 <1> L-HI-TEMPW L-LO-TEMPW Reserved Reserved 53 <1> L-HI-RX-P-W L-LO-RX-PW L-HI-AUX1W L-LO-AUX1W L-HI-AUX2W L-LO-AUX2W Reserved Reserved 54 <1> L-TX-NR L-TX-F L-TX-CDRNL L-RX-NR L-RX-LOS L-RX-CDRNL L-MOD-NR L-RESETDONE 55 <1> L-APD-SUP-F L-TEC-F L-WAVE-NL Reserved Reserved Reserved Reserved Reserved <1> L-HI-VCC5AL L-LO-VCC5AL L-HI-VCC3AL L-LO-VCC3AL L-HI-VCC2AL L-LO-VCC2AL L-HI-VEE5AL L-LO-VEE5AL 56 bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8 bit7 bit6 bit5 bit4 bit3 bit1 bit0 L-HI-BIAS-W L-LO-BIAS-W L-HI-TX-P-W L-LO-TX-P-W *Bit 0 of Address 01h can be written only if bit 0 of Byte DDh in Table 01h is set. **VCC2/3 are in reserved locations. 26 bit2 ______________________________________________________________________________________ XFP Laser Control and Digital Diagnostic IC Bit6 BYTE (hex) BYTE/WORD NAME 57 <1> L-HI-VCC5-W 58 <1> HI-TEMP-AL LO-TEMP-AL MASK MASK 59 <1> 5A bit15 bit14 bit13 bit12 L-LO-VCC5-W Bit5 bit11 bit10 Bit4 bit9 bit8 Bit3 bit7 bit6 Bit2 bit5 bit4 Bit1 bit3 bit2 Bit0 bit1 bit0 L-HI-VCC3-W L-LO-VCC3-W L-HI-VCC2-W L-LO-VCC2-W L-HI-VEE5-W L-LO-VEE5-W Reserved Reserved HI-BIAS-AL MASK LO-BIAS-AL MASK HI-TX-P-AL MASK LO-TX-P-AL MASK HI-RX-P-AL MASK LO-RX-P-AL HI-AUX1-AL LO-AUX1-AL HI-AUX2-AL LO-AUX2-AL MASK MASK MASK MASK MASK Reserved Reserved <1> HI-TEMP-W MASK LO-TEMP-W MASK Reserved Reserved HI-BIAS-W MASK LO-BIAS-W MASK HI-TX-P-W MASK LO-TX-P-W MASK 5B <1> HI-RX-P-W MASK LO-RX-P-W MASK HI-AUX1-W MASK LO-AUX1-W MASK HI-AUX2-W MASK LO-AUX2-W MASK Reserved Reserved 5C <1> RX-LOL MASK RX-CDR-NL MASK MOD-NR MASK RESET-DONE MASK 5D <1> APD-SUP-F TEC-F MASK MASK 5E <1> HI-VCC5-AL MASK 5F <1> 6E TX-NR MASK TX-F MASK TX-CDR-NL RX-NR MASK MASK WAVE-NL MASK Reserved Reserved Reserved Reserved Reserved LO-VCC5-AL MASK HI-VCC3-AL MASK LO-VCC3-AL MASK HI-VCC2-AL MASK LO-VCC2-AL MASK HI-VEE5-AL MASK LO-VEE5-AL MASK HI-VCC5-W MASK LO-VCC5-W MASK HI-VCC3-W MASK LO-VCC3-W MASK HI-VCC2-W MASK LO-VCC2-W MASK HI-VEE5-W MASK LO-VEE5-W MASK <1> TX-D SOFT TX-D MOD-NR P-DOWN/RST RX-LOS DATA-NR 6F <1> TX-NR TX-F Reserved RX-NR RX-CDR-NL Reserved Reserved Reserved 74 POA <1> POA Reserved Reserved Reserved Reserved Reserved Reserved Reserved 77 Host PW<6> 231 230 229 228 227 226 225 224 78 Host PW<6> 223 222 221 220 219 218 217 216 79 Host PW<6> 215 214 213 212 211 210 29 28 7A Host PW<6> 27 26 25 24 23 22 21 20 7B PWE<6> 231 230 229 228 227 226 225 224 7C PWE<6> 223 222 221 220 219 218 217 216 7D PWE<6> 215 214 213 212 211 210 29 28 7E PWE<6> 27 26 25 24 23 22 21 20 7F Table Select<1> 27 26 25 24 23 22 21 20 SOFT PINTERRUPT DOWN/RST Bit 6 and Bit 3 of Byte 6Eh are masked by Bit 6 and Bit 5 of Byte DDh in Table 01h, respectively. ______________________________________________________________________________________ 27 DS1862A EXPANDED BYTES (CONTINUED) Bit7 DS1862A XFP Laser Control and Digital Diagnostic IC TABLE 01h (SERIAL ID MEMORY) WORD 0 ADDRESS (hex) WORD 1 WORD 2 WORD 3 Byte 0/8 Byte 1/9 Byte 2/A Byte 3/B Byte 4/C Byte 5/D Byte 6/E Byte 7/F USER EE USER EE USER EE USER EE USER EE USER EE USER EE USER EE USER EE USER EE USER EE 88<2> USER EE USER EE USER EE USER EE USER EE 90<2> USER EE USER EE USER EE USER EE USER EE USER EE USER EE USER EE 98<2> USER EE USER EE USER EE USER EE USER EE USER EE USER EE USER EE A0<2> USER EE USER EE USER EE USER EE USER EE USER EE USER EE USER EE A8<2> USER EE USER EE USER EE USER EE USER EE USER EE USER EE USER EE B0<2> USER EE USER EE USER EE USER EE USER EE USER EE USER EE USER EE B8<2> USER EE USER EE USER EE USER EE USER EE USER EE USER EE USER EE C0<2> USER EE USER EE USER EE USER EE USER EE USER EE USER EE USER EE C8<2> USER EE USER EE USER EE USER EE USER EE USER EE USER EE USER EE D0<2> USER EE USER EE USER EE USER EE USER EE USER EE USER EE USER EE AUX1/2 UNIT SEL USER EE 80<2> D8<2> USER EE USER EE USER EE USER EE VCC2/3 _SEL LO MEM 6Eh EN E0<2> USER EE USER EE USER EE USER EE USER EE USER EE USER EE USER EE E8<2> USER EE USER EE USER EE USER EE USER EE USER EE USER EE USER EE F0<2> USER EE USER EE USER EE USER EE USER EE USER EE USER EE USER EE F8<2> USER EE USER EE USER EE USER EE USER EE USER EE USER EE USER EE EXPANDED BYTES Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 USER EE bit15 bit14 USER EE bit13 bit12 USER EE bit11 bit10 USER EE bit9 bit8 USER EE bit7 bit6 USER EE bit5 bit4 USER EE bit3 bit2 USER EE bit1 bit0 USER EE VCC2/3 _SEL Reserved Reserved Reserved Reserved Reserved Reserved Reserved VCC2/3 _SEL LO MEM 6Eh EN Reserved Enable 6Eh, bit 6 Enable 6Eh, bit 3 Reserved Reserved Reserved Reserved Lock-Bit AUX1/2 UNIT SEL AUX1-SEL 23 AUX1-SEL 22 AUX1-SEL 21 AUX1-SEL 20 AUX2-SEL 23 AUX2-SEL 22 BYTE (hex) BYTE/WORD NAME DC<2> DD<2> DE<2> AUX2-SEL 21 AUX2-SEL 20 Note: Byte DDh<6:5> of Table 01h enables bit 6 and bit 3 of Byte 6Eh in the lower memory. TABLE 02h (HOST USER MEMORY) WORD 0 WORD 1 WORD 2 WORD 3 ADDRESS (hex) Byte 0/8 Byte 1/9 Byte 2/A Byte 3/B Byte 4/C Byte 5/D Byte 6/E Byte 7/F 80-FF<3> USER EE USER EE USER EE USER EE USER EE USER EE USER EE USER EE TABLE 03h (MODSET LOOKUP TABLE) ADDRESS (hex) WORD 0 WORD 1 WORD 2 WORD 3 Byte 0/8 Byte 1/9 Byte 2/A Byte 3/B Byte 4/C Byte 5/D Byte 6/E Byte 7/F 80-87<4> USER EE, < -40C USER EE, -40C USER EE, -38C USER EE, -36C USER EE, -34C USER EE, -32C USER EE, -30C USER EE, -28C 88-BF<4> -- -- -- -- -- -- -- -- C0-C7<4> USER EE, +88C USER EE, +90C USER EE, +92C USER EE, +94C USER EE, +96C USER EE, +98C USER EE, +100C USER EE, > +102C 28 ______________________________________________________________________________________ XFP Laser Control and Digital Diagnostic IC WORD 1 WORD 2 WORD 3 Byte 0/8 Byte 1/9 Byte 2/A Byte 3/B Byte 4/C Byte 5/D Byte 6/E Byte 7/F 80<4> Reserved BIAS SHIFT, TX-P SHIFT RX-P SHIFT, AUX1 SHIFT AUX2 SHIFT, Reserved APC REF COARSE APC REF FINE LUT RANGE Control Register 1 88<4> QT TX-P HI QT TX-P LO QT HIGH BIAS Control Register 2 Reserved Reserved Reserved Reserved 90<4> Reserved Reserved MSB VCC2/3 SCALE LSB VCC2/3 SCALE MSB BIAS SCALE LSB BIAS SCALE MSB TX-P SCALE LSB TX-P SCALE 98<4> MSB RX-P SCALE LSB RX-P SCALE MSB AUX1 SCALE LSB AUX1 SCALE MSB AUX2 SCALE LSB AUX2 SCALE Reserved Reserved A0<4> MSB TEMP OFFSET LSB TEMP OFFSET MSB VCC2/3 OFFSET LSB VCC2/3 OFFSET MSB BIAS OFFSET LSB BIAS OFFSET MSB TX-P OFFSET LSB TX-P OFFSET A8<4> MSB RX-P OFFSET LSB RX-P OFFSET MSB AUX1 OFFSET LSB AUX1 OFFSET MSB AUX2 OFFSET LSB AUX2 OFFSET Reserved Reserved B0<4> LUT INDEX POINTER LUT VALUE LUT_CONF Reserved DAC STATUS Reserved Reserved Reserved B8<7> MOD_PW_CHNG MOD_PW_CHNG MOD_PW_CHNG MOD_PW_CHNG EXPANDED BYTES BYTE (hex) BYTE WORD NAME 81 <4> BIAS SHIFT BIAS SHIFT 23 22 BIAS SHIFT 21 BIAS SHIFT 20 TX-P SHIFT 23 TX-P SHIFT 22 TX-P SHIFT 21 TX-P SHIFT 20 82 <4> RX-P SHIFT 23 RX-P SHIFT 22 RX-P SHIFT 21 RX-P SHIFT 20 AUX1 SHIFT 23 AUX1 SHIFT 22 AUX1 SHIFT 21 AUX1 SHIFT 20 83 <4> AUX2 SHIFT AUX2 SHIFT 23 22 AUX2 SHIFT 21 AUX2 SHIFT 20 Reserved Reserved Reserved Reserved 84 <4> APC 27 APC 26 APC 25 APC 24 APC 23 APC 22 85 <4> Reserved Reserved Reserved Reserved Reserved Reserved APC 21 APC 20 86 <4> Reserved Reserved Reserved Reserved Reserved LUT RANGE 22 LUT RANGE 21 LUT RANGE 20 87 <4> FETG_POL QT TX-P HI Mask QT HIGH BIAS Mask QT TX-P LO Mask Reserved Reserved SRC_SINK_B Reserved 8B <4> Reserved Reserved Reserve_EN TEMP_INT/EXT Reserved Reserved Reserved Reserved LUT_ Reserved CONF<4> Reserved Reserved Reserved Reserved SEEB TEN AEN SAFETY Flag SHUTDOWN Flag Reserved QT LOW TX-P Flag QT HIGH TX-P Flag QT HIGH BIAS Flag Reserved Reserved B2 B4 DAC STATUS <4> Bit7 bit15 bit14 APC 29 Bit6 bit13 bit12 APC 28 Bit5 bit11 bit10 Bit4 bit9 Bit3 bit8 bit7 Bit2 bit6 bit5 Bit1 bit4 bit3 bit2 Bit0 bit1 bit0 B8 Module PW<7> 231 230 229 228 227 226 225 224 B9 Module PW<7> 223 222 221 220 219 218 217 216 BA Module PW<7> 215 214 213 212 211 210 29 28 BB Module PW<7> 27 26 25 24 23 22 21 20 ______________________________________________________________________________________ 29 DS1862A TABLE 04h (CONTROL AND CONFIG) (80h-BBh) WORD 0 ADDRESS (hex) DS1862A XFP Laser Control and Digital Diagnostic IC TABLE 05h (OPTIONAL OFFSETS AND THRSET) ADDRESS (hex) WORD 0 Byte 0/8 80-87 WORD 1 Byte 1/9 Byte 2/A DS60 SCALE WORD 2 Byte 3/B LM50 SCALE WORD 3 Byte 4/C Byte 5/D Byte 6/E Byte 7/F Reserved Reserved Reserved VTHRSET_VALUE <1> EXPANDED BYTES Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 BYTE (hex) BYTE/WORD NAME bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 80 DS60 SCALE <5> 215 214 213 212 211 210 29 28 27 26 25 24 23 22 21 20 82 LM50 SCALE <5> 215 214 213 212 211 210 29 28 27 26 25 24 23 22 21 87 VTHRSET_VALUE 27 26 25 24 23 22 21 20 20 Detailed Register Description Conventions Name of Row * Name of Byte ................... * Name of Byte ................... * Name of Byte ................... * Name of Byte ................... Lower Memory 00h * USER EE ..........................<00> 01h * Signal Condition ...............<00> Bit 0 can only be written if Table 01h, Byte DDh, bit <0> is high. Bits <2:1> control EN2 and EN1, respectively. 02h 39h * Alarms and Warnings ...... These registers set the 16-bit threshold level for corresponding monitor channels. *Note: High alarm and warnings factory default to FFFFh, and low alarm shut warnings default to 0000h. 3Ah, 3Bh * USER EE ..........................<00> 46h 4Fh * USER SRAM .....................<00> 50h 57h * Latched Flags ..................<00> These are latched flags for corresponding signals. Any flag is cleared by simply reading it. 58h 5Fh * Masks ...............................<00> These mask bits internally block the signals that drive the INTERRUPT pin. A low setting causes the corresponding monitor channel to drive the INTERRUPT pin. 60h 6Dh * Monitor Values ................. These registers are internally updated with the monitor channel's digital result. They can be read as left-justified 16-bit values. 6Eh * GCS1 ............................... These are nonlatched flags, indicating the real-time digital state of a corresponding signal as well as control bits for particular functions. 30 ______________________________________________________________________________________ XFP Laser Control and Digital Diagnostic IC Bit 1: RX-LOS. Indicates optical loss of the signal and is updated within tLOS-ON. Bit 2: INTERRUPT. Indicates the state of the INTERRUPT pin and is updated within tINIT_ON. Bit 3: SOFT P-DOWN/RST. Read/Write bit that places the DS1862A in power-down mode. Toggle to reset. Masked by Bit 5 of Byte DDh in Table 01h. Bit 4: P-DOWN/RST. Indicates the digital state of the P-DOWN/RST pin and is updated within tPDR-ON. Bit 5: MOD-NR State. Indicates the state of MOD-NR pin and is updated within tPDR-ON. Bit 6: SOFT TX-D. Read/Write bit that disables (shuts down) IBIASSET and IMODSET. Masked by Bit 6 of Byte DDh in Table 01h. Bit 7: TX-D. Indicates the digital state of the TX-D pin and is updated within tOFF. 6Fh * GCS0 ............................... These are nonlatched flags, indicating the real-time digital state of a corresponding signal. Bit 0: Reserved. Bit 1: Reserved. Bit 2: Reserved. Bit 3: RX-CDR-NL not locked. Indicates LOL in Rx path CDR. Bit 4: RX-NR State. Indicates a NOT READY condition in the Rx path. Bit 5: Reserved. Bit 6: TX-F State. Indicates a laser safety fault condition. Bit 7: TX-NR State. Indicates a NOT READY condition on the Tx path. 74h * POA ..................................<00> A high on bit 7 indicates that VCC3 is below the poweron analog trip point, POA. 76h * PEC_EN..............................<00> Bit 0 is used to enable PEC. A value of 1 enables PEC. 77h 7Ah * Host PW Change .............<00> This is the 32-bit location that the DS1862A uses to compare with the PWE to grant host password access. A Read result is always . 7Bh 7Eh * PWE.....................................<00> This is the 32-bit location that is used to enter the host and module password to gain access to the DS1862A. A Read result is always . 7Fh * Table Select .....................<01> This is the 8-bit register that controls which section of upper memory (table) is being addressed by I2C. A value of 00h and 01h results in addressing Table 01h. Values above 05h are accepted, but do not correspond to any physical memory. Table 01h 80h DBh * USER EE ..........................<00> DCh * VCC2/3_SEL ......................<00> Bit 0 of this register controls whether VCC2 or VCC3 is internally measured by the VCC2/3 monitor channel. A `1' selects VCC2 to be measured. ______________________________________________________________________________________ 31 DS1862A Bit 0: DATA-NR. Bit is high until DS1862A has achieved power-up. Bit goes low, signaling that monitor channel data is ready to be read. DS1862A XFP Laser Control and Digital Diagnostic IC DDh * LO MEM 6Eh EN ..............<00> If bit 5 is high, then bit 3 of 6Eh is not masked. If bit 6 is high, then bit 6 of 6Eh is not masked. Bit 0 is the Lock_Bit. If set, Lower Memory address 01h, bit 0 is writable. DEh * AUX1/2 UNIT SEL ............<00> These two 4-bit values define what is being measured on AUX1MON and AUX2MON. MSB is AUX1MON unit select and LSB is AUX2MON unit select. See Table 5 for more details. DFh * USER EE ..........................<00> E0h FFh * USER EE ..........................<00> Table 02h 80h FFh * USER EE ..........................<00> Table 03h 80h C7h * LUT ..................................<00> These registers control the output current on MODSET as a function of temperature. Table 04h 80h B8h 81h * BIAS SHIFT ......................<0> This 4-bit value in <7:4> defines how many right-shifts IBIASMON monitor channel receives. The MSB is bit 7. * TX-P SHIFT .......................<0> This 4-bit value in <3:0> defines how many right-shifts TX-P (BMD) monitor channel receives. The MSB is bit 3. 82h * RX-P SHIFT ......................<0> This 4-bit value in <7:4> defines how many right-shifts RX-P (RSSI) monitor channel receives. The MSB is bit 7. * AUX1 SHIFT .....................<0> This 4-bit value in <3:0> defines how many right-shifts AUX1MON monitor channel receives. The MSB is bit 3. 83h * AUX2 SHIFT .....................<0> This 4-bit value in <7:4> defines how many right-shifts AUX2MON monitor channel receives. The MSB is bit 7. 84h * APC REF COARSE ...........<00> This 8-bit value sets the coarse APC current on BMD. 32 ______________________________________________________________________________________ XFP Laser Control and Digital Diagnostic IC * APC REF FINE .................<00> This 2-bit value in <1:0> sets the fine APC current on BMD. The MSB is bit 1. 86h * LUT RANGE .....................<00> This 3-bit register in <2:0> sets the current range on MODSET. The MSB is bit 2. 87h * Control Register 1 ............<00> Bit 0: Reserved. Bit 1: SRC_SINK_B. If set, then BMD sources current; otherwise, BMD sinks current. Bit 2: Reserved. Bit 3: Reserved. Bit 4: QT TX-P LO Mask. If set, then TX-P low does not have the ability to cause a safety fault. Bit 5: QT HIGH BIAS Mask. If set, then HIGH BIAS does not have the ability to cause a safety fault. Bit 6: QT TX-P HI Mask. If set, then TX-P high does not have the ability to cause a safety fault. Bit 7: FETG_POL. If set, then FETG asserts with a high logic level; otherwise, it asserts with a low logic level. 88h * QT TX-P HI ....................... This is the TX-P quick-trip threshold setting that is used as a comparison to generate a TX-P high safety fault. 89h * QT TX-P LO ......................<00> This is the TX-P quick-trip threshold setting that is used as a comparison to generate a TX-P low safety fault. 8Ah * QT HIGH BIAS ................. This is the TX-P quick-trip threshold setting that is used as a comparison to generate a HIGH BIAS safety fault. 8Bh * Control Register 2 ............<00> Bit 0: Reserved. Bit 1: Reserved. Bit 2: Reserved. Bit 3: Reserved. Bit 4: TEMP_INT/EXT. If set, then the LUT INDEX POINTER register is controlled by AUX2MON. Otherwise, the internal temperature sensor controls the LUT. Bit 5: Reserve_EN. If set, then VCC2/3 is actively updated in the monitor loop. Bit 6: Reserved. Bit 7: Reserved. ______________________________________________________________________________________ 33 DS1862A 85h DS1862A XFP Laser Control and Digital Diagnostic IC 92h * VCC2/3 SCALE ................. This 16-bit register controls the scale value for the VCC2/3 monitor channel. 94h * BIAS SCALE ..................... This 16-bit register controls the scale value for the BIAS monitor channel. 96h * TX-P SCALE ..................... This 16-bit register controls the scale value for the TX-P (BMD) monitor channel. 98h * RX-P SCALE ..................... This 16-bit register controls the scale value for the RX-P (RSSI) monitor channel. 9Ah * AUX1 SCALE ................... This 16-bit register controls the scale value for the AUX1MON monitor channel. 9Ch * AUX2 SCALE ................... This 16-bit register controls the scale value for the AUX2MON monitor channel. A0h * TEMP OFFSET ................. This 16-bit register controls the offset value for the internal temperature monitor channel. A2h * VCC2/3 OFFSET ................<0000> This 16-bit register controls the offset value for the VCC2/3 monitor channel. A4h * BIAS OFFSET ...................<0000> This 16-bit register controls the offset value for the BIAS monitor channel. A6h * TX-P OFFSET ...................<0000> This 16-bit register controls the offset value for the TX-P (BMD) monitor channel. A8h * RX-P OFFSET ...................<0000> This 16-bit register controls the offset value for the RX-P (RSSI) monitor channel. AAh * AUX1 OFFSET ..................<0000> This 16-bit register controls the offset value for the AUX1MON monitor channel. ACh * AUX2 OFFSET ..................<0000> This 16-bit register controls the offset value for the AUX2MON monitor channel. B0h * LUT INDEX POINTER ....... This register controls the index pointer value for the LUT. It is automatically updated (in normal operating mode) and can be read or overwritten using the TEN and AEN bits. 34 ______________________________________________________________________________________ XFP Laser Control and Digital Diagnostic IC Bit 2: SEEB. A high on SEEB disables EEPROM writes of Shadowed EEPROM locations. Bit 3: Reserved. Bit 4: Reserved. Bit 5: Reserved. Bit 6: Reserved. Bit 7: Reserved. B4h * DAC STATUS ................... Bit 0: Reserved. Bit 1: Reserved. Bit 2: QT HIGH BIAS Flag. This flag indicates that the current entering BIASSET is above the threshold. Bit 3: QT HIGH TX-P Flag. This flag indicates that TX-P is above the threshold. Bit 4: QT LOW TX-P Flag. This flag indicates that TX-P is below the threshold. Bit 5: Reserved. Bit 6: SHUTDOWN Flag. A high indicates that the DS1862A is in shutdown mode and that FETG is asserted. Bit 7: SAFETY Flag. A high indicates that a safety fault (quick trip) has occurred. B8h * MOD_PW_CHNG .............<00h> This is the 32-bit location that the DS1862A uses to compare with the PWE to grant module password access. A Read result is always . Table 05h 80h * DS60 SCALE .................... This unique 16-bit value sets the SCALE register for use with a DS60 temperature sensor on AUX2MON. 82h * LM50 SCALE .................... This unique 16-bit value sets the SCALE register for use with a LM50 temperature sensor on AUX2MON. 87h * VTHRSET_VALUE................<80> This 8-bit value sets the voltage on the signal conditioner voltage source, THRSET. ______________________________________________________________________________________ 35 DS1862A B1h * LUT VALUE ......................<00> This register contains the fetched LUT value that drives the MODSET current. It can be read or overwritten to directly control the MODSET current (manual mode). B2h * LUT_CONF .......................<03> Bit 0: AEN. A high on AEN enables data placed in the LUT VALUE register to drive MODSET. Bit 1: TEN. A high on TEN enables the LUT INDEX POINTER to fetch data from the LUT. DS1862A XFP Laser Control and Digital Diagnostic IC Security/Password Protection The DS1862A features two separate and independent 32-bit passwords for important memory locations. The host password and the module password allow their own allocated memory locations to be locked to prevent write and/or read access. To enhance the security of the DS1862A, the password entry and setting bytes can never be read. To gain access to host-protected or module-protected memory locations, the correct 32-bit value must be entered into the password entry bytes (PWE) in either a single 4-byte write, or 4 single-byte writes. To reprogram either password, simply enter the appropriate current password to gain memory access, write the new Host or module PW with one 4-byte write, and finally re-enter the new password into the PWE to regain memory access. Power-Up Sequence The DS1862A does require a particular power-up sequence to ensure proper functionality. VCC3 should always be applied first or at the same time as VCC2. If this power-up sequence is not followed, then current can be sourced out of VCC2 as if it was connected to VCC3 with a resistor internal to the DS1862A. If VCC2 is not used then it should be externally connected to VCC3. Signal Conditioners-- EN1 and EN2 and THRSET Signal Conditioners--EN1 and EN2 The EN1 and EN2 output pins are controlled by the bits at address 01h, bits 2 and 1. The logic state of the pins is directly analogous to the logical state of the register. EN1 and EN2 automatically change to a high and low state, respectively, during power-down mode as described in the Power-Down Functionality section. Signal Conditioners--THRSET A programmable voltage source, THRSET, is also provided for use with signal conditioners. This source is programmable from 0 to 1V in 256 increments. I2C and Packet Error Checking (PEC) Information The DS1862A supports I2C data transfers as well as data transfers with PEC. The slave address is unalterable and is set to A0h. The DS1862A, however, does have an additional dedicated pin, MOD-DESEL, which acts as an active-low chip select to enable communication. See the I2C Serial Interface and the I2C Operation Using Packet Error Checking sections for details. 36 Precision SCALE Register Settings for AUX2MON The DS1862A features a factory-trimmed SCALE value for use with DS60 or LM50 temperature sensors. If external temperature measurement on AUX2MON is used with one of these two sensors, the 16-bit SCALE value can be read from Table 05h and written into the SCALE register in Table 04h, Byte 9Ch and 9Dh. This option allows for the most precise setting for SCALE without requiring additional trimming. Since the SCALE register value is precisely trimmed at the factory, the OFFSET register will always be a nonunique value and can simply be written into the OFFSET register. For the DS60, the value of EF0Ah in OFFSET completes the internal calibration. For the LM50, the value of F380h in OFFSET completes the internal calibration. I2C Serial Interface I2C Definitions The following terminology is commonly used to describe I2C data transfers. Master device: The master device controls the slave devices on the bus. The master device generates SCL clock pulses and START and STOP conditions. Slave devices: Slave devices send and receive data at the master's request. Bus idle or not busy: Time between STOP and START conditions when both SDA and SCL are inactive and in their logic-high states. START condition: A START condition is generated by the master to initiate a new data transfer with a slave. Transitioning SDA from high to low while SCL remains high generates a START condition. See Figure 14 for applicable timing. STOP condition: A STOP condition is generated by the master to end a data transfer with a slave. Transitioning SDA from low to high while SCL remains high generates a STOP condition. See Figure 14 for applicable timing. REPEATED START condition: The master can use a REPEATED START condition at the end of one data transfer to indicate that it will immediately initiate a new data transfer following the current one. REPEATED STARTs are commonly used during read operations to identify a specific memory address to begin a data transfer. A REPEATED START condition is issued identically to a normal START condition. See Figure 14 for applicable timing. ______________________________________________________________________________________ XFP Laser Control and Digital Diagnostic IC ter are done according to the bit write definition and the acknowledgement is read using the bit read definition. Byte read: A byte read is an 8-bit information transfer from the slave to the master plus a 1-bit ACK or NACK from the master to the slave. The 8 bits of information that are transferred (most significant bit first) from the slave to the master are read by the master using the bit read definition, and the master transmits an ACK using the bit write definition to receive additional data bytes. The master must NACK the last byte read to terminate communication so the slave returns control of SDA to the master. Slave address byte: Each slave on the I 2 C bus responds to a slave addressing byte sent immediately following a START condition. The slave address byte contains the slave address in the most significant 7 bits and the R/W bit in the least significant bit. The DS1862A's slave address is 1010000Xb. The MOD-DESEL pin is used as a chip select, and allows the device to respond or ignore I2C communication that has A0h as the device address. By writing the correct slave address with R/W = 0, the master indicates it will write data to the slave. If R/W = 1, the master will read data from the slave. If an incorrect slave address is written, the DS1862A assumes the master is communicating with another I2C device and ignores the communications until the next START condition is sent. Memory address: During an I2C write operation, the master must transmit a memory address to identify the memory location where the slave is to store the data. SDA tBUF tHD:STA tLOW tR tSP tF SCL tHD:STA STOP tSU:STA tHIGH tSU:DAT START REPEATED START tSU:STO tHD:DAT NOTE: TIMING IS REFERENCED TO VIL(MAX) AND VIH(MIN). Figure 14. I2C Timing Diagram ______________________________________________________________________________________ 37 DS1862A Bit write: Transitions of SDA must occur during the low state of SCL. The data on SDA must remain valid and unchanged during the entire high pulse of SCL plus the setup and hold time requirements (Figure 14). Data is shifted into the device during the rising edge of the SCL. Bit read: At the end of a write operation, the master must release the SDA bus line for the proper amount of setup time (Figure 14) before the next rising edge of SCL during a bit read. The device shifts out each bit of data on SDA at the falling edge of the previous SCL pulse and the data bit is valid at the rising edge of the current SCL pulse. Remember that the master generates all SCL clock pulses including when it is reading bits from the slave. Acknowledgement (ACK and NACK): An Acknowledgement (ACK) or Not Acknowledge (NACK) is always the 9th bit transmitted during a byte transfer. The device receiving data (the master during a read or the slave during a write operation) performs an ACK by transmitting a zero during the 9th bit. A device performs a NACK by transmitting a one during the 9th bit. Timing (Figure 14) for the ACK and NACK is identical to all other bit writes. An ACK is the acknowledgment that the device is properly receiving data. A NACK is used to terminate a read sequence or as an indication that the device is not receiving data. Byte write: A byte write consists of 8 bits of information transferred from the master to the slave (most significant bit first) plus a 1-bit acknowledgement from the slave to the master. The 8 bits transmitted by the mas- DS1862A XFP Laser Control and Digital Diagnostic IC The memory address is always the second byte transmitted during a write operation following the slave address byte. I2C Communication Writing a single byte to a slave: The master must generate a START condition, write the slave address byte (R/W = 0), write the memory address, write the byte of data, and generate a STOP condition. Remember the master must read the slave's acknowledgement during all byte write operations. Writing multiple bytes to a slave: To write multiple bytes to a slave, the master generates a START condition, writes the slave address byte (R/W = 0), writes the memory address, writes up to 4 data bytes, and generates a STOP condition. The DS1862A is capable of writing 1 to 4 bytes (referred to as one row or page) with a single write transaction. This is internally controlled by an address counter that allows data to be written to consecutive addresses without transmitting a memory address before each data byte is sent. The address counter limits the write to one row of the memory map. Attempts to write to additional memory rows without sending a STOP condition between rows results in the address counter wrapping around to the beginning address of the present row. To prevent address wrapping from occurring, the master must send a STOP condition at the end of the row, and then wait for the bus free or EEPROM write time to elapse. Then the master can generate a new START condition, and write the slave address byte (R/W = 0) and the first memory address of the next memory row before continuing to write data. Acknowledge polling: Any time EEPROM is written, the DS1862A requires the EEPROM write time (tW) after the STOP condition to write the contents of the row to EEPROM. During the EEPROM write time, the DS1862A does not acknowledge its slave address because it is busy. It is possible to take advantage of this phenomenon by repeatedly addressing the DS1862A, which allows the next row to be written as soon as the DS1862A is ready to receive the data. The alternative to acknowledge polling is to wait for the maximum period of tW to elapse before attempting to write again to the DS1862A. EEPROM write cycles: When EEPROM writes occur, the DS1862A writes the whole EEPROM memory 4-byte row even if only a single byte on the row was modified. 38 Writes that do not modify all 4 bytes on the row are allowed and do not corrupt the remaining bytes of memory on the same row. Because the whole row is written, bytes on the row that were not modified during the transaction are still subject to a write cycle. This can result in a whole row being worn out over time by writing a single byte repeatedly. Writing a row one byte at a time wears out the EEPROM four times faster than writing the entire row at once. The DS1862A's EEPROM write cycles are specified in the Nonvolatile Memory Characteristics table. Reading a single byte from a slave: Unlike the write operation that uses the memory address byte to define where the data is to be written, the read operation occurs at the present value of the memory address counter. To read a single byte from the slave at the location currently in the address counter, the master generates a START condition, writes the slave address byte with R/W = 1, reads the data byte with a NACK to indicate the end of the transfer, and generates a STOP condition. Manipulating the address counter for reads: A dummy write cycle can be used to force the address counter to a particular value. To do this the master generates a START condition, writes the slave address byte (R/W = 0), writes the memory address where it desires to read, generates a REPEATED START condition, writes the slave address byte (R/W = 1), reads data with ACK or NACK as applicable, and generates a STOP condition. See Figure 15 for a read example using the REPEATED START condition to specify the starting memory location. Reading multiple bytes from a slave: The read operation can be used to read multiple bytes with a single transfer. When reading bytes from the slave, the master simply ACKs the data byte if it desires to read another byte before terminating the transaction. After the master reads the last byte it NACKs to indicate the end of the transfer and generates a STOP condition. This can be done with or without modifying the address counter's location before the read cycle. If the address counter reaches the last physical address, the internal index pointer loops back to the first memory location in a given memory table. For example, if address FFh in Table 02h is read, the next byte of data to be returned to the master is address 80h in Table 02h, not 00h in lower memory. ______________________________________________________________________________________ XFP Laser Control and Digital Diagnostic IC DS1862A COMMUNICATIONS KEY S START A ACK WHITE BOXES INDICATE THE MASTER IS CONTROLLING SDA P STOP N NOT ACK SHADED BOXES INDICATE THE SLAVE IS CONTROLLING SDA SR REPEATED START X X X 0 0 0 X X X X X NOTE: ALL BYTES ARE SENT MOST SIGNIFICANT BIT FIRST. THE FIRST BYTE SENT AFTER A START CONDITION IS ALWAYS THE SLAVE ADDRESS FOLLOWED BY THE READ/WRITE BIT. 8-BIT ADDRESS OR DATA WRITE A SINGLE BYTE S 1 0 1 0 0 A MEMORY ADDRESS A DATA A A DATA A P WRITE UP TO A 4-BYTE PAGE WITH A SINGLE TRANSACTION S 1 0 1 0 0 0 0 0 A MEMORY ADDRESS A DATA P READ A SINGLE BYTE WITH A DUMMY WRITE CYCLE TO SET THE ADDRESS COUNTER S 1 0 1 0 0 0 0 0 MEMORY ADDRESS A A SR 1 0 1 0 0 0 0 0 A DATA N 1 0 1 0 0 0 0 0 A DATA A P READ MULTIPLE BYTES WITH A DUMMY WRITE CYCLE TO SET THE ADDRESS COUNTER S 1 0 1 0 0 0 DATA 0 0 A MEMORY ADDRESS A A DATA SR A DATA N P Figure 15. I2C Communications Examples I2C Operation Using Packet Error Checking Read Operation with Packet Error Checking Packet error checking during reads is supported by the DS1862A. Information is transferred form the DS1862A in much the same way as conventional I2C protocol, however, an extra CRC field is added and checked. The master still begins by sending the device address (A0h for DS1862A), then the index pointer to the memory address of interest. The next byte transferred, however, is the value of the intended number of bytes to be read. The calculation of the CRC-8 includes and requires the explicit starting memory address to be included as the second transferred byte (dummy write byte). Next, the slave transfers the data back as the master acknowledges. Only 1 to 128 bytes can be sequentially read during one transmission while using PEC. After the master reads the intended number of bytes, the CRC-8 value is transmitted by the DS1862A. The master ends the communication with a NACK and a STOP. See Figure 16 for a graphical representation. The CRC-8 is calculated starting with the MSB of the memory address pointer, number of bytes to read, and the read data. The master can then verify the CRC-8 value and reject the read data if the CRC-8 value does not correspond to the received CRC value. The CRC-8 must be calculated by using the following polynomial for both reads and writes: C(x) = X8 +X2 + X + 1 Write Operation with Packet Error Checking Packet error checking during writes is also supported by the DS1862A. Information is written to the DS1862A in much the same way as conventional I2C protocol, however, an extra CRC field is added and checked. The master still begins by sending the device address, then the index pointer to the memory address of interest. The next byte, however, is the value of the intended number of bytes to be written. The calculation of the ______________________________________________________________________________________ 39 DS1862A XFP Laser Control and Digital Diagnostic IC CRC-8 includes and requires the explicit starting memory address to be included as the second transferred byte. Next, the master transfers the data as the DS1862A acknowledges. Only 4 bytes can be sequentially written during one transmission while using PEC. After the master writes the intended number of bytes, the CRC-8 value should be transmitted. Following the CRC-8 byte, the master should transmit the CAB byte (CRC Add-on Byte). At this point, the DS1862A sends an ACK if the CRC-8 matches its internal calculated value or a NACK if not. Finally, the master should end the communication and send a STOP. See Figure 16 for a graphical representation. The CRC-8 is calculated starting with the MSB of the memory address pointer, number of bytes to be written, and the written data. The master can then poll the last ACK or NACK for successful transfer of written data. For more information on I2C PEC communications, refer to the XFP and/or SMBus 2.0 standard. Applications Information Calibrating APC and Extinction Ratio Before calibrating, the APC register should be set to a low value to ensure the laser's maximum power level is not exceeded before the power level is calibrated. Additionally, the ER should be set to a minimum value to ensure that a data test pattern does not cause the laser to shut off. Once the APC and ER registers are at minimal values, enable a data pattern and calibrate the average power level. Calibrating the Average Power Level While sending data through the laser diode, increase the value in the APC register until the light output matches the desired average power level. The average power level is the arithmetic average of the `1' and `0' power levels. COMMUNICATIONS KEY S START A ACK WHITE BOXES INDICATE THE MASTER IS CONTROLLING SDA P STOP N NOT ACK SHADED BOXES INDICATE THE SLAVE IS CONTROLLING SDA SR REPEATED START X X X X X X X X NOTE: ALL BYTES ARE SENT MOST SIGNIFICANT BIT FIRST. THE FIRST BYTE SENT AFTER A START CONDITION IS ALWAYS THE SLAVE ADDRESS FOLLOWED BY THE READ/WRITE BIT. 8-BIT ADDRESS OR DATA WRITE UP TO A 4-BYTE PAGE WITH A SINGLE TRANSACTION USING PEC S 1 0 1 0 0 0 0 0 DATA A MEMORY ADDRESS A NUMBER OF BYTES A DATA A A DATA A DATA A CRC-8 VALUE A NUMBER OF BYTES A P A (IF CRC-8 IS CORRECT) DATA READ 1-128 BYTES WITH A DUMMY WRITE CYCLE TO SET THE ADDRESS COUNTER S 1 0 1 0 0 0 DATA 0 0 MEMORY ADDRESS A A A DATA A SR CRC-8 VALUE 1 0 1 0 0 N P 0 Figure 16. I2C PEC Communications Examples 40 ______________________________________________________________________________________ 0 0 A XFP Laser Control and Digital Diagnostic IC SDA and SCL Pullup Resistors SDA is an open-collector bidirectional data pin on the DS1862A that requires a pullup resistor to realize high logic levels. Either an open-collector output with a pullup resistor or a push-pull output driver can be utilized for the SCL input. Pullup resistor values should be chosen to ensure that the rise and fall times listed in the I2C AC Electrical Characteristics are within specification. Typical Operating Circuit 1.8V 3.3V 0.1F 0.1F HOST 3.3V 3.3V 10nF 1k 4.7k 4.7k VCC2 VCC3 FETG SDA OUT IBIASMON SCL BIASSET TX-DISABLE 3.3V 3.3V MONITOR TX-D TX-DISABLE DS1862A 3.3V MODSET BIASSET DISABLE MODSET MAX3975 LASER DRIVER MOD-DESEL 10k 10k 10k P-DOWN/RST RX-LOS THRSET VTH SC-RX-LOS LOS SC-RX-LOL LOL MOD-NR EN2 FCTL2 INTERRUPT EN1 FCTL1 AUX1MON * LIMITING AMP FCTL1 AUX2MON SC-TX-LOS GND MAX3991 BMD RSSI FCTL2 LOS MAX3992 EQUALIZER RECEIVER CURRENT SENSE (VOLTAGE) 1nF *ADDITIONAL MONITORS NOT USED IN THIS EXAMPLE. ______________________________________________________________________________________ 41 DS1862A Power-Supply Decoupling To achieve best results, it is recommended that the power supply is decoupled with a 0.01F or a 0.1F capacitor. Use high-quality, ceramic, surface-mount capacitors, and mount the capacitors as close as possible to the VCC2/VCC3 and GND pins to minimize lead inductance. DS1862A XFP Laser Control and Digital Diagnostic IC Chip Information TRANSISTOR COUNT: 75,457 SUBSTRATE CONNECTED TO GROUND Package Information For the latest package outline information and land patterns, go to www.maxim-ic.com/packages. PACKAGE TYPE PACKAGE CODE DOCUMENT NO. 25 CSBGA X25+1 21-0361 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. 42 ____________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 (c) 2008 Maxim Integrated Products Maxim is a registered trademark of Maxim Integrated Products, Inc. Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Maxim Integrated: DS1862AB+ DS1862AB+T&R