19-5188; Rev 1; 4/10 SFP Controller for Dual Rx Interface The DS1877 controls and monitors all functions for SFF, SFP, and SFP+ modules including all SFF-8472 functionality. The device supports all LOS functions for two receivers, and continually monitors for LOS of either channel. Four ADC channels monitor VCC, temperature, and two differential external monitor inputs that can be used to meet all monitoring requirements. Two digitalto-analog converter (DAC) outputs with temperatureindexed lookup tables (LUTs) are available for additional monitoring and control functionality. Applications SFF, SFP, and SFP+ Transceiver Modules Dual Rx Video SFPs Ordering Information PART TEMP RANGE PIN-PACKAGE DS1877T+ -40NC to +95NC 28 TQFN-EP* DS1877T+T&R -40NC to +95NC 28 TQFN-EP* +Denotes a lead(Pb)-free/RoHS-compliant package. T&R = Tape and reel. *EP = Exposed pad. Features S Meets All SFF-8472 Control and Monitoring Requirements S Four Analog Monitor Channels: Temperature, VCC, RSSI1, RSSI2 RSSI1 and RSSI2 Support Internal and External Calibration Differential Input Common-Mode Range from GND to VCC Scalable Dynamic Range Internal Direct-to-Digital Temperature Sensor Alarm and Warning Flags for All Monitored Channels S Two 10-Bit Delta-Sigma Outputs Each Controlled by 72-Entry Temperature LUT S Digital I/O Pins: Four Inputs, Four Outputs S Comprehensive Loss-of-Signal (LOS) Detection System S Flexible, Two-Level Password Scheme Provides Three Levels of Security S 120 Bytes of Password-1 Protected Memory S 128 Bytes of Password-2 Protected Memory in Main Device Address S 256 Additional Bytes Located at A0h Slave Address S Receiver 1 is Accessed at A2h Slave Address S Receiver 2 is Accessed at B2h Slave Address S I2C-Compatible Interface S +2.85V to +3.9V Operating Voltage Range S -40NC to +95NC Operating Temperature Range S 28-Pin TQFN (5mm x 5mm x 0.75mm) Package ________________________________________________________________ Maxim Integrated Products 1 For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642, or visit Maxim's website at www.maxim-ic.com. DS1877 General Description DS1877 SFP Controller for Dual Rx Interface TABLE OF CONTENTS Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Recommended Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 DC Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 DAC1, DAC2 Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Analog Voltage Monitoring Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 AC Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Analog Quick-Trip Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Quick-Trip Timing Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Digital Thermometer Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 I2C AC Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Nonvolatile Memory Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Typical Operating Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Pin Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Typical Operating Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 DACs During Power-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Quick-Trip Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Monitors and Fault Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Monitors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Two Quick-Trip Monitors and Alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Four ADC Monitors and Alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 ADC Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Right-Shifting ADC Result . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Differential RSSI1/RSSI2 Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Enhanced RSSI Monitoring (Dual-Range Functionality) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Crossover Enabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Crossover Disabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Low-Voltage Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Delta-Sigma Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Digital I/O Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 LOS1, LOS2, and LOSOUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 INX, RSEL, OUTX, RSELOUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 FAULT Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Die Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2 SFP Controller for Dual Rx Interface I2C Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 I2C Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 I2C Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Memory Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Shadowed EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Memory Map Access Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Memory Addresses A0h, A2h, and B2h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Lower Memory Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Table 01h Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Table 02h Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Table 04h Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Table 05h Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Auxiliary Memory A0h Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Lower Memory Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Table 01h Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Table 02h Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Table 04h Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Auxiliary Memory A0h Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Applications Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Power-Supply Decoupling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 SDA and SCL Pullup Resistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Package Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 3 DS1877 TABLE OF CONTENTS (continued) DS1877 SFP Controller for Dual Rx Interface LIST OF FIGURES Figure 1. Power-Up Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Figure 2. Quick-Trip Sample Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Figure 3. ADC Round-Robin Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Figure 4. RSSI1/RSSI2 Differential Input for High-Side RSSI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Figure 5. Crossover Enabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Figure 6. Crossover Disabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Figure 7. Low-Voltage Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Figure 8. Recommended RC Filter for DAC Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Figure 9. 3-Bit (8-Position) Delta-Sigma Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Figure 10. DAC Offset LUTs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Figure 11. Logic Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Figure 12. I2C Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Figure 13. Example I2C Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Figure 14. Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 LIST OF TABLES Table 1. Acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Table 2. ADC Default Monitor Full-Scale Ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Table 3. RSSI1/RSSI2 Configuration Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Table 4. RSSI1/RSSI2 Hysteresis Threshold Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4 SFP Controller for Dual Rx Interface Voltage Range on RSSI1_, RSSI2_, INX, LOS1, and LOS2 Pins Relative to Ground....... -0.5V to (VCC + 0.5V)* Voltage Range on VCC, SDA, SCL, OUTX, FAULT, RSELOUT, and LOSOUT Pins Relative to Ground.....-0.5V to +6V Continuous Power Dissipation 28-Pin TQFN (derate 34.5mW/NC) above +70NC.....2758.6mW Operating Temperature Range........................... -40NC to +95NC Programming Temperature Range........................ 0NC to +95NC Storage Temperature Range............................. -55NC to +125NC Lead Temperature (soldering, 10s).................................+300NC Soldering Temperature (reflow).......................................+260NC *Subject to not exceeding +6V. 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 (TA = -40NC to +95NC, unless otherwise noted.) PARAMETER SYMBOL MAX UNITS +2.85 +3.9 V VIH:1 0.7 x VCC VCC + 0.3 V Low-Level Input Voltage (SDA, SCL) VIL:1 -0.3 0.3 x VCC V High-Level Input Voltage (FAULT, RSEL, INX, LOS1, LOS2) VIH:2 2.0 VCC + 0.3 V Low-Level Input Voltage (FAULT, RSEL, INX, LOS1, LOS2) VIL:2 -0.3 +0.8 V TYP MAX UNITS 2.5 10 mA 1 FA Main Supply Voltage VCC High-Level Input Voltage (SDA, SCL) CONDITIONS (Note 1) MIN TYP DC ELECTRICAL CHARACTERISTICS (VCC = +2.85V to +3.9V, TA = -40NC to +95NC, unless otherwise noted.) PARAMETER SYMBOL Supply Current ICC Output Leakage (SDA, OUTX, RSELOUT, LOSOUT, FAULT) ILO Low-Level Output Voltage (SDA, OUTX, RSELOUT, LOSOUT, DAC1, DAC2, FAULT) VOL High-Level Output Voltage (DAC1, DAC2) VOH CONDITIONS MIN (Notes 1, 2) IOL = 4mA 0.4 IOL = 6mA 0.6 IOH = 4mA V VCC 0.4 DAC1 and DAC2 Before LUT Recall Input Leakage Current (SCL, RSEL, INX, LOS1, LOS2) V 10 ILI 100 nA 1 FA Digital Power-On Reset POD 1.0 2.2 V Analog Power-On Reset POA 2.0 2.75 V 5 DS1877 ABSOLUTE MAXIMUM RATINGS DS1877 SFP Controller for Dual Rx Interface DAC1, DAC2 ELECTRICAL CHARACTERISTICS (VCC = +2.85V to +3.9V, TA = -40NC to +95NC, unless otherwise noted.) PARAMETER Main Oscillator Frequency Delta-Sigma Input-Clock Frequency Reference Voltage Input (REFIN) SYMBOL CONDITIONS TYP MAX UNITS 5 MHz fDS fOSC/2 MHz VREFIN Minimum 0.1FF to GND Output Range 2 VCC V 0 VREFIN V 10 Bits 35 100 I TYP MAX UNITS See the Delta-Sigma Outputs section for details Output Resolution Output Impedance MIN fOSC RDS ANALOG VOLTAGE MONITORING CHARACTERISTICS (VCC = +2.85V to +3.9V, TA = -40NC to +95NC, unless otherwise noted.) PARAMETER SYMBOL CONDITIONS MIN ADC Resolution Input/Supply Accuracy (RSSI1_, RSSI2_, VCC) 13 ACC Update Rate for Temperature, RSSI1_, RSSI2_, VCC tRR Input/Supply Offset (RSSI1_, RSSI2_, VCC) VOS At factory setting (Note 3) RSSI1/RSSI2 coarse Factory Setting (Note 4) Bits 0.25 0.5 %FS 45 75 ms 0 5 LSB 2.5 VCC 6.5536 RSSI1/RSSI2 fine 312.5 V FV AC ELECTRICAL CHARACTERISTICS (VCC = +2.85V to +3.9V, TA = -40NC to +95NC, unless otherwise noted.) PARAMETER SYMBOL Fault Reset Time (to FAULT = 0) tINITR CONDITIONS TYP MAX UNITS 161 ms LOS_ LO (Note 6) 25.6 Fs 25.6 Fs LOSOUT Assert Time tLOSS_ON LOSOUT Deassert Time tLOSS_OFF LOS_ HI (Note 7) 6 MIN From h VCC > VCC LO alarm (Note 5) SFP Controller for Dual Rx Interface DS1877 ANALOG QUICK-TRIP CHARACTERISTICS (VCC = +2.85V to +3.9V, TA = -40NC to +95NC, unless otherwise noted.) PARAMETER SYMBOL CONDITIONS MIN RSSI Full-Scale Voltage TYP MAX UNITS 65 kW Bits 1.25 Input Resistance 35 Resolution 50 V 8 Error %FS 2 TA = +25C Integral Nonlinearity -1 +1 Differential Nonlinearity -1 +1 LSB LSB Temperature Drift -2 +2 %FS Offset -5 +10 mV MAX UNITS QUICK-TRIP TIMING CHARACTERISTICS (VCC = +2.85V to +3.9V, TA = -40NC to +95NC, unless otherwise noted.) PARAMETER SYMBOL Output-Enable Time Following POA tINIT Sample Time per Quick-Trip Comparison tREP CONDITIONS MIN (Note 5) TYP 20 ms 12.8 Fs DIGITAL THERMOMETER CHARACTERISTICS (VCC = +2.85V to +3.9V, TA = -40NC to +95NC, unless otherwise noted.) PARAMETER Thermometer Error SYMBOL TERR CONDITIONS MIN TYP -3 -40NC to +95NC MAX UNITS +3 NC I2C AC ELECTRICAL CHARACTERISTICS (VCC = +2.85V to +3.9V, TA = -40NC to +95NC, unless otherwise noted. Timing is referenced to VIL(MAX) and VIH(MIN).) (Figure 12) PARAMETER SYMBOL CONDITIONS (Note 8) MIN 0 TYP MAX UNITS 400 kHz SCL Clock Frequency fSCL Clock Pulse-Width Low tLOW 1.3 Fs Clock Pulse-Width High tHIGH 0.6 Fs Bus Free Time Between STOP and START Condition tBUF 1.3 Fs START Hold Time tHD:STA 0.6 Fs START Setup Time tSU:STA 0.6 Data Out Hold Time tHD:DAT 0 Data In Setup Time Fs 0.9 Fs tSU:DAT 100 Rise Time of Both SDA and SCL Signals tR (Note 9) 20 + 0.1CB 300 ns Fall Time of Both SDA and SCL Signals tF (Note 9) 20 + 0.1CB 300 ns 400 pF 20 ms STOP Setup Time tSU:STO Capacitive Load for Each Bus Line CB EEPROM Write Time tWR ns 0.6 (Note 10) Fs 7 DS1877 SFP Controller for Dual Rx Interface NONVOLATILE MEMORY CHARACTERISTICS (VCC = +2.85V to +3.9V, unless otherwise noted.) PARAMETER EEPROM Write Cycles Note Note Note Note Note Note Note Note Note Note 8 SYMBOL CONDITIONS MIN At +25NC 200,000 At +85NC 50,000 TYP MAX UNITS -- All voltages are referenced to ground. Current into the IC is positive, and current out of the IC is negative. Inputs are at supply rail. Outputs are not loaded. This parameter is guaranteed by design. Full-scale is user programmable. A temperature conversion is completed and the DAC values are recalled from the LUTs and VCC has been measured to be above the VCC LO alarm, if the VCC LO alarm is enabled. 6: This specification is the time it takes from RSSI1_ and RSSI2_ voltage falling below the LLOS_ trip threshold to LOSOUT asserted high. 7: This specification is the time it takes from RSSI1_ and RSSI2_ voltage rising above the HLOS_ trip threshold to LOSOUT asserted high. 8: I2C interface timing shown is for fast-mode (400kHz) operation. This device is also backward compatible with I2C standard mode. 9: CB--Total capacitance of one bus line in pF. 10: EEPROM write begins after a STOP condition occurs. 1: 2: 3: 4: 5: SFP Controller for Dual Rx Interface (VCC = +3.3V, TA = +25NC, unless otherwise noted.) SUPPLY CURRENT vs. SUPPLY VOLTAGE +95C 2.35 +25C 2.30 2.25 2.20 2.15 2.40 -40C 2.10 DAC POSITIONS = 1FFh SDA = SCL = VCC 2.45 SUPPLY CURRENT (mA) SUPPLY CURRENT (mA) 2.40 2.35 VCC = 3.9V 2.30 2.25 VCC = 3.3V 2.20 2.15 VCC = 2.85V 2.10 2.05 2.05 2.00 2.00 2.85 3.15 3.45 3.75 -40 -15 VCC (V) 10 35 60 85 TEMPERATURE (C) DAC1/DAC2 DNL DAC1/DAC2 INL 0.8 2 DAC1/DAC2 INL (LSB) 0.6 0.4 0.2 0 -0.2 -0.4 DS1877 toc04 3 DS1877 toc03 1.0 DAC1/DAC2 DNL (LSB) DS1877 toc02 SDA = SCL = VCC DACs AT 1FFh 2.45 SUPPLY CURRENT vs. TEMPERATURE 2.50 DS1877 toc01 2.50 -0.6 1 0 -1 -2 -0.8 -1.0 -3 500 1000 0 500 DAC POSITION (DEC) RSSI1/RSSI2 DNL RSSI1/RSSI2 INL USING FACTORY-PROGRAMMED FULL-SCALE VALUE OF 2.5V 0.8 0.4 0.2 0 -0.2 -0.4 0.6 0.4 0.2 0 -0.2 -0.4 -0.6 -0.6 -0.8 -0.8 -1.0 USING FACTORY-PROGRAMMED FULL-SCALE VALUE OF 2.5V 0.8 RSSI1/RSSI2 INL (LSB) 0.6 RSSI1/RSSI2 DNL (LSB) 1.0 DS1877 toc05 1.0 1000 DAC POSITION (DEC) DS1877 toc06 0 -1.0 0 0.5 1.0 1.5 2.0 RSSI1/RSSI2 INPUT VOLTAGE (V) 2.5 0 0.5 1.0 1.5 2.0 2.5 RSSI1/RSSI2 INPUT VOLTAGE (V) 9 DS1877 Typical Operating Characteristics DS1877 SFP Controller for Dual Rx Interface RSSI1N VCC N.C. 20 DAC2 21 GND DAC1 TOP VIEW GND Pin Configuration 19 18 17 16 15 REFIN 22 14 RSSI1P N.C. 23 13 RSSI2N N.C. 24 12 RSSI2P 11 N.C. 10 DNC N.C. 25 DS1877 VCC 26 LOSOUT 27 *EP 3 4 5 6 7 SCL FAULT LOS1 INX LOS2 1 RSELOUT 2 SDA + OUTX 28 9 RSEL 8 GND THIN QFN (5mm x 5mm x 0.8mm) *EXPOSED PAD. Pin Description PIN NAME 1 RSELOUT FUNCTION 2 SCL I2C Serial-Clock Input 3 SDA I2C Serial-Data Input/Output Rate-Select Output PIN NAME FUNCTION 12, 13 RSSI2P, RSSI2N Differential External Monitor Input 2 and LOS2 LO Quick Trip 14, 17 RSSI1P, RSSI1N Differential External Monitor Input 1 and LOS1 LO Quick Trip 4 FAULT Transmit Fault Input and Output, Open Drain 16, 26 VCC 5 LOS1 Loss-of-Signal Input 1 19 DAC2 DAC2, Delta-Sigma Output DAC1 DAC1, Delta-Sigma Output INX Digital Input. General-purpose input, AS1 in SFF-8079, or RS1 in SFF-8431. 20 6 22 REFIN Reference Input for DAC1 and DAC2 7 LOS2 Loss-of-Signal Input 2 27 LOSOUT Receive Loss-of-Signal Output 8, 18, 21 GND Ground Connection 9 RSEL Rate-Select Input 28 OUTX 10 DNC Do Not Connect Digital Output. General-purpose output, AS1 output in SFF-8079, or RS1 output in SFF-8431. 11, 15, 23, 24, 25 N.C. No Connection. Not internally connected. -- EP Exposed Pad (Connect to GND) 10 Power-Supply Input SFP Controller for Dual Rx Interface VCC REFIN VCC SDA SCL MAIN MEMORY AT A2h/B2h EEPROM/SRAM I2C INTERFACE EEPROM 256 BYTES AT A0h A/D CONFIGURATION/RESULTS, SYSTEM STATUS/CONTROL BITS, ALARMS/WARNINGS, LOOKUP TABLES, USER MEMORY 10-BIT DELTA-SIGMA DAC DAC1 10-BIT DELTA-SIGMA DAC DAC2 VCC ANALOG MUX RSSI1P RSSI1N RSSI2P RSSI2N 13-BIT ADC 8-BIT QTs DS1877 POWER-ON ANALOG INTERRUPT FAULT TEMPERATURE SENSOR RSELOUT RSEL INX LOGIC CONTROL OUTX LOS1 LOSOUT LOS2 GND 11 DS1877 Block Diagram SFP Controller for Dual Rx Interface DS1877 Typical Operating Circuit +3.3V R RX2 THRESH2 ROUT2+ ROUT2- LOS2 +3.3V R RX1 ROUT1+ ROUT1- RC FILTERS THRESH1 DAC1 LOS1 DS1877 EEPROM LOS1 LOS2 FAULT FAULT DAC2 LOSOUT LOS LOS RSSI1 RSSI2 I2C ADC 12 SDA SCL MODE_DEF2 (SDA) MODE_DEF1 (SCL) SFP Controller for Dual Rx Interface The DS1877 integrates the control and monitoring functionality required in an SFP or SFP+ system. The device is specifically designed for a dual-receiver SFP module. Key components of the device are shown in the Block Diagram and described in subsequent sections. ACRONYM DACs During Power-Up On power-up, the device sets the DACs to high impedance. After time tINIT, the DACs are set to an initial condition set in EEPROM. After a temperature conversion is completed and if the VCC LO alarm is enabled, an additional VCC conversion above the customer-defined VCC LO alarm level is required before the DACs are updated with the value determined by the temperature conversion and the DAC LUT. See Figure 1. DESCRIPTION ADC Analog-to-Digital Converter AGC Automatic Gain Control APC Automatic Power Control APD Avalanche Photodiode ATB Alarm Trap Bytes DAC Digital-to-Analog Converter LOS Loss of Signal LUT Lookup Table NV Nonvolatile QT Quick Trip TIA Transimpedance Amplifier ROSA Quick-Trip Timing As shown in Figure 2, the device's input comparator is shared between two LOS comparisons. The comparator polls the alarms in a multiplexed sequence. The comparator checks the LOS (RSSI1_ and RSSI2_) signals against the internal reference. Depending on the results of the comparison, the corresponding alarms and warnings are asserted or deasserted. Any QT alarm that is detected by default remains active until a subsequent comparator sample shows that the condition no longer exists. DS1877 Table 1. Acronyms Detailed Description Receiver Optical Subassembly SEE Shadowed EEPROM SFF Small Form Factor Document Defining Register Map of SFPs and SFFs SFF-8472 SFP Small Form Factor Pluggable SFP+ Enhanced SFP VPOA VCC DAC SETTINGS tINIT 500s HIGH IMPEDANCE OFF STATE LUT VALUE Figure 1. Power-Up Timing QUICK-TRIP SAMPLE TIMES LOS2 LOS1 LOS2 LOS1 tREP Figure 2. Quick-Trip Sample Timing 13 DS1877 SFP Controller for Dual Rx Interface Monitors and Fault Detection Monitors Monitoring functions on the device include two QT comparators and four ADC channels. This monitoring combined with the alarm enables (Table 01h/05h) determines when/if the device triggers the FAULT and/or LOSOUT outputs. All the monitoring levels and interrupt masks are user programmable. Two Quick-Trip Monitors and Alarms Two quick-trip monitors are provided that monitor the following: 1) Loss of signal 1 (LOS1 LO) 2) Loss of signal 2 (LOS2 LO) The LOS_ LO QTs compare the RSSI_ input against its threshold setting to determine if the present received power is below the specification. The LOS_ LO QT can be used to set the LOSOUT pin. Four ADC Monitors and Alarms The ADC monitors 4 channels that measure temperature (internal temp sensor), VCC, RSSI1, and RSSI2 using an analog multiplexer to measure them round-robin with a single ADC (see the ADC Timing section). The 3V channels have a customer-programmable full-scale range, and all channels have a customer-programmable offset value that is factory programmed to a default value (see Table 2). Additionally, RSSI1 and RSSI2 can right-shift results by up to 7 bits before the results are compared to alarm thresholds or read over the I2C bus. This allows customers with specified ADC ranges to calibrate the ADC full scale to a factor of 1/2n of their specified range to measure small signals. The device can then right-shift the results by n bits to maintain the bit weight of their specification (see the Right-Shifting ADC Result section). The ADC results (after right-shifting, if used) are compared to the alarm and warning thresholds after each conversion, and the corresponding alarms are set that can be used to trigger the FAULT output. These ADC thresholds are user programmable, as are the masking registers that can be used to prevent the alarms from triggering the FAULT output. ADC Timing There are four analog channels that are digitized in a round-robin fashion in the order as shown in Figure 3. The total time required to convert all 4 channels is tRR (see the Analog Voltage Monitoring Characteristics for details). Right-Shifting ADC Result If the weighting of the ADC digital reading must conform to a predetermined full-scale (PFS) value defined by a standard's specification (e.g., SFF-8472), then rightshifting can be used to adjust the PFS analog measurement range while maintaining the weighting of the ADC results. The device's range is wide enough to cover all requirements; when the maximum input value is P 1/2 the FS value, right-shifting can be used to obtain greater accuracy. For instance, the maximum voltage might be 1/8 the specified PFS value, so only 1/8 of the converter's range is effective over this range. An alternative is to calibrate the ADC's full-scale range to 1/8 the readable PFS value and use a right-shift value of 3. With this implementation, the resolution of the measurement is increased by Table 2. ADC Default Monitor Full-Scale Ranges +FS SIGNAL +FS HEX -FS SIGNAL -FS HEX Temperature (NC) SIGNAL (UNITS) 127.996 7FFF -128 8000 VCC (V) 6.5528 FFF8 0 0000 RSSI1, RSSI2 (V) 2.4997 FFF8 0 0000 ONE ROUND-ROBIN ADC CYCLE TEMP VCC RSSI1 FINE RSSI1 COARSE RSSI2 FINE RSSI2 COARSE TEMP tRR NOTE: IF THE VCC LO ALARM IS ENABLED AT POWER-UP, THE ADC ROUND-ROBIN TIMING CYCLES BETWEEN TEMPERATURE AND VCC ONLY UNTIL VCC IS ABOVE THE VCC LO ALARM THRESHOLD. Figure 3. ADC Round-Robin Timing 14 SFP Controller for Dual Rx Interface The right-shift operation on the ADC result is carried out based on the contents of right-shift control registers (Table 02h, Registers 8Eh-8Fh) in EEPROM. Two analog channels--RSSI1 and RSSI2--each have 3 bits allocated to set the number of right-shifts. Up to seven right-shift operations are allowed and are executed as a part of every conversion before the results are compared to the high and low alarm levels, or loaded into their corresponding measurement registers (Lower Memory, Registers 64h to 6Bh). This is true during the setup of internal calibration as well as during subsequent data conversions. Differential RSSI1/RSSI2 Inputs The device offers fully differential inputs for RSSI1 and RSSI2. This enables high-side monitoring of RSSI, as shown in Figure 4. It also reduces board complexity by VCC RSSI_P R RSSI_N DS1877 ADC ROSA Figure 4. RSSI1/RSSI2 Differential Input for High-Side RSSI eliminating the need for a high-side differential amplifier or a current mirror. Enhanced RSSI Monitoring (Dual-Range Functionality) The device offers a feature to improve the accuracy and range of RSSI1/RSSI2, which is most commonly used for monitoring RSSI. Using a traditional input, the RSSI measurement accuracy can be increased at the cost of reduced input signal swing. The device eliminates this trade-off by offering "dual-range" calibration on the RSSI1/RSSI2 channels. The dual-range calibration can operate in two modes: crossover enabled and crossover disabled. Dual-range operation is enabled by default (factory programmed in EEPROM). However, it can easily be disabled by the RSSIn_FC and RSSIn_FF bits (where n can be 1 or 2) in 8Dh, Table 02h. Dual-range functionality consists of two ADC modes of operation: fine mode and coarse mode. Each mode is calibrated for a unique transfer function, hence the term, dual range. Table 3 highlights the registers related to RSSI1/RSSI2. Fine mode is calibrated using the gain, offset, and right-shifting registers at locations shown in Table 3, and is ideal for relatively small analog-input voltages. Coarse mode is automatically switched to when the input exceeds a threshold. Coarse mode is calibrated using different gain and offset registers from fine mode. The gain and offset registers for coarse mode are also shown in Table 3. Additional information for each of the registers can be found in the memory map (Figure 14). Table 3. RSSI1/RSSI2 Configuration Registers REGISTER FINE MODE COARSE MODE RSSI1/RSSI2 Gain (RSSI1/2 FINE/COARSE SCALE) 9Eh-9Fh/9Ah-9Bh, Table 02h 9Ch-9Dh/98h-99h, Table 02h RSSI1/RSSI2 Offset (RSSI1/2 FINE/COARSE OFFSET) AEh-AFh/AAh-ABh, Table 02h ACh-ADh/A8h-A9h, Table 02h Right-Shift (RSHIFT1, RSHIFT2) 8Eh-8Fh, Table 02h 8Eh-8Fh, Table 02h Crossover (XOVER1/XOVER2 FINE/COARSE) A6h-A7h/96h-97h, Table 02h A4h-A5h/94h-95Fh, Table 02h FORCE RSSI (RSSIn_FC and RSSIn_FF Bits) 8Dh, Table 02h UPDATE (RSSIR Bit) 6Fh, Lower Memory RSSI VALUE (RSSI1/RSSI2 Measurement) 68h-69h, Lower Memory 15 DS1877 a factor of 8, and because the result is digitally divided by 8 by right-shifting, the bit weight of the measurement still meets the standard's specification (i.e., SFF-8472). DS1877 SFP Controller for Dual Rx Interface Dual-range operation is transparent to the end user. The results of RSSI1/RSSI2 ADCs are still stored/reported in the same memory locations (68h-69h, Lower Memory) regardless of whether the conversion was performed in fine mode or coarse mode. The RSSIR bit indicates whether a fine or coarse conversion generated the digital result. When the device is powered up, ADCs begin in a roundrobin fashion. Every RSSI1/RSSI2 time slice begins with a fine mode ADC (using fine mode's gain, offset, and right-shifting settings). If the value is too large for a fine conversion, a coarse conversion is performed and the result is reported. The coarse-mode conversion is performed using the coarse gain and offset settings. The intersection between coarse and fine depends on the crossover mode used. The RSSIn_FC and RSSIn_FF bits are used to force fine-mode or coarse-mode conversions or to disable the dual-range functionality. Dual-range functionality is enabled by default (both RSSIn_FC and RSSIn_FF are factory programmed to 0 in EEPROM). Dual-range functionality can be disabled by setting RSSIn_FC to 0 and RSSIn_FF to 1. These bits are also useful when calibrating RSSI1/RSSI2. See the register descriptions and memory map for additional information. Crossover Enabled For systems with a nonlinear relationship between the ADC input and desired ADC result, the mode should be set to crossover enabled (Figure 5). The RSSI measurement of an APD receiver is one such application. Using the crossover-enabled mode allows a piecewise linear approximation of the nonlinear response of the APD's gain factor. The crossover point is the value where the fine and coarse ranges intersect. The ADC result transitions between the fine and coarse ranges as defined by the XOVER registers. Right-shifting, slope adjustment, and offset are configurable for both the fine and coarse ranges. The XOVER1/XOVER2 FINE registers determine the maximum results returned by the fine ADC conversions before right-shifting. The XOVER1/ XOVER2 COARSE registers determine the minimum results returned by coarse ADC conversions before right-shifting. Crossover Disabled The crossover-disabled mode is intended for systems with a linear relationship between the RSSI1/RSSI2 input and the desired ADC result. The ADC result transitions 16 between the fine and coarse ranges with hysteresis, as shown in Figure 6. In crossover-disabled mode, the thresholds between coarse and fine mode are a function of the number of right-shifts being used. With the use of right-shifting, the fine-mode full scale is programmed to (1/2n) of the coarse-mode full scale. The device now automatically ranges to choose the range that gives the best resolution for the measurement. Table 4 shows the threshold values for each possible number of right-shifts. Low-Voltage Operation The device contains two power-on reset (POR) levels. The lower level is a digital POR (POD) and the higher level is an analog POR (POA). At startup, before the supply voltage rises above POA, the outputs are disabled, all SRAM locations are set to their defaults, shadowed EEPROM (SEE) locations are zero, and all analog circuitry is disabled. When VCC reaches POA, the SEE is recalled, and the analog circuitry is enabled. While VCC remains above POA, the device is in its normal operating state, and it responds based on its nonvolatile configuration. If during operation VCC falls below POA, but is still above POD, the SRAM retains the SEE settings from the first SEE recall, but the device analog is shut down and the outputs disabled. If the supply voltage recovers back above POA, the device immediately resumes normal operation. If the supply voltage falls below POD, the device SRAM is placed in its default state and another SEE recall is required to reload the nonvolatile settings. The EEPROM recall occurs the next time VCC next exceeds POA. Figure 7 shows the sequence of events as the voltage varies. Table 4. RSSI1/RSSI2 Hysteresis Threshold Values NO. OF RIGHTSHIFTS FINE MODE MAX (HEX) COARSE MODE MIN* (HEX) 0 FFF8 F000 1 7FFC 7800 2 3FFE 3C00 3 1FFF 1E00 4 0FFF 0F00 5 07FF 0780 6 03FF 03C0 7 01FF 01E0 *This is the minimum reported coarse-mode conversion. SFP Controller for Dual Rx Interface DS1877 RSSI RESULT CROSSOVER POINT IDEAL RESPONSE RSSI_ INPUT Figure 5. Crossover Enabled PON SE RSSI RESULT RES ALE L-SC A FINE FUL CO FT SHI TIGH SC LL- FU =3 ER FIN E RS SE ON ESP R ALE HYSTERESIS RSSI_ INPUT FINE COARSE Figure 6. Crossover Disabled SEE RECALL SEE RECALL VPOA VCC VPOD SEE PRECHARGED TO 0 RECALLED VALUE PRECHARGED TO 0 RECALLED VALUE PRECHARGED TO 0 Figure 7. Low-Voltage Operation 17 DS1877 SFP Controller for Dual Rx Interface Any time VCC is above POD, the I2C interface can be used to determine if VCC is below the POA level. This is accomplished by checking the RDYB bit in the STATUS byte (Lower Memory, Register 6Eh). RDYB is set when VCC is below POA; when VCC rises above POA, RDYB is timed (within 500Fs) to go to 0, at which point the part is fully functional. For all device addresses sourced from EEPROM (Table 02h, Register 8Bh), the default device address is A2h until VCC exceeds POA, allowing the device address to be recalled from the EEPROM. Delta-Sigma Outputs The device's delta-sigma outputs are 10 bits. For illustrative purposes, a 3-bit example is provided in Figure 8. Each possible output of this 3-bit delta-sigma DAC is provided in Figure 9. In LUT mode the DACs are each controlled by an LUT with high-temperature resolution and an OFFSET LUT with lower temperature resolution. The high-resolution LUTs each have 2NC resolutions. The OFFSET LUTs are located in the upper eight registers (F8h-FFh, Table 04h) of the table containing each high-resolution LUT. The DAC values are determined as follows: DAC value = DAC LUT + 4 x (DAC OFFSET LUT) An example calculation for DAC1 is as follows: Assumptions: 1) Temperature is +43NC 2) Table 04h (DAC OFFSET LUT), Register FCh = 2Ah 3.24k 3) Table 04h (DAC LUT), Register AAh = 7Bh 3.24k DAC VOLTAGE OUTPUT 0.01F 0.01F DAC1 = 7Bh + 4 x 2Ah = 123h = 291 DS1877 1k When temperature controlled, the DACs are updated after each temperature conversion. See Figure 10. 1k DAC CURRENT SINK 0.1F 0.1F 2k DS1877 Figure 8. Recommended RC Filter for DAC Outputs O 1 2 3 4 5 6 7 Figure 9. 3-Bit (8-Position) Delta-Sigma Example 18 Because the temperature is +43NC, the DAC LUT index is AAh and the DAC1 OFFSET LUT index is FCh. The reference input, REFIN, is the supply voltage for the output buffer of all the DACs. The voltage connected to REFIN must be able to support the edge rate requirements of the delta-sigma outputs. In a typical application, a 0.1FF capacitor should be connected between REFIN and ground. SFP Controller for Dual Rx Interface FDh DELTA-SIGMA DACs 767 DAC LUT BITS 7:0 FCh FBh 511 F8h DAC LUT BITS 7:0 255 0 -40C FAh F9h DAC LUT BITS 7:0 -8C DAC LUT BITS 7:0 +8C DAC LUT BITS 7:0 DAC LUT BITS 7:0 DAC OFFSET LUTs (04h)[A2h/B2h] EIGHT REGISTERS PER DAC FFh FEh DAC LUT BITS 7:0 1023 DAC LUT BITS 7:0 FBh FAh F9h 511 F8h 255 +24C +40C +56C +70C +88C +104C EACH OFFSET REGISTER CAN BE INDEPENDENTLY SET BETWEEN 0 AND 1020. 1020 = 4 x FFh. THIS EXAMPLE ILLUSTRATES POSITIVE AND NEGATVE TEMPCO. 767 DELTA-SIGMA DACs EACH OFFSET REGISTER CAN BE INDEPENDENTLY SET BETWEEN 0 AND 1020. 1020 = 4 x FFh. THIS EXAMPLE ILLUSTRATES POSITIVE TEMPCO. 1023 DS1877 DAC OFFSET LUTs (04h)[A2h/B2h] EIGHT REGISTERS PER DAC 0 DAC LUT BITS 7:0 -40C DAC LUT BITS 7:0 -8C DAC LUT BITS 7:0 +8C DAC LUT BITS 7:0 FCh DAC LUT BITS 7:0 FDh DAC LUT BITS 7:0 FEh DAC LUT BITS 7:0 FFh DAC LUT BITS 7:0 +24C +40C +56C +70C +88C +104C Figure 10. DAC Offset LUTs Digital I/O Pins Four digital input pins and four digital output pins are provided for monitoring and control. LOSC1 LOS1 MUX INVLOS1 LOS LO1 INVLOSOUT LOSC2 LOSOUT RXL LOS2 MUX INVLOS2 LOS LO2 OUTX INXS INVOUTX INXC INX INVRSOUT RSELOUT RSELS RSELC RSEL = PINS Figure 11. Logic Diagram LOS1, LOS2, and LOSOUT When LOSC_ = 0 (Table 02h, Register 8Ah), the LOS_ pin is used to convert a standard comparator output for LOS to an open-collector output. The output of the mux can be read in the STATUS register (Lower Memory, Register 6Eh) as the RXL bit. The RXL signal can be inverted (INVLOS_ = 1) before driving the open-drain output transistor using the XOR gate provided. Setting LOSC_ = 1 configures the mux to be controlled by the LOS LO QT alarm. The mux setting (stored in EEPROM) does not take effect until VCC > POA, allowing the EEPROM to recall. INX, RSEL, OUTX, RSELOUT Digital input pins INX and RSEL primarily serve to meet the rate-select requirements of SFP and SFP+. They can also serve as general-purpose inputs. OUTX and RSELOUT are driven by a combination of the INX, RSEL, and logic dictated by control registers in the EEPROM (see Figure 11). The levels of INX and RSEL can be read from the STATUS register (Lower Memory, Register 6Eh). The open-drain output OUTX can be controlled and/or inverted using the CNFGB register (Table 02h, Register 89h). The open-drain RSELOUT output is software controlled and/or inverted through the STATUS register and 19 DS1877 SFP Controller for Dual Rx Interface CNFGA register (Table 02h, Register 88h). External pullup resistors must be provided on OUTX and RSELOUT to realize high logic levels. Bus Idle or Not Busy: Time between STOP and START conditions when both SDA and SCL are inactive and in their logic-high states. FAULT Output FAULT can be triggered by all alarms, warnings, and QTs. The six ADC alarms, warnings, and LOS QTs require enabling (Table 01h/05h, Registers F8h and FCh). Latching of the alarms is controlled by the CNFGB and CNFGC registers (Table 02h, Registers 89h-8Ah). 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 12 for applicable timing. Die Identification The device has an ID hardcoded in its die. Two registers (Table 02h, Registers 86h-87h) are assigned for this feature. Register 86h reads 77h to identify the part as the DS1877; Register 87h reads the present device version. I2C Communication 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. 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 12 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 12 for applicable timing. 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 SDA tBUF tF tHD:STA tLOW tSP SCL tHD:STA tHIGH tR tHD:DAT STOP START NOTE: TIMING IS REFERENCED TO VIL(MAX) AND VIH(MIN). Figure 12. I2C Timing 20 tSU:STA tSU:DAT REPEATED START tSU:STO SFP Controller for Dual Rx Interface 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 12) 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 12) 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 master 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 I2C bus responds to a slave address 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 device responds to three slave addresses. The auxiliary memory always responds to a fixed I2C slave address, A0h. (If the main device's slave address is programmed to be A0h/B0h, access to the auxiliary memory is disabled.) The Lower Memory and Tables 00h-05h respond to I2C slave addresses whose lower 3 bits are configurable (A0h-AEh, B0h-BEh) using the DEVICE ADDRESS byte (Table 02h, Register 8Bh). The user also must set the ASEL bit (Table 02h, Register 88h) for this address to be active. By writing the correct slave address with R/W = 0, the master indicates it writes data to the slave. If R/W = 1, the master reads data from the slave. If an incorrect slave address is written, the device 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 to the device, the master must transmit a memory address to identify the memory location where the slave is to store the data. The memory address is always the second byte transmitted during a write operation following the slave address byte. I2C Protocol See Figure 13 for an example of I2C timing. 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 that 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 8 data bytes, and generates a STOP condition. The device writes 1 to 8 bytes (one page or row) 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 8-byte page (one row of the memory map). Attempts to write to additional pages of memory without sending a STOP condition between pages result in the address counter wrapping around to the beginning of the present row. For example: A 3-byte write starts at address 06h and writes three data bytes (11h, 22h, and 33h) to three "consecutive" addresses. The result is that addresses 06h and 07h would contain 11h and 22h, respectively, and the third data byte, 33h, would be written to address 00h. 21 DS1877 of SCL plus the setup and hold time requirements (Figure 12). Data is shifted into the device during the rising edge of the SCL. DS1877 SFP Controller for Dual Rx Interface TYPICAL I2C WRITE TRANSACTION MSB START X MSB LSB X X X 0 0 SLAVE ADDRESS* 1 R/W SLAVE ACK b7 LSB b6 b5 b4 b3 b2 b1 b0 MSB SLAVE ACK b7 LSB b6 b5 b4 REGISTER ADDRESS READ/ WRITE b3 b2 b1 b0 SLAVE ACK STOP DATA *IF ASEL IS 0, THE SLAVE ADDRESS IS A0h FOR THE AUXILIARY MEMORY AND A2h/B2h FOR THE MAIN MEMORY. IF ASEL = 1, THE SLAVE ADDRESS IS DETERMINED BY TABLE 02h, REGISTER 8Bh FOR THE MAIN MEMORY. THE AUXILIARY MEMORY CONTINUES TO BE ADDRESSED AT A0h, EXCEPT WHEN THE PROGRAMMED ADDRESS FOR THE MAIN MEMORY IS A0h. EXAMPLE I2C TRANSACTIONS WITH A2h AS THE MAIN MEMORY DEVICE ADDRESS A2h A) SINGLE-BYTE WRITE -WRITE 00h TO REGISTER BAh B) SINGLE-BYTE READ -READ REGISTER BAh C) TWO-BYTE WRITE -WRITE 01h AND 75h TO REGISTERS C8h AND C9h D) TWO-BYTE READ -READ C8h AND C9h START 1 0 1 0 0 0 1 0 BAh 00h SLAVE SLAVE SLAVE 1 0 1 1 1 0 1 0 0 0 0 0 0 0 0 0 ACK ACK ACK A2h BAh START 1 0 1 0 0 0 1 0 SLAVE 1 0 1 1 1 0 1 0 SLAVE ACK ACK REPEATED START STOP A3h 1 0 1 0 0 0 1 1 SLAVE ACK DATA DATA IN BAh A2h C8h 01h 75h START 1 0 1 0 0 0 1 0 SLAVE 1 1 0 0 1 0 0 0 SLAVE 0 0 0 0 0 0 0 1 SLAVE 0 1 1 1 0 1 0 1 SLAVE ACK ACK ACK ACK A2h C8h START 1 0 1 0 0 0 1 0 SLAVE 1 1 0 0 1 0 0 0 SLAVE ACK ACK REPEATED START A3h 1 0 1 0 0 0 1 1 SLAVE ACK MASTER NACK STOP MASTER ACK DATA IN C9h STOP DATA DATA IN C8h DATA MASTER NACK STOP Figure 13. Example I2C Timing To prevent address wrapping from occurring, the master must send a STOP condition at the end of the page, 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 a EEPROM page is written, the device requires the EEPROM write time (tWR) after the STOP condition to write the contents of the page to EEPROM. During the EEPROM write time, the device does not acknowledge its slave address because it is busy. It is possible to take advantage of that phenomenon by repeatedly addressing the device, which allows the next page to be written as soon as the device is ready to receive the data. The alternative to acknowledge polling is to wait for maximum period of tWR to elapse before attempting to write again to the device. 22 EEPROM Write Cycles: When EEPROM writes occur, the device writes the whole EEPROM memory page, even if only a single byte on the page was modified. Writes that do not modify all 8 bytes on the page are allowed and do not corrupt the remaining bytes of memory on the same page. Because the whole page is written, bytes on the page that were not modified during the transaction are still subject to a write cycle. This can result in a whole page being worn out over time by writing a single byte repeatedly. Writing a page 1 byte at a time wears the EEPROM out 8x faster than writing the entire page at once. The device's EEPROM write cycles are specified in the Nonvolatile Memory Characteristics table. The specification shown is at the worst-case temperature. It can handle approximately 10x that many writes at room temperature. Writing to SRAM-shadowed EEPROM memory with SEEB = 1 does not count as a EEPROM write cycle when evaluating the EEPROM's estimated lifetime. SFP Controller for Dual Rx Interface Manipulating the Address Counter for Reads: A dummy write cycle can be used to force the address pointer 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. Memory Organization The device features memory tables that are internally organized into 8-byte rows. The main device located at A2h is used for overall device configuration and receiver 1 control, calibration, alarms, warnings, and monitoring. Lower Memory, A2h is addressed from 00h-7Fh and contains alarm and warning thresholds, flags, masks, several control registers, password entry area (PWE), and the table-select byte. Table 01h, A2h primarily contains user EEPROM (with PW1 level access) as well as alarm and warning enable bytes. Table 02h, A2h is a multifunction space that contains configuration registers, scaling and offset values, passwords, and interrupt registers as well as other miscellaneous control bytes. Table 04h, A2h contains a temperature-indexed LUT for control of the DAC1 voltage. The DAC1 LUT can be programmed in 2NC increments over the -40NC to +102NC range. It also contains an LUT for temperature-controlled offsets for DAC1. Table 05h, A2h is empty by default. It can be configured to contain the alarm and warning enable bytes from Table 01h, Registers F8h-FFh with the MASK bit enabled (Table 02h, Register 88h). In this case Table 01h is empty. The main device located at B2h is used for receiver 2 control, calibration, alarms, warnings, and monitoring. Lower Memory, B2h is addressed from 00h-7Fh and contains alarm and warning thresholds, flags, masks, several control registers, PWE, and the table-select byte. Table 01h, B2h contains alarm and warning enable bytes. Table 02h, B2h is a multifunction space that contains configuration registers, scaling and offset values, passwords, interrupt registers as well as other miscellaneous control bytes. Table 02h, B2h only contains functions related to receiver 2. All other functions are controlled by Table 02h, A2h. Table 04h, B2h contains a temperature-indexed LUT for control of the DAC2 voltage. The DAC2 LUT can be programmed in 2NC increments over the -40NC to +102NC range. It also contains an LUT for temperature-controlled offsets for DAC2. Table 05h, B2h is empty by default. It can be configured to contain the alarm and warning-enable bytes from Table 01h, Registers F8h-FFh with the MASK bit enabled (Table 02h, Register 88h). In this case Table 01h is empty. Auxiliary Memory (Device A0h) contains 256 bytes of EE memory accessible from address 00h-FFh. It is selected with the device address of A0h. See the Register Descriptions section for a more complete detail of each byte's function, as well as for read/ write permissions for each byte. 23 DS1877 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, 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. DS1877 SFP Controller for Dual Rx Interface I2C ADDRESS A0h I2C ADDRESS A2h/B2h 00h 00h EEPROM (256 BYTES) MAIN DEVICES AT A2h AND B2h AUXILIARY DEVICE LOWER MEMORY PASSWORD ENTRY (PWE) (4 BYTES) TABLE-SELECT BYTE 7Fh 80h 80h 80h TABLE 04h TABLE 02h TABLE 01h F7h F8h ALARMENABLE ROW (8 BYTES) FFh (B2h ONLY CONTAINS RECEIVER 2RELATED REGISTERS) FFh C7h ALARM-ENABLE ROW CAN BE CONFIGURED TO EXIST AT TABLE 01h OR TABLE 05h USING MASK BIT IN TABLE 02h, REGISTER 88h. FFh F8h TABLE 05h ALARM-ENABLE ROW (8 BYTES) FFh DAC1 (A2h) DAC2 (B2h) LOOKUP TABLE (72 BYTES) NONLOOKUP TABLE CONTROL AND CONFIGURATION REGISTERS EEPROM (120 BYTES) FFh NOTE 1: IF ASEL = 0, THEN THE MAIN DEVICE I2C SLAVE ADDRESS IS A2h/B2h. IF ASEL = 1, THEN THE MAIN DEVICE I2C SLAVE ADDRESS IS DETERMINED BY THE VALUE IN TABLE 02h, REGISTER 8Bh. A0h AND B2h ARE INVALID SELECTIONS. NOTE 2: TABLE 00h DOES NOT EXIST. NOTE 3: ALARM-ENABLE ROW CAN BE CONFIGURED TO EXIST AT TABLE 01h OR TABLE 05h USING THE MASK BIT IN TABLE 02h, REGISTER 88h. F8h DAC1/2 OFFSET LUT Figure 14. Memory Map Shadowed EEPROM Many nonvolatile memory locations (listed within the Register Descriptions section) are actually shadowed EEPROM and are controlled by the SEEB bit in Table 02h, Register 80h. The device incorporates shadowed EEPROM memory locations for key memory addresses that can be written many times. By default the shadowed EEPROM bit, SEEB, is not set and these locations act as ordinary EEPROM. By setting SEEB, these locations function like SRAM cells, which allow an infinite number of write 24 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-on 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. Figure 14 shows the memory map and indicates which locations are shadowed EEPROM. SFP Controller for Dual Rx Interface The register maps show each byte/word (2 bytes) in terms of its row in the memory. The first byte in the row is located in memory at the row address (hexadecimal) in the leftmost column. Each subsequent byte on the row is one/two memory locations beyond the previous byte/ word's address. A total of 8 bytes are present on each row. For more information about each of these bytes, see the corresponding register description. Memory Addresses A0h, A2h, and B2h There are three separate I2C addresses in the device: A0h, A2h, and B2h. A2h and B2h are used to configure and monitor two receivers. Receiver 1 is accessed using A2h. Receiver 2 is accessed using B2h. Many of the registers in A2h and B2h are shared registers. These registers can be read and written from both A2h and B2h. MEMORY CODE A2h AND B2h REGISTERS or <_/C> A common memory location is used for A2h and B2h device addresses. Reading or writing to these locations is identical, regardless of using A2h or B2h addresses. or <_/D> Different memory locations are used for A2h and B2h device addresses. or <_/M> Mixture of common and different memory locations for A2h and B2h device addresses. See the individual bytes within the row for clarification. If "M" is used on an individual byte, see the expanded bit descriptions to determine which bits are common vs. different. Memory Map Access Codes The following section provides the device's register definitions. Each register or row of registers has an access descriptor that determines the password level required to read or write the memory. Level 2 password is intended for the module manufacture access only. Level 1 password allows another level of protection for items the end consumer wishes to protect. Many registers are always readable, but require password access to write. There are a few registers that cannot be read without password access. The following access codes describe each mode the device uses with factory settings for the PW_ENA and PW_ENB (Table 02h, Registers C0h-C1h) registers. ACCESS CODE <0/_> READ ACCESS WRITE ACCESS At least 1 byte/bit in the row/byte is different than the rest of the row/byte, so look at each byte/bit separately for permissions. <1/_> Read all Write PW2 <2/_> Read all Write not applicable <3/_> Read all Write all, but the device hardware also writes to these bytes/bits <4/_> Read PW2 Write PW2 + mode_bit <5/_> Read all Write all <6/_> Read not applicable Write all <7/_> Read PW1 Write PW1 <8/_> Read PW2 Write PW2 <9/_> Read not applicable Write PW2 <10/_> Read PW2 Write not applicable <11/_> Read all Write PW1 25 DS1877 Register Descriptions DS1877 SFP Controller for Dual Rx Interface Lower Memory Register Map LOWER MEMORY ROW (HEX) WORD 0 ROW NAME BYTE 0/8 00-07 <1/C>THRESHOLD 08-0F <1/C >THRESHOLD 20-27 BYTE 2/A WORD 2 BYTE 3/B BYTE 4/C TEMP WARN LO 1 VCC ALARM HI VCC ALARM LO VCC WARN HI VCC WARN LO EE EE EE EE 4 RSSI ALARM HI RSSI ALARM LO RSSI WARN HI RSSI WARN LO EE <1/C>EEPROM <1/D>THRESHOLD EE EE EE 38-4F <1/D >EEPROM EE EE EE 50-5F <1/C >EEPROM 60-67 <2/C>ADC VALUES0 68-6F <0/M>ADC VALUES1 <2/D>ALARM/WARN <0/M>TABLE BYTE 7/F TEMP WARN HI <1/C >EEPROM 78-7F BYTE 6/E TEMP ALARM LO 28-37 70-77 WORD 3 BYTE 5/D TEMP ALARM HI 0 10-1F WORD 1 BYTE 1/9 SELECT EE EE EE TEMP VALUE RSSI VALUE <2/D> EE EE EE EE VCC VALUE RESERVED RESERVED RESERVED ALARM3 ALARM2 RESERVED RESERVED RESERVED RESERVED ALARM0 WARN3 <6/C>PWE EE EE RESERVED <0/M>STATUS RESERVED RESERVED <6/C>PWE MSW <3/D>UPDATE RESERVED <5/D>TBL LSW SEL or <_/C> = Common, or <_/D> = Different, or <_/M> = Mixture of common and different. Table 01h Register Map TABLE 01h ROW (HEX) ROW NAME 80-BF <7/C>EEPROM C0-F7 <8/C>EEPROM F8-FF <7/M>ALARM ENABLE 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 EE EE EE EE EE EE EE EE EE ALARM EE EN3 EE ALARM EN2 RESERVED EE ALARM EE EN0 WARN EN3 EE EE EE RESERVED RESERVED RESERVED or <_/C> = Common, or <_/D> = Different, or <_/M> = Mixture of common and different. Note: The ALARM ENABLE bytes (Registers F8h-FFh) can be configured to exist in Table 05h instead of here at Table 01h with the MASK bit (Table 02h, Register 88h). If the row is configured to exist in Table 05h, these locations are empty in Table 01h. The access codes represent the factory default values of PW_ENA and PW_ENB (Table 02h, Registers C0h-C1h). These registers also allow for custom permissions. ACCESS CODE Read Access Write Access 26 <0/_> See each bit/byte separately <1/_> <2/_> <3/_> <4/_> <5/_> <6/_> <7/_> <8/_> <9/_> <10/_> <11/_> All All All PW2 All N/A PW1 PW2 N/A PW2 All PW2 N/A All and DS1877 hardware PW2 + mode bit All All PW1 PW2 PW2 N/A PW1 SFP Controller for Dual Rx Interface TABLE 02h (PW2) ROW (HEX) ROW NAME 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 <0/C>CONFIG <8/C>MODE <4/C>TINDEX RESERVED RESERVED RESERVED RESERVED 88 <8/C>CONFIG CNFGA CNFGB CNFGC DEVICE ADDRESS RESERVED FORCE RSSI 90 <8/C>SCALE RESERVED VCC SCALE XOVER2 COARSE XOVER2 FINE 98 <8/C>SCALE RSSI2 COARSE SCALE RSSI2 FINE SCALE RSSI1 COARSE SCALE RSSI1 FINE SCALE A0 <8/C>OFFSET INTERNAL TEMP OFFSET* VCC OFFSET XOVER1 COARSE XOVER1 FINE A8 <8/C>OFFSET RSSI2 COARSE OFFSET RSSI2 FINE OFFSET RSSI1 COARSE OFFSET RSSI1 FINE OFFSET PW1 MSW PW1 LSW PW2 MSW PW2 LSW 0 1 0 1 0 1 B0 <9/C>PWD VALUE B8 <8/C>THRESHOLD C0 <8/C>PWD ENABLE C8 <4/C>DAC VALUES D0-FF EMPTY <10>DEVICE ID <10>DEVICE RSHIFT2 VER RSHIFT1 LOS RANGING2 RESERVED HLOS2 LLOS2 LOS RANGING1 RESERVED HLOS1 LLOS1 PW_ENA PW_ENB RESERVED RESERVED RESERVED RESERVED POLARITY TBLSELPON DAC2 VALUE EMPTY RESERVED EMPTY EMPTY DAC1 VALUE EMPTY EMPTY RESERVED EMPTY EMPTY EMPTY or <_/C> = Common, or <_/D> = Different, or <_/M> = Mixture of common and different. *The final result must be XORed with BB40h before writing to this register. Table 04h Register Map TABLE 04h (DAC LUT) ROW (HEX) ROW NAME 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-C7 <8/D>LUT4 DAC LUT DAC LUT DAC LUT DAC LUT DAC LUT DAC LUT DAC LUT DAC LUT C8-F7 EMPTY EMPTY EMPTY EMPTY EMPTY EMPTY EMPTY EMPTY EMPTY DAC OFFSET DAC OFFSET DAC OFFSET DAC OFFSET DAC OFFSET DAC OFFSET DAC OFFSET DAC OFFSET LUT LUT LUT LUT LUT LUT LUT LUT F8-FF <8/D>DAC OFFSET or <_/C> = Common, or <_/D> = Different, or <_/M> = Mixture of common and different. The access codes represent the factory default values of PW_ENA and PW_ENB (Table 02h, Registers C0h-C1h). These registers also allow for custom permissions. ACCESS CODE Read Access Write Access <0/_> See each bit/byte separately <1/_> <2/_> <3/_> <4/_> <5/_> <6/_> <7/_> <8/_> <9/_> <10/_> <11/_> All All All PW2 All N/A PW1 PW2 N/A PW2 All PW2 N/A All and DS1877 hardware PW2 + mode bit All All PW1 PW2 PW2 N/A PW1 27 DS1877 Table 02h Register Map DS1877 SFP Controller for Dual Rx Interface Table 05h Register Map TABLE 05h ROW (HEX) ROW NAME 80-F7 EMPTY F8-FF <7/M>ALARM ENABLE 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 EMPTY EMPTY EMPTY EMPTY EMPTY EMPTY EMPTY EMPTY RESERVED RESERVED RESERVED ALARM EN3 ALARM EN2 RESERVED ALARM EN0 WARN EN3 BYTE 7/F or <_/C> = Common, or <_/D> = Different, or <_/M> = Mixture of common and different. Note: Table 05h is empty by default. It can be configured to contain the alarm and warning enable bytes from Table 01h, Registers F8h-FFh with the MASK bit enabled (Table 02h, Register 88h). In this case Table 01h is empty. Auxiliary Memory A0h Register Map AUXILIARY MEMORY (A0h) ROW (HEX) 00-FF ROW NAME <5>AUX 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 EE EE EE EE EE EE EE EE EE or <_/C> = Common, or <_/D> = Different, or <_/M> = Mixture of common and different. The access codes represent the factory default values of PW_ENA and PW_ENB (Table 02h, Registers C0h-C1h). These registers also allow for custom permissions. ACCESS CODE Read Access Write Access 28 <0/_> See each bit/byte separately <1/_> <2/_> <3/_> <4/_> <5/_> <6/_> <7/_> <8/_> <9/_> <10/_> <11/_> All All All PW2 All N/A PW1 PW2 N/A PW2 All PW2 N/A All and DS1877 hardware PW2 + mode bit All All PW1 PW2 PW2 N/A PW1 SFP Controller for Dual Rx Interface Lower Memory, Register 04h-05h: TEMP WARN HI FACTORY DEFAULT 7FFFh READ ACCESS All WRITE ACCESS PW2 or (PW1 and WLOWER) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) 00h, 04h S 26 25 24 23 22 21 20 01h, 05h 2-1 2-2 2-3 2-4 2-5 2-6 2-7 2-8 BIT 7 BIT 0 Temperature measurement updates above this two's complement threshold set its corresponding alarm or warning bit. Temperature measurement updates equal to or below this threshold clear its alarm or warning bit. Lower Memory, Register 02h-03h: TEMP ALARM LO Lower Memory, Register 06h-07h: TEMP WARN LO FACTORY DEFAULT 8000h READ ACCESS All WRITE ACCESS PW2 or (PW1 and WLOWER) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) 02h, 06h S 26 25 24 23 22 21 20 03h, 07h 2-1 2-2 2-3 2-4 2-5 2-6 2-7 2-8 BIT 7 BIT 0 Temperature measurement updates below this two's complement threshold set its corresponding alarm or warning bit. Temperature measurement updates equal to or above this threshold clear its alarm or warning bit. 29 DS1877 Lower Memory Register Descriptions Lower Memory, Register 00h-01h: TEMP ALARM HI DS1877 SFP Controller for Dual Rx Interface Lower Memory, Register 08h-09h: VCC ALARM HI Lower Memory, Register 0Ch-0Dh: VCC WARN HI 08h, 0Ch FACTORY DEFAULT FFFFh READ ACCESS All WRITE ACCESS PW2 or (PW1 and WLOWER) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) 215 214 213 212 211 210 29 27 26 25 24 23 22 21 09h, 0Dh BIT 7 28 20 BIT 0 Voltage measurement updates above this unsigned threshold set its corresponding alarm or warning bit. Voltage measurements equal to or below this threshold clear its alarm or warning bit. Lower Memory, Register 0Ah-0Bh: VCC ALARM LO Lower Memory, Register 0Eh-0Fh: VCC WARN LO FACTORY DEFAULT 0000h READ ACCESS All WRITE ACCESS PW2 or (PW1 and WLOWER) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) 0Ah, 0Eh 215 214 213 212 211 210 29 28 0Bh, 0Fh 27 26 25 24 23 22 21 20 BIT 7 BIT 0 Voltage measurement updates below this unsigned threshold set its corresponding alarm or warning bit. Voltage measurements equal to or above this threshold clear its alarm or warning bit. Lower Memory, Register 10h-1Fh: EE 10h-1Fh FACTORY DEFAULT 00h READ ACCESS All WRITE ACCESS PW2 or (PW1 and WLOWER) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (EE) EE EE EE BIT 7 PW2 level access-controlled EEPROM. 30 EE EE EE EE EE BIT 0 SFP Controller for Dual Rx Interface DS1877 Lower Memory, Register 20h-21h: RSSI ALARM HI Lower Memory, Register 24h-25h: RSSI WARN HI FACTORY DEFAULT FFFFh READ ACCESS All WRITE ACCESS PW2 or (PW1 and WLOWER) A2h AND B2h MEMORY Different A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) 20h, 24h 215 214 213 212 211 210 29 28 21h, 25h 27 26 25 24 23 22 21 20 BIT 7 BIT 0 Voltage measurement updates above this unsigned threshold set its corresponding alarm or warning bit. Voltage measurements equal to or below this threshold clear its alarm or warning bit. Lower Memory, Register 22h-23h: RSSI ALARM LO Lower Memory, Register 26h-27h: RSSI WARN LO FACTORY DEFAULT 0000h READ ACCESS All WRITE ACCESS PW2 or (PW1 and WLOWER) A2h AND B2h MEMORY Different A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) 22h, 26h 215 214 213 212 211 210 29 28 23h, 27h 27 26 25 24 23 22 21 20 BIT 7 BIT 0 Voltage measurement updates below this unsigned threshold set its corresponding alarm or warning bit. Voltage measurements equal to or above this threshold clear its alarm or warning bit. 31 DS1877 SFP Controller for Dual Rx Interface Lower Memory, Register 28h-37h: EE 28h-37h FACTORY DEFAULT 00h READ ACCESS All WRITE ACCESS PW2 or (PW1 and WLOWER) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (EE) EE EE EE EE EE EE EE BIT 7 EE BIT 0 PW2 level access-controlled EEPROM. Lower Memory, Register 38h-4Fh: EE 38h-4Fh FACTORY DEFAULT 00h READ ACCESS All WRITE ACCESS PW2 or (PW1 and WLOWER) A2h AND B2h MEMORY Different A2h and B2h memory locations MEMORY TYPE Nonvolatile (EE) EE EE EE EE EE EE EE BIT 7 EE BIT 0 PW2 level access-controlled EEPROM. Lower Memory, Register 50h-5Fh: EE 50h-5Fh FACTORY DEFAULT 00h READ ACCESS All WRITE ACCESS PW2 or (PW1 and WLOWER) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (EE) EE EE EE BIT 7 PW2 level access-controlled EEPROM. 32 EE EE EE EE EE BIT 0 SFP Controller for Dual Rx Interface DS1877 Lower Memory, Register 60h-61h: TEMP VALUE POWER-ON VALUE 0000h READ ACCESS All WRITE ACCESS N/A A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Volatile 60h S 26 25 24 23 22 21 20 61h 2-1 2-2 2-3 2-4 2-5 2-6 2-7 2-8 BIT 7 BIT 0 Signed two's complement direct-to-temperature measurement. Lower Memory, Register 62h-63h: VCC VALUE POWER-ON VALUE 0000h READ ACCESS All WRITE ACCESS N/A A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Volatile 62h 215 214 213 212 211 210 29 28 63h 27 26 25 24 23 22 21 20 BIT 7 BIT 0 Left-justified unsigned voltage measurement. Lower Memory, Register 64h-67h: RESERVED 64h-67h POWER-ON VALUE 00h READ ACCESS N/A WRITE ACCESS N/A A2h AND B2h MEMORY N/A MEMORY TYPE N/A 0 0 0 0 BIT 7 0 0 0 0 BIT 0 These registers are reserved. The value when read is 00h. 33 DS1877 SFP Controller for Dual Rx Interface Lower Memory, Register 68h-69h: RSSI VALUE POWER-ON VALUE 0000h READ ACCESS All WRITE ACCESS N/A A2h AND B2h MEMORY Different A2h and B2h memory locations MEMORY TYPE Volatile 68h 215 214 213 212 211 210 29 28 69h 27 26 25 24 23 22 21 20 BIT 7 BIT 0 Left-justified unsigned voltage measurement. Lower Memory, Register 6Ah-6Dh: RESERVED 6Ah-6Dh POWER-ON VALUE 00h READ ACCESS N/A WRITE ACCESS N/A A2h AND B2h MEMORY N/A MEMORY TYPE N/A 0 0 0 0 BIT 7 These registers are reserved. The value when read is 00h. 34 0 0 0 0 BIT 0 SFP Controller for Dual Rx Interface Write Access 6Eh POWER-ON VALUE X0XX 0XXXb READ ACCESS All WRITE ACCESS See below A2h AND B2h MEMORY Mixture of common memory locations and different memory locations (see below) MEMORY TYPE Volatile DS1877 Lower Memory, Register 6Eh: STATUS N/A All N/A All All N/A N/A N/A RESERVED <5/D>TXDC <2/C>INXS <2/C>RSELS <5/C>RSELC <2/C>FLTS <2/D>RXL <2/C>RDYB BIT 7 BIT 0 BIT 7 RESERVED BIT 6 TXDC1 [A2h]: TXD1 software control bit (writable by all users). 0 = (default) This bit has no effect on alarms and warnings. 1 = Setting TXDC1 inhibits the latching of low alarms and warnings LOS1 LO, LOS2 LO, RSSI1 LO, and RSSI2 LO after the condition is cleared. Once TXDC1 is set, it is internally extended by time tINITR to allow for settings to stabilize. Clearing TXDC1 before tINITR has no impact on the latching of these alarms and warnings. TXDC2 [B2h]: TXD2 software control bit (writable by all users). 0 = (default) This bit has no effect on alarms and warnings. 1 = Setting TXDC2 inhibits the latching of low alarms and warnings LOS1 LO, LOS2 LO, RSSI1 LO, and RSSI2 LO after the condition is cleared. Once TXDC2 is set, it is internally extended by time tINITR to allow for settings to stabilize. Clearing TXDC2 before tINITR has no impact on the latching of these alarms and warnings. BIT 5 INXS [A2h or B2h]: INX status bit. Reflects the logic state of the INX pin (read-only). 0 = INX pin is logic-low. 1 = INX pin is logic-high. BIT 4 RSELS [A2h or B2h]: RSEL status bit. Reflects the logic state of the RSEL pin (read-only). 0 = RSEL pin is logic-low. 1 = RSEL pin is logic-high. BIT 3 RSELC [A2h or B2h]: RSEL software control bit. This bit allows for software control that is identical to the RSEL pin. Its value is wire-ORed with the logic value of the RSEL pin to create the RSELOUT pin's logic value (writable by all users). 0 = (default) 1 = Forces the device into a RSEL state regardless of the value of the RSEL pin. BIT 2 FLTS: Reflects the driven state of the FAULT pin (read-only). 0 = FAULT pin is low. 1 = FAULT pin is high. BIT 1 RXL1 [A2h]: Status of LOS1 pin or LOS1 LO as determined by the LOSC control bit. RXL2 [B2h]: Status of LOS2 pin or LOS2 LO as determined by the LOSC control bit. BIT 0 RDYB [A2h or B2h]: Ready bar. 0 = VCC is above POA. 1 = VCC is below POA and/or too low to communicate over the I2C bus. 35 DS1877 SFP Controller for Dual Rx Interface Lower Memory, Register 6Fh: UPDATE 6Fh POWER-ON VALUE 00h READ ACCESS All WRITE ACCESS All and device hardware A2h AND B2h MEMORY Different A2h and B2h memory locations MEMORY TYPE Volatile TEMP RDY RESERVED VCC RDY RESERVED RSSI RDY RESERVED RESERVED BIT 7 BITS 7, 6, 3 BITS 5, 4, 2, 1 BIT 0 RSSIR BIT 0 TEMP RDY, VCC RDY, RSSI RDY: Update of completed conversions. At power-on, these bits are cleared and are set as each conversion is completed. These bits can be cleared so that a completion of a new conversion is verified. RESERVED RSSIR: RSSI range. Reports the range used for conversion update of RSSI. 0 = Fine range is the reported value. 1 = Coarse range is the reported value. Lower Memory, Register 70h: ALARM3 70h POWER-ON VALUE 10h READ ACCESS All WRITE ACCESS N/A A2h AND B2h MEMORY Different A2h and B2h memory locations MEMORY TYPE Volatile TEMP HI TEMP LO VCC HI VCC LO RESERVED RESERVED BIT 7 RESERVED BIT 0 BIT 7 TEMP HI: High alarm status for temperature measurement. 0 = (default) Last measurement was equal to or below threshold setting. 1 = Last measurement was above threshold setting. BIT 6 TEMP LO: Low alarm status for temperature measurement. 0 = (default) Last measurement was equal to or above threshold setting. 1 = Last measurement was below threshold setting. BIT 5 VCC HI: High alarm status for VCC measurement. 0 = (default) Last measurement was equal to or below threshold setting. 1 = Last measurement was above threshold setting. BIT 4 VCC LO: Low alarm status for VCC measurement. This bit is set when the VCC supply is below the POA trip point value. It clears itself when a VCC measurement is completed and the value is above the low threshold. 0 = Last measurement was equal to or above threshold setting. 1 = (default) Last measurement was below threshold setting. BITS 3:0 36 RESERVED RESERVED SFP Controller for Dual Rx Interface 71h POWER-ON VALUE 00h READ ACCESS All WRITE ACCESS N/A A2h AND B2h MEMORY Mixed A2h and B2h memory locations MEMORY TYPE Volatile RSSI HI RSSI LO RESERVED RESERVED RESERVED DS1877 Lower Memory, Register 71h: ALARM2 RESERVED RESERVED BIT 7 BIT 0 BIT 7 RSSI HI: High alarm status for RSSI measurement. A TXD event does not clear this alarm. 0 = (default) Last measurement was equal to or below the threshold setting. 1 = Last measurement was above the threshold setting. BIT 6 RSSI LO: Low alarm status for RSSI measurement. A TXD event does not clear this alarm. 0 = (default) Last measurement was equal to or above the threshold setting. 1 = Last measurement was below the threshold setting. BITS 5:1 BIT 0 FLTINT RESERVED FLTINT: FAULT interrupt. This bit is the wire-ORed logic of all alarms and warnings wire-ANDed with their corresponding enable bits. The enable bits are found in Table 01h/05h, Registers F8h-FFh. Lower Memory, Register 72h: RESERVED POWER-ON VALUE 00h READ ACCESS N/A WRITE ACCESS N/A A2h AND B2h MEMORY N/A MEMORY TYPE N/A This register is reserved. 37 DS1877 SFP Controller for Dual Rx Interface Lower Memory, Register 73h: ALARM0 73h POWER-ON VALUE 00h READ ACCESS All WRITE ACCESS N/A A2h AND B2h MEMORY Different A2h and B2h memory locations MEMORY TYPE Volatile LOS HI LOS LO RESERVED RESERVED RESERVED RESERVED RESERVED BIT 7 RESERVED BIT 0 BIT 7 LOS HI: High alarm status for RSSI; fast comparison. A TXD event does not clear this alarm. 0 = (default) Last comparison was below threshold setting. 1 = Last comparison was above threshold setting. BIT 6 LOS LO: Low alarm status for RSSI; fast comparison. A TXD event does not clear this alarm. 0 = (default) Last comparison was above threshold setting. 1 = Last comparison was below threshold setting. BITS 5:0 RESERVED Lower Memory, Register 74h: WARN3 74h POWER-ON VALUE 10h READ ACCESS All WRITE ACCESS N/A A2h AND B2h MEMORY Different A2h and B2h memory locations MEMORY TYPE Volatile TEMP HI TEMP LO VCC HI VCC LO RESERVED RESERVED BIT 7 RESERVED BIT 0 BIT 7 TEMP HI: High warning status for temperature measurement. 0 = (default) Last measurement was equal to or below threshold setting. 1 = Last measurement was above threshold setting. BIT 6 TEMP LO: Low warning status for temperature measurement. 0 = (default) Last measurement was equal to or above threshold setting. 1 = Last measurement was below threshold setting. BIT 5 VCC HI: High warning status for VCC measurement. 0 = (default) Last measurement was equal to or below threshold setting. 1 = Last measurement was above threshold setting. BIT 4 VCC LO: Low warning status for VCC measurement. This bit is set when the VCC supply is below the POA trip-point value. It clears itself when a VCC measurement is completed and the value is above the low threshold. 0 = Last measurement was equal to or above threshold setting. 1 = (default) Last measurement was below threshold setting. BITS 3:0 38 RESERVED RESERVED SFP Controller for Dual Rx Interface POWER-ON VALUE 00h READ ACCESS N/A WRITE ACCESS N/A A2h AND B2h MEMORY N/A MEMORY TYPE N/A DS1877 Lower Memory, Registers 75h-7Ah: RESERVED These registers are reserved. The value when read is 00h. Lower Memory, Registers 7Bh-7Eh: PASSWORD ENTRY (PWE) POWER-ON VALUE FFFF FFFFh READ ACCESS N/A WRITE ACCESS All A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Volatile 7Bh 231 230 229 228 227 226 225 224 7Ch 223 222 221 220 219 218 217 216 7Dh 215 214 213 212 211 210 29 28 27 26 25 24 23 22 21 7Eh BIT 7 20 BIT 0 There are two passwords for the device. Each password is 4 bytes long. The lower level password (PW1) has all the access of a normal user plus those made available with PW1. The higher level password (PW2) has all the access of PW1 plus those made available with PW2. The values of the passwords reside in EEPROM inside PW2 memory. At power-up, all PWE bits are set to 1. All reads at this location are 0. Lower Memory, Register 7Fh: TABLE SELECT (TBL SEL) 7Fh POWER-ON VALUE TBLSELPON (Table 02h, Register C7h) READ ACCESS All WRITE ACCESS All A2h AND B2h MEMORY Different A2h and B2h memory locations MEMORY TYPE Volatile 27 BIT 7 26 25 24 23 22 21 20 BIT 0 The upper memory tables of the device are accessible by writing the desired table value in this register. The poweron value of this register is defined by the value written to TBLSELPON (Table 02h, Register C7h). 39 DS1877 SFP Controller for Dual Rx Interface Table 01h Register Descriptions Table 01h, Register 80h-F7h: EEPROM 80h-F7h POWER-ON VALUE 00h READ ACCESS PW2 or (PW1 and RWTBL1A) or (PW1 and RTBL1A) WRITE ACCESS PW2 or (PW1 and RWTBL1A) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (EE) EE EE EE EE EE EE EE BIT 7 EE BIT 0 EEPROM for PW1 and/or PW2 level access. Table 01h, Register F8h: ALARM EN3 F8h POWER-ON VALUE 00h READ ACCESS PW2 or (PW1 and RWTBL1C) or (PW1 and RTBL1C) WRITE ACCESS PW2 or (PW1 and RWTBL1C) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) TEMP HI TEMP LO VCC HI VCC LO RESERVED BIT 7 RESERVED RESERVED RESERVED BIT 0 Layout is identical to ALARM3 in Lower Memory, Register 70h. Enables alarms to create FLTINT (Lower Memory, Register 71h) logic. The MASK bit (Table 02h, Register 88h) determines whether this memory exists in Table 01h or 05h. BIT 7 TEMP HI [A2h or B2h]: 0 = Disables interrupt from TEMP HI alarm. 1 = Enables interrupt from TEMP HI alarm. BIT 6 TEMP LO [A2h or B2h]: 0 = Disables interrupt from TEMP LO alarm. 1 = Enables interrupt from TEMP LO alarm. BIT 5 VCC HI [A2h or B2h]: 0 = Disables interrupt from VCC HI alarm. 1 = Enables interrupt from VCC HI alarm. BIT 4 VCC LO [A2h or B2h]: 0 = Disables interrupt from VCC LO alarm. 1 = Enables interrupt from VCC LO alarm. BITS 3:0 40 RESERVED SFP Controller for Dual Rx Interface F9h POWER-ON VALUE 00h READ ACCESS PW2 or (PW1 and RWTBL1C) or (PW1 and RTBL1C) WRITE ACCESS PW2 or (PW1 and RWTBL1C) A2h AND B2h MEMORY Different A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) RSSI HI RSSI LO RESERVED RESERVED BIT 7 RESERVED RESERVED DS1877 Table 01h, Register F9h: ALARM EN2 RESERVED RESERVED BIT 0 Layout is identical to ALARM2 in Lower Memory, Register 71h. Enables alarms to create FLTINT (Lower Memory, Register 71h). The MASK bit (Table 02h, Register 88h) determines whether this memory exists in Table 01h or 05h. BIT 7 RSSI HI: 0 = Disables interrupt from RSSI HI alarm. 1 = Enables interrupt from RSSI HI alarm. BIT 6 RSSI LO: 0 = Disables interrupt from RSSI LO alarm. 1 = Enables interrupt from RSSI LO alarm. BITS 5:0 RESERVED Table 01h, Register FAh: RESERVED POWER-ON VALUE 00h READ ACCESS N/A WRITE ACCESS N/A A2h AND B2h MEMORY N/A MEMORY TYPE N/A This register is reserved. 41 DS1877 SFP Controller for Dual Rx Interface Table 01h, Register FBh: ALARM EN0 FBh POWER-ON VALUE 00h READ ACCESS PW2 or (PW1 and RWTBL1C) or (PW1 and RTBL1C) WRITE ACCESS PW2 or (PW1 and RWTBL1C) A2h AND B2h MEMORY Different A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) LOS HI LOS LO RESERVED RESERVED RESERVED RESERVED RESERVED BIT 7 RESERVED BIT 0 Layout is identical to ALARM0 in Lower Memory, Register 73h. The MASK bit (Table 02h, Register 88h) determines whether this memory exists in Table 01h or 05h. BIT 7 LOS HI: Enables alarm to create FLTINT (Lower Memory, Register 71h) logic. 0 = Disables interrupt from LOS HI alarm. 1 = Enables interrupt from LOS HI alarm. BIT 6 LOS LO: Enables alarm to create FLTINT (Lower Memory, Register 71h) logic. 0 = Disables interrupt from LOS LO alarm. 1 = Enables interrupt from LOS LO alarm. BITS 5:0 RESERVED Table 01h, Register FCh: WARN EN3 FCh POWER-ON VALUE 00h READ ACCESS PW2 or (PW1 and RWTBL1C) or (PW1 and RTBL1C) WRITE ACCESS PW2 or (PW1 and RWTBL1C) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) TEMP HI TEMP LO VCC HI VCC LO RESERVED BIT 7 RESERVED RESERVED RESERVED BIT 0 Layout is identical to WARN3 in Lower Memory, Register 74h. Enables warnings to create FLTINT (Lower Memory, Register 71h) logic. The MASK bit (Table 02h, Register 88h) determines whether this memory exists in Table 01h or 05h. BIT 7 TEMP HI [A2h or B2h]: 0 = Disables interrupt from the TEMP HI warning. 1 = Enables interrupt from the TEMP HI warning. BIT 6 TEMP LO [A2h or B2h]: 0 = Disables interrupt from the TEMP LO warning. 1 = Enables interrupt from the TEMP LO warning. BIT 5 VCC HI [A2h or B2h]: 0 = Disables interrupt from the VCC HI warning. 1 = Enables interrupt from the VCC HI warning. BIT 4 VCC LO [A2h or B2h]: 0 = Disables interrupt from the VCC LO warning. 1 = Enables interrupt from the VCC LO warning. BITS 3:0 42 RESERVED SFP Controller for Dual Rx Interface POWER-ON VALUE 00h READ ACCESS N/A WRITE ACCESS N/A A2h AND B2h MEMORY N/A MEMORY TYPE N/A DS1877 Table 01h, Register FDh-FFh: RESERVED These registers are reserved. Table 02h Register Descriptions Table 02h, Register 80h: MODE 80h POWER-ON VALUE 7Fh READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS PW2 or (PW1 and RWTBL2) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Volatile SEEB DAC2EN BIT 7 RESERVED RESERVED AEN DAC1EN RESERVED RESERVED BIT 0 BIT 7 SEEB: 0 = (default) Enables EEPROM writes to SEE bytes. 1 = Disables EEPROM writes to SEE bytes during configuration, so that the configuration of the part is not delayed by the EE cycle time. Once the values are known, write this bit to a 0 and write the SEE locations again for data to be written to the EEPROM. BIT 6 DAC2EN: 0 = DAC2 VALUE is writable by the user and the LUT recalls are disabled. This allows users to interactively test their modules by writing the values for DAC2. The output is updated with the new value at the end of the write cycle. The I2C STOP condition is the end of the write cycle. 1 = (default) Enables automatic control of the LUT for DAC2 VALUE. BITS 5, 4, 1, 0 RESERVED BIT 3 AEN: 0 = The temperature-calculated index value TINDEX is writable by the user and the updates of calculated indexes are disabled. This allows the user to interactively test the modules by controlling the indexing for the LUTs. The recalled values from the LUTs appear in the DAC registers after the next completion of a temperature conversion. 1 = (default) The temperature-calculated index value TINDEX is used to control the LUTs. BIT 2 DAC1EN: 0 = DAC1 VALUE is writable by the user and the LUT recalls are disabled. This allows the user to interactively test their modules by writing the values for DAC1. The output is updated with the new value at the end of the write cycle. The I2C STOP condition is the end of the write cycle. 1 = (default) Enables automatic control of the LUT for DAC1 VALUE. 43 DS1877 SFP Controller for Dual Rx Interface Table 02h, Register 81h: TEMPERATURE INDEX (TINDEX) FACTORY DEFAULT 00h READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS (PW2 and AEN = 0) or (PW1 and RWTBL2 and AEN = 0) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Volatile 27 81h 26 25 24 23 22 21 20 BIT 7 BIT 0 Holds the calculated index based on the temperature measurement. This index is used for the address during lookup of Table 04h. Temperature measurements below -40NC or above +102NC are clamped to 80h and C7h, respectively. The calculation of TINDEX is as follows: TINDEX = Temp_Value + 40C + 80h 2C For the temperature-indexed LUTs (2NC), the index used during the lookup function for each table is as follows: Table 04h (DAC) 1 TINDEX6 TINDEX5 TINDEX4 TINDEX3 TINDEX2 TINDEX1 TINDEX0 11xx_xxxx For the 8-position LUT tables, the following table shows the lookup function: TINDEX BYTE TEMP (NC) 1000_0xxx 1001_0xxx 1001_1xxx 1010_0xxx 1010_1xxx 1011_0xxx 1011_1xxx F8 F9 FA FB FC FD FE FF < -8 -8 to +8 +8 to +24 +24 to +40 +40 to +56 +56 to +72 +72 to +88 R +88 Table 02h, Register 82h-85h: RESERVED FACTORY DEFAULT 00h READ ACCESS N/A WRITE ACCESS N/A A2h AND B2h MEMORY N/A MEMORY TYPE N/A These registers are reserved. Table 02h, Register 86h: DEVICE ID 86h FACTORY DEFAULT 77h READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS N/A MEMORY TYPE ROM 0 1 1 BIT 7 Hardwired connections to show the device ID. 44 1 0 1 1 1 BIT 0 SFP Controller for Dual Rx Interface FACTORY DEFAULT DEVICE VERSION READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS N/A MEMORY TYPE ROM 87h DS1877 Table 02h, Register 87h: DEVICE VER DEVICE VERSION BIT 7 BIT 0 Hardwired connections to show the device version. Table 02h, Register 88h: CNFGA 88h FACTORY DEFAULT C0h READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS PW2 or (PW1 and RWTBL2) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) RESERVED RESERVED RESERVED ASEL MASK INVRSOUT RESERVED BIT 7 BITS 7:5, 1 INVLOSOUT BIT 0 RESERVED BIT 4 ASEL: Address select. 0 = (default) Device address is A2h for receiver 1 and B2h for receiver 2. 1 = DEVICE ADDRESS byte (Table 02h, Register 8Bh) is used as the device address for receiver 1. Receiver 2 remains at B2h. BIT 3 MASK: 0 = (default) Alarm-enable row exists at Table 01h, Registers F8h-FFh. Table 05h, Registers F8h- FFh are empty. 1 = Alarm-enable row exists at Table 05h, Registers F8h-FFh. Table 01h, Registers F8h-FFh are empty. BIT 2 INVRSOUT: Allow for inversion of the RSELOUT pin (see Figure 11). 0 = (default) RSELOUT is not inverted. 1 = RSELOUT is inverted. BIT 0 INVLOSOUT: Allow for inversion of signal driven to the LOSOUT output pin. 0 = (default) LOSOUT is not inverted. 1 = LOSOUT signal is inverted. 45 DS1877 SFP Controller for Dual Rx Interface Table 02h, Register 89h: CNFGB 89h FACTORY DEFAULT 00h READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS PW2 or (PW1 and RWTBL2) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) INXC INVOUTX ALATCH2 QTLATCH2 WLATCH2 ALATCH1 QTLATCH1 BIT 7 46 WLATCH1 BIT 0 BIT 7 INXC: INX software control bit (see Figure 11). 0 = INX pin's logic controls OUTX pin. 1 = OUTX is active (bit 6 defines the polarity). BIT 6 INVOUTX: Inverts the active state for OUTX (see Figure 11). 0 = Noninverted. 1 = Inverted. BIT 5 ALATCH2: ADC alarm's comparison latch, Lower Memory, Registers 70h-71h. 0 = ADC alarm and flags reflect the status of the last comparison. 1 = ADC alarm flags remain set. BIT 4 QTLATCH2: QT's comparison latch, Lower Memory, Register 73h. 0 = QT alarm and warning flags reflect the status of the last comparison. 1 = QT alarm and warning flags remain set. BIT 3 WLATCH2: ADC warning's comparison latch, Lower Memory, Register 74h. 0 = ADC warning flags reflect the status of the last comparison. 1 = ADC warning flags remain set. BIT 2 ALATCH1: ADC alarm's comparison latch, Lower Memory, Registers 70h-71h. 0 = ADC alarm and flags reflect the status of the last comparison. 1 = ADC alarm flags remain set. BIT 1 QTLATCH1: QT's comparison latch, Lower Memory, Register 73h. 0 = QT alarm and warning flags reflect the status of the last comparison. 1 = QT alarm and warning flags remain set. BIT 0 WLATCH1: ADC warning's comparison latch, Lower Memory, Register 74h. 0 = ADC warning flags reflect the status of the last comparison. 1 = ADC warning flags remain set. SFP Controller for Dual Rx Interface 8Ah FACTORY DEFAULT 00h READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS PW2 or (PW1 and RWTBL2) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) TXD_RST EN DAC2 RESERVED LOSC2 INVLOS2 RESERVED TXD_RST EN DAC1 DS1877 Table 02h, Register 8Ah: CNFGC LOSC1 BIT 7 BITS 7, 3 INVLOS1 BIT 0 RESERVED BIT 6 TXD_RST EN DAC2: 0 = TXDC2 has no effect on DAC2. 1 = DAC2 is reset by TXDC2. BIT 5 LOSC2: See Figure 11. 0 = LOS2 LO QT drives LOSOUT logic. 1 = LOS2 input pin drives LOSOUT logic. BIT 4 INVLOS2: See Figure 11. 0 = (default) LOS2 input is not inverted. 1 = LOS2 input is inverted. BIT 2 TXD_RST EN DAC1: See Figure 11. 0 = TXDC1 has no effect on DAC1. 1 = DAC1 is reset by TXDC1. BIT 1 LOSC1: See Figure 11. 0 = LOS1 LO QT drives LOSOUT logic. 1 = LOS1 input pin drives LOSOUT logic. BIT 0 INVLOS1: See Figure 11. 0 = (default) LOS1 input is not inverted. 1 = LOS1 input is inverted. Table 02h, Register 8Bh: DEVICE ADDRESS 8Bh FACTORY DEFAULT 00h READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS PW2 or (PW1 and RWTBL2) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) RESERVED BIT 7 RESERVED RESERVED RESERVED 23 22 21 RESERVED BIT 0 This value becomes the I2C slave address for the main memory when the ASEL bit (Table 02h, Register 88h) is set. If A0h/B0h is programmed to this register, the auxiliary memory is disabled. For example, writing xxxx_010x makes the main device addresses A4h and B4h. 47 DS1877 SFP Controller for Dual Rx Interface Table 02h, Register 8Ch: RESERVED FACTORY DEFAULT READ ACCESS N/A WRITE ACCESS N/A A2h AND B2h MEMORY N/A MEMORY TYPE N/A This register is reserved. Table 02h, Register 8Dh: FORCE RSSI 8Dh FACTORY DEFAULT 00h READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS PW2 or (PW1 and RWTBL2) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) RESERVED XOVEREN2 BIT 7 BITS 7, 3 BIT 6 BITS 5:4 BIT 2 BITS 1:0 48 RSSI2_FC RSSI2_FF RESERVED XOVEREN1 RSSI1_FC RSSI1_FF BIT 0 RESERVED XOVEREN2: Enables RSSI conversion to use the XOVER2 value during RSSI2 conversions. 0 = Uses hysteresis for linear RSSI measurements. 1 = XOVER2 value is enabled for nonlinear RSSI measurements. RSSI2_FC and RSSI2_FF: RSSI2 force coarse and RSSI2 force fine. Control bits for RSSI mode of operation on the RSSI2 conversion. 00b = (default) Normal RSSI mode of operation. 01b = The fine settings of scale and offset are used for RSSI2 conversions. 10b = The coarse settings of scale and offset are used for RSSI2 conversions. 11b = Normal RSSI mode of operation. XOVEREN1: Enables RSSI conversion to use the XOVER1 value during RSSI1 conversions. 0 = Uses hysteresis for linear RSSI measurements. 1 = XOVER1 value is enabled for nonlinear RSSI measurements. RSSI1_FC and RSSI1_FF: RSSI1 force coarse and RSSI1 force fine. Control bits for RSSI mode of operation on the RSSI1 conversion. 00b = (default) Normal RSSI mode of operation. 01b = The fine settings of scale and offset are used for RSSI1 conversions. 10b = The coarse settings of scale and offset are used for RSSI1 conversions. 11b = Normal RSSI mode of operation. SFP Controller for Dual Rx Interface FACTORY DEFAULT 00h READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS PW2 or (PW1 and RWTBL2) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) 8Eh RESERVED RSSI2C2 RSSI2C1 RSSI2C0 RESERVED DS1877 Table 02h, Register 8Eh: RIGHT-SHIFT2 (RSHIFT2) RSSI2F2 RSSI2F1 BIT 7 RSSI2F0 BIT 0 Allows for right-shifting the final answer of RSSI2 COARSE and RSSI2 FINE. This allows for scaling the measurement to the smallest full-scale voltage and then right-shifting the final result so the reading is weighted to the correct LSB. Table 02h, Register 8Fh: RIGHT-SHIFT1 (RSHIFT1) 8Fh FACTORY DEFAULT 00h READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS PW2 or (PW1 and RWTBL2) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) RESERVED RSSI1C2 RSSI1C1 BIT 7 RSSI1C0 RESERVED RSSI1F2 RSSI1F1 RSSI1F0 BIT 0 Allows for right-shifting the final answer of RSSI1 COARSE and RSSI1 FINE. This allows for scaling the measurements to the smallest full-scale voltage and then right-shifting the final result so the reading is weighted to the correct LSB. Table 02h, Register 90h-91h: RESERVED FACTORY DEFAULT 00h READ ACCESS N/A WRITE ACCESS N/A A2h AND B2h MEMORY N/A MEMORY TYPE N/A These registers are reserved. 49 DS1877 SFP Controller for Dual Rx Interface Table 02h, Register 92h-93h: VCC SCALE Table 02h, Register 94h-95h: XOVER2 COARSE Table 02h, Register 96h-97h: XOVER2 FINE Table 02h, Register 98h-99h: RSSI2 COARSE SCALE Table 02h, Register 9Ah-9Bh: RSSI2 FINE SCALE Table 02h, Register 9Ch-9Dh: RSSI1 COARSE SCALE Table 02h, Register 9Eh-9Fh: RSSI1 FINE SCALE FACTORY CALIBRATED READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS PW2 or (PW1 and RWTBL2) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) 92h, 94h, 96h, 98h, 9Ah, 9Ch, 9Eh 215 214 213 212 211 210 29 28 93h, 95h, 97h, 99h, 9Bh, 9Dh, 9Fh 27 26 25 24 23 22 21 20 BIT 7 BIT 0 Controls the scaling or gain of the full-scale voltage measurements. The factory-calibrated value produces an FS voltage of 6.5536V for VCC, 2.5V for RSSI2 COARSE and RSSI1 COARSE, and 0.3125V for RSSI2 FINE and RSSI1 FINE. Table 02h, Register A0h-A1h: INTERNAL TEMP OFFSET FACTORY CALIBRATED READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS PW2 or (PW1 and RWTBL2) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) A0h S 28 27 26 25 24 23 22 A1h 21 20 2-1 2-2 2-3 2-4 2-5 2-6 BIT 7 BIT 0 Allows for offset control of temperature measurement if desired. The final result must be XORed with BB40h before writing to this register. Factory calibration contains the desired value for a reading in degrees Celsius. 50 SFP Controller for Dual Rx Interface DS1877 Table 02h, Register A2h-A3h: VCC OFFSET Table 02h, Register A4h-A5h: XOVER1 COARSE Table 02h, Register A6h-A7h: XOVER1 FINE Table 02h, Register A8h-A9h: RSSI2 COARSE OFFSET Table 02h, Register AAh-ABh: RSSI2 FINE OFFSET Table 02h, Register ACh-ADh: RSSI1 COARSE OFFSET Table 02h, Register AEh-AFh: RSSI1 FINE OFFSET FACTORY DEFAULT 00h READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS PW2 or (PW1 and RWTBL2) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) A2h, A4h, A6h, A8h, AAh, ACh, AEh S S 215 214 213 212 211 210 A3h, A5h, A7h, A9h, ABh, ADh, AFh 29 28 27 26 25 24 23 22 BIT 7 BIT 0 Allows for offset control of these voltage measurements if desired. This number is two's complement. 51 DS1877 SFP Controller for Dual Rx Interface Table 02h, Register B0h-B3h: PW1 FACTORY DEFAULT FFFF FFFFh READ ACCESS N/A WRITE ACCESS PW2 or (PW1 and WPW1) MEMORY TYPE Nonvolatile (SEE) B0h 231 230 229 228 227 226 225 224 B1h 223 222 221 220 219 218 217 216 B2h 215 214 213 212 211 210 29 28 B3h 27 26 25 24 23 22 21 20 BIT 7 BIT 0 The PWE value is compared against the value written to this location to enable PW1 access. At power-on, the PWE value is set to all ones. Thus, writing these bytes to all ones grants PW1 access on power-on without writing the password entry. All reads of this register are 00h. Table 02h, Register B4h-B7h: PW2 FACTORY DEFAULT FFFF FFFFh READ ACCESS N/A WRITE ACCESS PW2 MEMORY TYPE Nonvolatile (SEE) B4h 231 230 229 228 227 226 225 224 B5h 223 222 221 220 219 218 217 216 B6h 215 214 213 212 211 210 29 28 B7h 27 26 25 24 23 22 21 20 BIT 7 BIT 0 The PWE value is compared against the value written to this location to enable PW2 access. At power-on, the PWE value is set to all ones. Thus, writing these bytes to all ones grants PW2 access on power-on without writing the password entry. All reads of this register are 00h. 52 SFP Controller for Dual Rx Interface B8h FACTORY DEFAULT 00h READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS PW2 or (PW1 and RWTBL2) A2h AND B2h MEMORY Common A2h and B2h memory location MEMORY TYPE Nonvolatile (SEE) RESERVED HLOS22 HLOS21 HLOS20 RESERVED LLOS22 DS1877 Table 02h, Register B8h: LOS RANGING2 LLOS21 BIT 7 LLOS20 BIT 0 This register controls the full-scale range of the QT monitoring for the RSSI2 differential inputs. BITS 7, 3 RESERVED (default = 0) HLOS2[2:0]: HLOS2 full-scale ranging: 3-bit value to select the full-scale comparison voltage for high LOS found on RSSI2. Default is 000b and creates a full scale of 1.25V. BITS 6:4 HLOS2[2:0] % OF 1.25V 000b 100.00 FS VOLTAGE (V) 1.250 001b 80.02 1.0003 010b 66.69 0.8336 011b 50.05 0.6256 100b 40.05 0.5006 101b 33.38 0.4172 110b 28.62 0.3578 111b 25.04 0.313 LLOS2[2:0]: LLOS2 full-scale ranging: 3-bit value to select the full-scale comparison voltage for low LOS found on RSSI2. Default is 000b and creates a full scale of 1.25V. BITS 2:0 LLOS2[2:0] % OF 1.25V FS VOLTAGE (V) 000b 100.00 1.250 001b 80.02 1.0003 010b 66.69 0.8336 011b 50.05 0.6256 100b 40.05 0.5006 101b 33.38 0.4172 110b 28.62 0.3578 111b 25.04 0.313 53 DS1877 SFP Controller for Dual Rx Interface Table 02h, Register B9h: RESERVED FACTORY DEFAULT 00h READ ACCESS N/A WRITE ACCESS N/A A2h AND B2h MEMORY N/A MEMORY TYPE N/A This register is reserved. Table 02h, Register BAh: HLOS2 BAh FACTORY DEFAULT 00h READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS (PW2 and QT2EN = 0) or (PW1 and RWTBL2 and QT2EN = 0) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) 27 26 25 24 23 22 21 BIT 7 20 BIT 0 Fast comparison DAC threshold adjust for high LOS2. The combination of HLOS2 and LLOS2 creates a hysteresis comparator. As RSSI2 falls below the LLOS2 threshold, the LOS2 LO alarm bit is set to 1. The LOS2 LO alarm remains set until the RSSI2 input is found above the HLOS2 threshold setting, which clears the LOS2 LO alarm bit and sets the LOS2 HI alarm bit. Table 02h, Register BBh: LLOS2 BBh FACTORY DEFAULT 00h READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS (PW2 and QT2EN = 0) or (PW1 and RWTBL2 and QT2EN = 0) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) 27 BIT 7 26 25 24 23 22 21 20 BIT 0 Fast comparison DAC threshold adjust for low LOS2. See HLOS2 (Table 02h, Register BAh) for the functional description. 54 SFP Controller for Dual Rx Interface BCh FACTORY DEFAULT 00h READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS PW2 or (PW1 and RWTBL2) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) RESERVED HLOS12 HLOS11 HLOS10 RESERVED LLOS12 DS1877 Table 02h, Register BCh: LOS RANGING1 LLOS11 BIT 7 LLOS10 BIT 0 This register controls the full-scale range of the QT monitoring for the RSSI1 differential inputs. BITS 7, 3 RESERVED (default = 0) HLOS1[2:0]: HLOS1 full-scale ranging: 3-bit value to select the full-scale comparison voltage for high LOS found on RSSI1. Default is 000b and creates a full scale of 1.25V. BITS 6:4 HLOS1[2:0] % OF 1.25V 000b 100.00 FS VOLTAGE (V) 1.250 001b 80.02 1.0003 010b 66.69 0.8336 011b 50.05 0.6256 100b 40.05 0.5006 101b 33.38 0.4172 110b 28.62 0.3578 111b 25.04 0.313 LLOS1[2:0]: LLOS1 full-scale ranging: 3-bit value to select the full-scale comparison voltage for low LOS found on RSSI1. Default is 000b and creates a full scale of 1.25V. BITS 2:0 LLOS1[2:0] % OF 1.25V FS VOLTAGE (V) 000b 100.00 1.250 001b 80.02 1.0003 010b 66.69 0.8336 011b 50.05 0.6256 100b 40.05 0.5006 101b 33.38 0.4172 110b 28.62 0.3578 111b 25.04 0.313 55 DS1877 SFP Controller for Dual Rx Interface Table 02h, Register BDh: RESERVED FACTORY DEFAULT 00h READ ACCESS N/A WRITE ACCESS N/A A2h AND B2h MEMORY N/A MEMORY TYPE N/A This register is reserved. Table 02h, Register BEh: HLOS1 BEh FACTORY DEFAULT 00h READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS (PW2 and QT2EN = 0) or (PW1 and RWTBL2 and QT2EN = 0) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) 27 26 25 24 23 22 21 BIT 7 20 BIT 0 Fast comparison DAC threshold adjust for high LOS1. The combination of HLOS1 and LLOS1 creates a hysteresis comparator. As RSSI1 falls below the LLOS1 threshold, the LOS1 LO alarm bit is set to 1. The LOS1 LO alarm remains set until the RSSI1 input is found above the HLOS1 threshold setting, which clears the LOS1 LO alarm bit and sets the LOS1 HI alarm bit. Table 02h, Register BFh: LLOS1 BFh FACTORY DEFAULT 00h READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS (PW2 and QT2EN = 0) or (PW1 and RWTBL2 and QT2EN = 0) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) 27 BIT 7 26 25 24 23 22 21 20 BIT 0 Fast comparison DAC threshold adjust for low LOS1. See HLOS1 (Table 02h, Register BEh) for the functional description. 56 SFP Controller for Dual Rx Interface C0h FACTORY DEFAULT 10h READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS PW2 or (PW1 and RWTBL2) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) RESERVED RWTBL1C RWTBL2 RWTBL1A RWTBL1B WLOWER DS1877 Table 02h, Register C0h: PW_ENA WAUXA BIT 7 WAUXB BIT 0 BIT 7 RESERVED BIT 6 RWTBL1C: Table 01h or 05h bytes F8h-FFh. Table address is dependent on MASK bit (Table 02h, Register 88h). 0 = (default) Read and write access for PW2 only. 1 = Read and write access for both PW1 and PW2. BIT 5 RWTBL2: Table 02h. Writing a nonvolatile value to this bit requires PW2 access. 0 = (default) Read and write access for PW2 only. 1 = Read and write access for both PW1 and PW2. BIT 4 RWTBL1A: Table 01h, Registers 80h-BFh. 0 = Read and write access for PW2 only. 1 = (default) Read and write access for both PW1 and PW2. BIT 3 RWTBL1B: Table 01h, Registers C0h-F7h. 0 = (default) Read and write access for PW2 only. 1 = Read and write access for both PW1 and PW2. BIT 2 WLOWER: Bytes 00h-5Fh in main memory. All users can read this area. 0 = (default) Write access for PW2 only. 1 = Write access for both PW1 and PW2. BIT 1 WAUXA: Auxiliary memory, Registers 00h-7Fh. All users can read this area. 0 = (default) Write access for PW2 only. 1 = Write access for both PW1 and PW2. BIT 0 WAUXB: Auxiliary memory, Registers 80h-FFh. All users can read this area. 0 = (default) Write access for PW2 only. 1 = Write access for both PW1 and PW2. 57 DS1877 SFP Controller for Dual Rx Interface Table 02h, Register C1h: PW_ENB C1h FACTORY DEFAULT 03h READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS PW2 or (PW1 and RWTBL2) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) RWTBL46 RTBL1C RTBL2 RTBL1A RTBL1B WPW1 WAUXAU BIT 7 58 WAUXBU BIT 0 BIT 7 RWTBL46: Table 04h. 0 = (default) Read and write access for PW2 only. 1 = Read and write access for PW1 and PW2. BIT 6 RTBL1C: Table 01h or Table 05h, Registers F8h-FFh. Table address is dependent on MASK bit (Table 02h, Register 88h). 0 = (default) Read access for PW2 only. 1 = Read access for PW1 and PW2. BIT 5 RTBL2: Table 02h. 0 = (default) Read access for PW2 only. 1 = Read access for PW1 and PW2. BIT 4 RTBL1A: Table 01h, Registers 80h-BFh. 0 = (default) Read access for PW2 only. 1 = Read access for PW1 and PW2. BIT 3 RTBL1B: Table 01h, Registers C0h-F7h. 0 = (default) Read access for PW2 only. 1 = Read access for PW1 and PW2. BIT 2 WPW1: Register PW1 (Table 02h, Registers B0h-B3h). 0 = (default) Write access for PW2 only. 1 = Write access for PW1 and PW2. BIT 1 WAUXAU: Auxiliary memory, Registers 00h-7Fh. All users can read this area. 0 = Write access for PW2 only. 1 = (default) Write access for user, PW1, and PW2. BIT 0 WAUXBU: Auxiliary memory, Registers 80h-FFh. All users can read this area. 0 = Write access for PW2 only. 1 = (default) Write access for user, PW1, and PW2. SFP Controller for Dual Rx Interface FACTORY DEFAULT 00h READ ACCESS N/A WRITE ACCESS N/A A2h AND B2h MEMORY N/A MEMORY TYPE N/A DS1877 Table 02h, Register C2h-C5h: RESERVED These registers are reserved. Table 02h, Register C6h: POLARITY C6h FACTORY DEFAULT 0Ah READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS PW2 or (PW1 and RWTBL2) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) RESERVED RESERVED RESERVED BIT 7 BITS 7:4, 2, 0 RESERVED DAC2P RESERVED DAC1P RESERVED BIT 0 RESERVED BIT 3 DAC2P: DAC2 VALUE polarity. The DAC2 VALUE (Table 02h, Registers C8h-C9h) range is 000h-3FFh. A setting of 000h creates a pulse-density of zero and 3FFh creates a pulse-density of 1023/1024. This polarity bit allows the user to use GND or VREFIN as the reference. The power-on of DAC2 VALUE is 000h; thus an application that needs VREFIN to be the off state should use the inverted polarity. 0 = Normal polarity. A setting of 000h results in a pulse-density output of zero held at GND, and a setting of 3FFh results in a pulsed-density output of 1023/1024 held mostly at VREFIN. 1 = Inverted polarity. A setting of 000h results in a pulse-density output of zero held at VREFIN, and a setting of 3FFh results in a pulsed-density output of 1023/1024 held mostly at GND. BIT 1 DAC1P: DAC1 VALUE polarity. The DAC1 VALUE (Table 02h, Registers CCh-CDh) range is 000h-3FFh. A setting of 000h creates a pulse-density of zero and 3FFh creates a pulse-density of 1023/1024. This polarity bit allows the user to use GND or VREFIN as the reference. The power-on of DAC1 VALUE is 000h; thus an application that needs VREFIN to be the off state should use the inverted polarity. 0 = Normal polarity. A setting of 000h results in a pulse-density output of zero held at GND, and a setting of 3FFh results in a pulsed-density output of 1023/1024 held mostly at VREFIN. 1 = Inverted polarity. A setting of 000h results in a pulse-density output of zero held at VREFIN, and a setting of 3FFh results in a pulsed-density output of 1023/1024 held mostly at GND. 59 DS1877 SFP Controller for Dual Rx Interface Table 02h, Register C7h: TBLSELPON C7h FACTORY DEFAULT 00h READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS PW2 or (PW1 and RWTBL2) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Nonvolatile (SEE) 27 26 25 24 23 22 21 BIT 7 20 BIT 0 Chooses the initial value for the TBL SEL byte (Lower Memory, Register 7Fh) at power-on. Table 02h, Register C8h-C9h: DAC2 VALUE FACTORY DEFAULT 0000h READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS (PW2 and DAC2EN = 0) or (PW1 and RWTBL2 and DAC2EN = 0) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Volatile C8h 0 0 0 0 0 0 29 28 C9h 27 26 25 24 23 22 21 20 BIT 7 BIT 0 The digital value used for DAC2 VALUE. It is the result of LUT4 plus DAC2 OFFSET times 4 recalled from Address B0h, Table 04h (Registers F8h-FFh) at the adjusted memory address found in TINDEX. This register is updated at the end of the temperature conversion. DAC2 VALUE = LUT4 + DAC2 OFFSET x 4 V VDAC2 = REFIN x DAC2 VALUE d (if POLARITY = 0) 1024 V VDAC2 = VREFIN - REFIN x DAC VALUE d (if POLARITY = 1) 1024 Table 02h, Register CAh-CBh: RESERVED FACTORY DEFAULT 00h READ ACCESS N/A WRITE ACCESS N/A A2h AND B2h MEMORY N/A MEMORY TYPE None These registers do not exist. 60 SFP Controller for Dual Rx Interface FACTORY DEFAULT 0000h READ ACCESS PW2 or (PW1 and RWTBL2) or (PW1 and RTBL2) WRITE ACCESS (PW2 and DAC1EN = 0) or (PW1 and RWTBL2 and DAC1EN = 0) A2h AND B2h MEMORY Common A2h and B2h memory locations MEMORY TYPE Volatile DS1877 Table 02h, Register CCh-CDh: DAC1 VALUE CCh 0 0 0 0 0 0 29 28 CDh 27 26 25 24 23 22 21 20 BIT 7 BIT 0 The digital value used for DAC1 VALUE. It is the result of LUT4 plus DAC1 OFFSET times 4 recalled from Address A0h, Table 04h (Registers F8h-FFh) at the adjusted memory address found in TINDEX. This register is updated at the end of the temperature conversion. DAC1 VALUE = LUT4 + DAC1 OFFSET x 4 V VDAC1 = REFIN x DAC1 VALUE d (if POLARITY = 0) 1024 V VDAC1 = VREFIN - REFIN x DAC1 VALUE d (if POLARITY = 1) 1024 Table 02h, Register CEh-CFh: RESERVED FACTORY DEFAULT 00h READ ACCESS N/A WRITE ACCESS N/A A2h AND B2h MEMORY N/A MEMORY TYPE N/A These registers do not exist. Table 02h, Register D0h-FFh: EMPTY FACTORY DEFAULT 00h READ ACCESS N/A WRITE ACCESS N/A A2h AND B2h MEMORY N/A MEMORY TYPE None These registers do not exist. 61 DS1877 SFP Controller for Dual Rx Interface Table 04h Register Descriptions Table 04h, Register 80h-C7h: DAC LUT 80h-C7h FACTORY DEFAULT 00h READ ACCESS PW2 or (PW1 and RWTBL46) WRITE ACCESS PW2 or (PW1 and RWTBL46) A2h AND B2h MEMORY Different A2h and B2h memory locations MEMORY TYPE Nonvolatile (EE) 27 26 25 BIT 7 24 23 22 21 20 BIT 0 Digital value for the DAC1 VALUE (A2h address) and DAC2 VALUE (B2h address) outputs. The DAC LUT is a set of registers assigned to hold the temperature profile for the DAC1 and DAC2 values. The temperature measurement is used to index the LUT (TINDEX, Table 02h, Register 81h) in 2NC increments from -40NC to +102NC, starting at 80h. Register 80h defines the -40NC to -38NC DAC output, Register 81h defines -38NC to -36NC DAC output, and so on. Values recalled from this EEPROM memory table are written into the DAC1 and DAC2 value (Table 02h, Registers C8h-C9h, CCh-CDh) locations that hold the values until the next temperature conversion. The device can be placed into a manual mode (DAC1EN and DAC2EN bits, Table 02h, Register 80h), where DAC1 and DAC2 values are directly controlled for calibration. If the temperature compensation functionality is not required, program the entire table to the desired modulation setting. Table 02h, Register C8h-F7h: EMPTY FACTORY DEFAULT 00h READ ACCESS N/A WRITE ACCESS N/A A2h AND B2h MEMORY N/A MEMORY TYPE None These registers do not exist. 62 SFP Controller for Dual Rx Interface F8h-FFh FACTORY DEFAULT 00h READ ACCESS PW2 or (PW1 and RWTBL46) WRITE ACCESS PW2 or (PW1 and RWTBL46) A2h AND B2h MEMORY Different A2h and B2h memory locations MEMORY TYPE Nonvolatile (EE) 29 28 27 26 25 DS1877 Table 04h, Register F8h-FFh: DAC OFFSET LUT 24 23 BIT 7 22 BIT 0 The digital value for the temperature offset of the DAC1 and DAC2 VALUE outputs. F8h Less than or equal to -8NC F9h Greater than -8NC up to +8NC FAh Greater than +8NC up to +24NC FBh Greater than +24NC up to +40NC FCh Greater than +40NC up to +56NC FDh Greater than +56NC up to +72NC FEh Greater than +72NC up to +88NC FFh Greater than +88NC The DAC VALUE is a 10-bit value. The DAC LUT is an 8-bit LUT. The DAC OFFSET LUT times 4 plus the DAC LUT makes use of the entire 10-bit range. Auxiliary Memory A0h Register Descriptions Auxiliary Memory A0h, Register 00h-7Fh: EEPROM 00h-7Fh FACTORY DEFAULT 00h READ ACCESS All WRITE ACCESS PW2 or (PW1 and WAUXA) or WAUXAU MEMORY TYPE Nonvolatile (EE) 27 26 25 BIT 7 24 23 22 21 20 BIT 0 Accessible with the slave address A0h. 63 DS1877 SFP Controller for Dual Rx Interface Auxiliary Memory A0h, Register 80h-FFh: EEPROM 80h-FFh FACTORY DEFAULT 00h READ ACCESS All WRITE ACCESS PW2 or (PW1 and WAUXB) or WAUXBU MEMORY TYPE Nonvolatile (EE) 27 26 25 24 23 22 21 BIT 7 20 BIT 0 Accessible with the slave address A0h. Applications Information Package Information Power-Supply Decoupling For the latest package outline information and land patterns, go to www.maxim-ic.com/packages. Note that a "+", "#", or "-" in the package code indicates RoHS status only. Package drawings may show a different suffix character, but the drawing pertains to the package regardless of RoHS status. To achieve best results, it is recommended that the power supply is decoupled with a 0.01FF or a 0.1FF capacitor. Use high-quality, ceramic, surface-mount capacitors, and mount the capacitors as close as possible to the VCC and GND pins to minimize lead inductance. SDA and SCL Pullup Resistors SDA is an open-collector output on the device that requires a pullup resistor to realize high logic levels. A master using either an open-collector output with a pullup resistor or a push-pull output driver can be used for SCL. Pullup resistor values should be chosen to ensure that the rise and fall times listed in the I2C AC Electrical Characteristics table are within specification. 64 PACKAGE TYPE PACKAGE CODE DOCUMENT NO. 28 TQFN-EP T2855+6 21-0140 SFP Controller for Dual Rx Interface REVISION NUMBER REVISION DATE 0 3/10 Initial release 4/10 Updated Figure 11 labels for LOS1/2 and INVLOSOUT, and corrected errors in the CNFGC, HLOS2, and HLOS1 bit tables. 1 DESCRIPTION PAGES CHANGED -- 19, 47, 54, 56 Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time. Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 (c) 2010 Maxim Integrated Products 65 Maxim is a registered trademark of Maxim Integrated Products, Inc. DS1877 Revision History