概述
DS1873用于控制、監測小外形(SFF)、小外形可插拔(SFP)和增強型小外形可插拔(SFP+)模塊的所有功能,包括SFF-8472的全部功能。六通道ADC檢測VCC、溫度和四路外部監控輸入(MON1–MON4),能夠滿足所有監測要求。兩路數/模轉換器(DAC)輸出配合溫度查找表(LUT),提供額外的監測和控制功能。為了監測如此多的功能,DS1873需要控制大量的寄存器,本文介紹了控制這些寄存器的一個變通方法。
DS1873存儲器
DS1873有九個獨立的存儲器表,內部劃分成八個字節行。
低地址字節存儲器的地址從00h至7Fh,包括報警和預警門限、標志位、屏蔽位、幾個控制寄存器、密碼輸入區域(PWE)以及表格選擇字節。
表01h包含用戶EEPROM (PW1級訪問權限)和報警、預警使能字節。
表02h為多功能區域,包含配置寄存器、比例調節和失調值、密碼、中斷寄存器以及其它各種控制字節。
表04h包含溫度索引LUT,用于控制調制輸出電壓。LUT可以按照2°C間隔,在-40°C至+102°C范圍內編程。
表05h默認為空,可以配置為MASK位使能(表02h、寄存器89h)的表01h、寄存器F8h–FFh的報警、預警使能字節。這種情況下,表01h為空。
表06h包含溫度索引LUT,支持自動功率控制(APC)設置點隨溫度變化,以補償跟蹤誤差(TE)。APC LUT具有36個索引值,按照4°C間隔,在-40°C至+100°C范圍內確定APC設置。
表07h包含溫度索引LUT,用于控制DAC1。該LUT具有36個索引值,按照4°C間隔,在-40°C至+100°C范圍內確定DAC設置。
表08h包含溫度索引LUT,用于控制DAC2。該LUT具有36個索引值,按照4°C間隔,在-40°C至+100°C范圍內確定DAC設置。
輔助存儲器(器件A0h)包含256字節EEPROM,通過地址00h–FFh訪問。輔助存儲器通過A0h器件地址選擇。
關于每個字節的功能以及讀/寫權限的詳細信息,請參考下列表格。
?
EEPROM映射
許多非易失存儲器位于EEPROM映射區域(請參考下述寄存器參考部分),受控于表02h、寄存器80h的SEEB位。
DS1873為關鍵存儲器地址提供映射EEPROM存儲器的位置,可進行多次寫操作。默認情況下,映射EEPROM位SEEB并不置位,這些存儲器的操作與常規EEPROM相同。當SEEB置位時,這些存儲器的功能類似于SRAM單元,允許無限次寫操作,不用擔心EEPROM的寫次數問題。利用SEEB位還可以不受EEPROM寫時間tWR的限制。SEEB使能情況下的任何變化并不影響EEPROM,掉電后不會保持這些更改。上電后的數值為SEEB禁用時最后一次寫入的數值。SEEB功能可以用來限制校準期間EEPROM的寫操作次數,或者在正常工作時周期性改變監測門限。這有助于減少EEPROM的寫次數。下面的存儲器映射表給出了映射EEPROM的位置。
?
DS1873存儲器映射
寄存器參考
以下表格給出了低地址字節存儲器和表01h、表02h的簡要參考。請參考數據資料中相應的寄存器,查找每一位的詳細說明。表04h至表08h為LUT,不需要單獨說明,請參考數據資料了解這些表格的詳細信息。
注:RSVD是“reserved”的縮寫。
低地址字節存儲器
Register Name | Address (h) | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
TEMP ALARM HI TEMP WARN HI |
00, 04 | S | 26 | 25 | 24 | 23 | 22 | 21 | 20 |
01, 05 | 2-1 | 2-2 | 2-3 | 2-4 | 2-5 | 2-6 | 2-7 | 2-8 | |
TEMP ALARM LO TEMP WARN LO |
02, 06 | S | 26 | 25 | 24 | 23 | 22 | 21 | 20 |
03, 07 | 2-1 | 2-2 | 2-3 | 2-4 | 2-5 | 2-6 | 2-7 | 2-8 | |
VCC ALARM HI VCC WARN HI MON1–4 ALARM HI MON1–4 WARN HI |
08, 0C, 10, 14, 18, 1C, 20, 24, 28, 2C | 215 | 214 | 213 | 212 | 211 | 210 | 29 | 28 |
09, 0D, 11, 15, 19, 1D, 21, 25, 29, 2D | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | |
VCC ALARM LO VCC WARN LO MON1–4 ALARM LO MON1–4 WARN LO |
0A, 0E, 12, 16, 1A, 1E, 22, 26, 2A, 2E | 215 | 214 | 213 | 212 | 211 | 210 | 29 | 28 |
0B, 0F, 13, 17, 1B, 1F, 23, 27, 2B, 2F | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | |
PW2 EE | 30–5F | EE | EE | EE | EE | EE | EE | EE | EE |
TEMP VALUE | 60 | S | 26 | 25 | 24 | 23 | 22 | 21 | 20 |
61 | 2-1 | 2-2 | 2-3 | 2-4 | 2-5 | 2-6 | 2-7 | 2-8 | |
VCC VALUE MON1–4 VALUE |
62, 64, 66, 68, 6A | 215 | 214 | 213 | 212 | 211 | 210 | 29 | 28 |
63, 65, 67, 69, 6B | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | |
RESERVED | 6C, 6D | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
STATUS | 6E | TXDS | TXDC | IN1S | RSELS | RSELC | TXF | RXL | RDYB |
UPDATE | 6F | TEMP RDY | VCC RDY | MON1 RDY | MON2 RDY | MON3 RDY | MON4 RDY | RSVD | RSSIR |
ALARM3 | 70 | TEMP HI | TEMP LO | VCC HI | VCC LO | MON1 HI | MON1 LO | MON2 HI | MON2 LO |
ALARM2 | 71 | MON3 HI | MON3 LO | MON4 HI | MON4 LO | RSVD | RSVD | RSVD | TXFINT |
ALARM1 | 72 | RSVD | RSVD | RSVD | RSVD | HBAL | RSVD | TXP HI | TXP LO |
ALARM0 | 73 | LOS HI | LOS LO | RSVD | RSVD | BIAS MAX | RSVD | RSVD | RSVD |
WARN3 | 74 | TEMP HI | TEMP LO | VCC HI | VCC LO | MON1 HI | MON1 LO | MON2 HI | MON2 LO |
WARN2 | 75 | MON3 HI | MON3 LO | MON4 HI | MON4 LO | RSVD | RSVD | RSVD | RSVD |
RESERVED | 76–7A | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD |
PASSWORD ENTRY | 7B | 231 | 230 | 229 | 228 | 227 | 226 | 225 | 224 |
7C | 223 | 222 | 221 | 220 | 219 | 218 | 217 | 216 | |
7D | 215 | 214 | 213 | 212 | 211 | 210 | 29 | 28 | |
7E | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | |
TABLE SELECT | 7F | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 |
表01h
Register Name | Address (h) | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
EEPROM | 80-BF | EE | EE | EE | EE | EE | EE | EE | EE |
EEPROM | C0-F7 | EE | EE | EE | EE | EE | EE | EE | EE |
ALARM EN3 | F8 | TEMP HI | TEMP LO | VCC HI | VCC LO | MON1 HI | MON1 LO | MON2 HI | MON2 LO |
ALARM EN2 | F9 | MON3 HI | MON3 LO | MON4 HI | MON4 LO | RSVD | RSVD | RSVD | RSVD |
ALARM EN1 | FA | RSVD | RSVD | RSVD | RSVD | HBAL | RSVD | TXP HI | TXP LO |
ALARM EN0 | FB | LOS HI | LOS LO | RSVD | RSVD | BIAS MAX | RSVD | RSVD | RSVD |
WARN EN3 | FC | TEMP HI | TEMP LO | VCC HI | VCC LO | MON1 HI | MON1 LO | MON2 HI | MON2 LO |
WARN EN2 | FD | MON3 HI | MON3 LO | MON4 HI | MON4 LO | RSVD | RSVD | RSVD | RSVD |
RESERVED | FE-FF | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD |
表02h
Register Name | Address (h) | bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
MODE | 80 | SEEB | RSVD | DAC1 EN | DAC2 EN | AEN | MOD EN | APC EN | BIAS EN |
T INDEX | 81 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 |
MOD DAC VALUE | 82 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 28 |
83 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | |
DAC1 VALUE | 84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 28 |
85 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | |
DAC2 VALUE | 86 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 28 |
87 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | |
UPDATE RATE | 88 | SEE | SEE | SEE | SEE | APC_SR3 | APC_SR2 | APC_SR1 | APC_SR0 |
CNFGA | 89 | LOSC | RSVD | INV LOS | ASEL | MASK | INVRSOUT | RSVD | RSVD |
CNFGB | 8A | IN1C | INVOUT1 | RSVD | RSVD | RSVD | ALATCH | QTLATCH | WLATCH |
CNFGC | 8B | XOVREN | RSVD | TXDM34 | TXDFG | TXDFLT | TXDIO | RSSI_FC | RSSI_FF |
DEVICE ADDR | 8C | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 |
RIGHT SHIFT2 | 8D | RSVD | RSVD | RSVD | RSVD | RSVD | MON3C2 | MON3C1 | MON3C0 |
RIGHT SHIFT1 | 8E | RSVD | MON12 | MON11 | MON10 | RSVD | MON22 | MON21 | MON20 |
RIGHT SHIFT0 | 8F | RSVD | MON3F2 | MON3F1 | MON3F0 | RSVD | MON42 | MON41 | MON40 |
XOVER COARSE | 90 | 215 | 214 | 213 | 212 | 211 | 210 | 29 | 28 |
91 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 0 | |
VCC SCALE MON1–2 SCALE MON3 F SCALE MON4 SCALE MON3 C SCALE |
92, 94, 96, 98, 9A, 9C | 215 | 214 | 213 | 212 | 211 | 210 | 29 | 28 |
93, 95, 97, 99, 9B, 9D | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | |
RESERVED | 9E–9F | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD |
XOVER FINE | A0 | 215 | 214 | 213 | 212 | 211 | 210 | 29 | 28 |
A1 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 0 | |
VCC OFFSET MON1–2 OFFSET MON3 F OFFSET MON4 OFFSET MON3 C OFFSET |
A2, A4, A6, A8, AA, AC | S | S | 215 | 214 | 213 | 212 | 211 | 210 |
A3, A5, A7, A9, AB, AD | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | |
INTERNAL TEMP OFFSET | AE | S | 28 | 27 | 26 | 25 | 24 | 23 | 22 |
AF | 21 | 20 | 2-1 | 2-2 | 2-3 | 2-4 | 2-5 | 2-7 | |
PW1 | B0 | 231 | 230 | 229 | 228 | 227 | 226 | 225 | 224 |
B1 | 223 | 222 | 221 | 220 | 219 | 218 | 217 | 216 | |
B2 | 215 | 214 | 213 | 212 | 211 | 210 | 29 | 28 | |
B3 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | |
PW2 | B4 | 231 | 230 | 229 | 228 | 227 | 226 | 225 | 224 |
B5 | 223 | 222 | 221 | 220 | 219 | 218 | 217 | 216 | |
B6 | 215 | 214 | 213 | 212 | 211 | 210 | 29 | 28 | |
B7 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | |
LOS RANGING | B8 | RSVD | HLOS2 | HLOS1 | HLOS0 | RSVD | LLOS2 | LLOS1 | LLOS0 |
COMP RANGING | B9 | RSVD | HBIAS2 | HBIAS1 | HBIAS0 | RSVD | APC2 | APC1 | APC0 |
IBIASMAX | BA | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 |
ISTEP | BB | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 |
HTXP | BC | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 |
LTXP | BD | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 |
HLOS | BE | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 |
LLOS | BF | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 |
PW_ENA | C0 | RWTBL78 | RWTBL1C | RWTBL2 | RWTBL1A | RWTBL1B | WLOWER | WAUXA | WAUXB |
PW_ENB | C1 | RWTBL46 | RTBL1C | RTBL2 | RTBL1A | RTBL1B | WPW1 | WAUXAU | WAUXBU |
RESERVED | C2–C5 | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD |
POLARITY | C6 | RSVD | RSVD | RSVD | RSVD | MODP | BIASP | DAC1P | DAC2P |
TBLSELPON | C7 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 |
MAN BIAS | C8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 28 |
C9 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | |
BIAS DAC | CA | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD | MAN_CLK |
MAN BIAS | CB | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD | 29 | 28 |
CC | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | |
RESERVED | CD | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD |
DEVICE ID | CE | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 1 |
DEVICE VER | CF | ||||||||
APC DAC | D0 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 |
HBIAS DAC | D1 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 |
RESERVED | D2–D7 | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD |
EMPTY | D8–FF |
表04h:寄存器80h–C7h:MODULATION LUT
表04h:寄存器F8h–FFh:MOD OFFSET LUT
表06h:寄存器80h–A3h:APC LUT
表06h:寄存器F8h–FFh:HBIAS LUT
表07h:寄存器80h–C7h:DAC1 LUT
表07h:寄存器F8h–FFh:DAC1 OFFSET LUT
表08h:寄存器80h–C7h:DAC2 LUT
表08h:寄存器F8h–FFh:DAC2 OFFSET LUT
?
評論
查看更多