概述
DS1873用于控制、監(jiān)測(cè)小外形(SFF)、小外形可插拔(SFP)和增強(qiáng)型小外形可插拔(SFP+)模塊的所有功能,包括SFF-8472的全部功能。六通道ADC檢測(cè)VCC、溫度和四路外部監(jiān)控輸入(MON1–MON4),能夠滿足所有監(jiān)測(cè)要求。兩路數(shù)/模轉(zhuǎn)換器(DAC)輸出配合溫度查找表(LUT),提供額外的監(jiān)測(cè)和控制功能。為了監(jiān)測(cè)如此多的功能,DS1873需要控制大量的寄存器,本文介紹了控制這些寄存器的一個(gè)變通方法。
DS1873存儲(chǔ)器
DS1873有九個(gè)獨(dú)立的存儲(chǔ)器表,內(nèi)部劃分成八個(gè)字節(jié)行。
低地址字節(jié)存儲(chǔ)器的地址從00h至7Fh,包括報(bào)警和預(yù)警門限、標(biāo)志位、屏蔽位、幾個(gè)控制寄存器、密碼輸入?yún)^(qū)域(PWE)以及表格選擇字節(jié)。
表01h包含用戶EEPROM (PW1級(jí)訪問(wèn)權(quán)限)和報(bào)警、預(yù)警使能字節(jié)。
表02h為多功能區(qū)域,包含配置寄存器、比例調(diào)節(jié)和失調(diào)值、密碼、中斷寄存器以及其它各種控制字節(jié)。
表04h包含溫度索引LUT,用于控制調(diào)制輸出電壓。LUT可以按照2°C間隔,在-40°C至+102°C范圍內(nèi)編程。
表05h默認(rèn)為空,可以配置為MASK位使能(表02h、寄存器89h)的表01h、寄存器F8h–FFh的報(bào)警、預(yù)警使能字節(jié)。這種情況下,表01h為空。
表06h包含溫度索引LUT,支持自動(dòng)功率控制(APC)設(shè)置點(diǎn)隨溫度變化,以補(bǔ)償跟蹤誤差(TE)。APC LUT具有36個(gè)索引值,按照4°C間隔,在-40°C至+100°C范圍內(nèi)確定APC設(shè)置。
表07h包含溫度索引LUT,用于控制DAC1。該LUT具有36個(gè)索引值,按照4°C間隔,在-40°C至+100°C范圍內(nèi)確定DAC設(shè)置。
表08h包含溫度索引LUT,用于控制DAC2。該LUT具有36個(gè)索引值,按照4°C間隔,在-40°C至+100°C范圍內(nèi)確定DAC設(shè)置。
輔助存儲(chǔ)器(器件A0h)包含256字節(jié)EEPROM,通過(guò)地址00h–FFh訪問(wèn)。輔助存儲(chǔ)器通過(guò)A0h器件地址選擇。
關(guān)于每個(gè)字節(jié)的功能以及讀/寫權(quán)限的詳細(xì)信息,請(qǐng)參考下列表格。
?
EEPROM映射
許多非易失存儲(chǔ)器位于EEPROM映射區(qū)域(請(qǐng)參考下述寄存器參考部分),受控于表02h、寄存器80h的SEEB位。
DS1873為關(guān)鍵存儲(chǔ)器地址提供映射EEPROM存儲(chǔ)器的位置,可進(jìn)行多次寫操作。默認(rèn)情況下,映射EEPROM位SEEB并不置位,這些存儲(chǔ)器的操作與常規(guī)EEPROM相同。當(dāng)SEEB置位時(shí),這些存儲(chǔ)器的功能類似于SRAM單元,允許無(wú)限次寫操作,不用擔(dān)心EEPROM的寫次數(shù)問(wèn)題。利用SEEB位還可以不受EEPROM寫時(shí)間tWR的限制。SEEB使能情況下的任何變化并不影響EEPROM,掉電后不會(huì)保持這些更改。上電后的數(shù)值為SEEB禁用時(shí)最后一次寫入的數(shù)值。SEEB功能可以用來(lái)限制校準(zhǔn)期間EEPROM的寫操作次數(shù),或者在正常工作時(shí)周期性改變監(jiān)測(cè)門限。這有助于減少EEPROM的寫次數(shù)。下面的存儲(chǔ)器映射表給出了映射EEPROM的位置。
?
DS1873存儲(chǔ)器映射
寄存器參考
以下表格給出了低地址字節(jié)存儲(chǔ)器和表01h、表02h的簡(jiǎn)要參考。請(qǐng)參考數(shù)據(jù)資料中相應(yīng)的寄存器,查找每一位的詳細(xì)說(shuō)明。表04h至表08h為L(zhǎng)UT,不需要單獨(dú)說(shuō)明,請(qǐng)參考數(shù)據(jù)資料了解這些表格的詳細(xì)信息。
注:RSVD是“reserved”的縮寫。
低地址字節(jié)存儲(chǔ)器
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
?
評(píng)論
查看更多