EMERSON KJ3221X1-BA1模擬輸入模塊
啟用出站窗口7(OTAT7),SST320處的2eSST定時,SCT傳輸模式,CR/CSR監(jiān)控訪問。該窗口接受PCI-X本地總線上0xB1000000-0xB1FF0000的傳輸,并使用0x4F000000的偏移量將其轉(zhuǎn)換到VMEbus上,因此,PCI-X本地母線上的0xB1000000訪問變?yōu)閂MEbus的0x00000000訪問。6.5.2控制寄存器/控制狀態(tài)寄存器設(shè)置CR/CSR基地址根據(jù)地理地址初始化為適當(dāng)?shù)脑O(shè)置;即VME時隙號。有關(guān)詳細信息,請參閱VME64規(guī)范和VME64擴展。因此,可以使用CR/CSR AM代碼從VMEbus訪問512 KB的CR/CSR區(qū)域。6.5.3顯示VME設(shè)置要顯示可更改的VME設(shè)置,請在固件提示下鍵入以下內(nèi)容:要顯示主啟用狀態(tài):vmeCfg–s–m要顯示選定的入站窗口狀態(tài):vmeCfg–s-i(0-7)要顯示選定出站窗口狀態(tài),請鍵入以下內(nèi)容
Outbound window 7 (OTAT7) is enabled, 2eSST timing at SST320, transfer mode of SCT,
CR/CSR Supervisory access. The window accepts transfers on the PCI-X Local Bus from
0xB1000000-0xB1FF0000 and translates them onto the VMEbus using an offset of
0x4F000000, thus an access to 0xB1000000 on the PCI-X Local Bus becomes an access
to 0x00000000 on the VMEbus.
6.5.2 Control Register/Control Status Register Settings
The CR/CSR base address is initialized to the appropriate setting based on the
Geographical address; that is, the VME slot number. See the VME64 Specification and the
VME64 Extensions for details. As a result, a 512 KB CR/CSR area can be accessed from
the VMEbus using the CR/CSR AM code.
6.5.3 Displaying VME Settings
To display the changeable VME setting, type the following at the firmware prompt:
To display Master Enable state:
vmeCfg –s –m
To display selected Inbound Window state:
vmeCfg –s –i(0 - 7)
To display selected Outbound Window state:
vmeCfg –s –o(0 - 7)