![artisan VME-SIO4A Скачать руководство пользователя страница 6](http://html.mh-extra.com/html/artisan/vme-sio4a/vme-sio4a_user-manual_2978465006.webp)
Revision B User Manual
for the VME-SIO4: Board Revision: A
General Standards Corporation
8302A Whitesburg Drive Huntsville, AL 3580, Phone: (256) 880-8787
5
TABLE OF CONTENTS
CHAPTER 1: INTRODUCTION............................................................................................................................8
1.0
INTRODUCTION ....................................................................................................................................... 8
1.1
FUNCTIONAL DESCRIPTION ................................................................................................................. 8
1.2
BOARD IDENTIFICATION....................................................................................................................... 8
1.3
BOARD CONTROL REGISTER.............................................................................................................. 10
1.4
BOARD STATUS REGISTER ................................................................................................................. 10
1.5
SYNC WORD SELECTION ..................................................................................................................... 10
1.6
DATA RECEPTION ................................................................................................................................. 10
1.7
DATA TRANSMIT ................................................................................................................................... 10
1.8
LOOP-BACK TESTING ........................................................................................................................... 10
1.9
ERROR DETECTION............................................................................................................................... 10
1.10
INTERRUPTS ........................................................................................................................................... 10
1.11
DIAGNOSTIC LED DISPLAYS............................................................................................................... 11
1.12
CABLE INTERFACE CONNECTIONS................................................................................................... 11
CHAPTER 2: THEORY OF OPERATION.........................................................................................................12
2.0
THE BOARD INTERFACE ...................................................................................................................... 12
2.1
INTERRUPTS ........................................................................................................................................... 12
2.2
DESCRIPTION OF DMA ......................................................................................................................... 12
2.3
CABLE ...................................................................................................................................................... 13
2.4
TRANSMIT RECEIVE CLOCK ............................................................................................................... 13
CHAPTER 3: PROGRAMMING .........................................................................................................................14
3.0
REGISTER MAP....................................................................................................................................... 14
3.1
REGISTER BIT MAPS ............................................................................................................................. 15
3.1.1
BOARD CONTROL/STATUS REGISTERS: ......................................................................................15
3.1.1.1
Board ID Register:......................................................................................................................................15
3.1.1.2
Device Type Register: ................................................................................................................................15
3.1.1.3
Board Control Register:..............................................................................................................................15
3.1.1.4
Board Status Register: ................................................................................................................................15
3.1.2
I/O CONTROL REGISTERS:.............................................................................................................15
3.1.2.1
Channel 0 Control Register: (same format for Channels 1..3 Control Registers) .....................................15
3.1.3
Channel 0 FIFO: (same format for Channels 1..3 FIFO) ................................................................16
3.1.4
Channel 0 FIFO Status Register: (same format for Channels 1..3 FIFO Status Registers) .............16
3.1.5
INTERRUPT CONTROL/STATUS REGISTERS: ..............................................................................17
3.1.5.1
Interrupt Control Register...........................................................................................................................17
3.1.5.2
Interrupt Status Register (Dual Purpose Bits): (ICR - Interrupt Control Register)....................................18
3.1.5.3
Interrupt Vector Register ............................................................................................................................21
3.1.5
SERIAL CONTROLLER REGISTERS................................................................................................21
3.1.6.1
Channel Command/Address Register (Address: 00000)................................................................................21
3.1.6.1.1
Low WO: (Offset Address: 0x00) ..........................................................................................................21
3.1.6.1.2
High WO: (Offset Address: 0x02)..........................................................................................................22
3.1.6.2
Channel Mode Register (Address: 00001) .....................................................................................................22
3.1.6.2.1
Low: (Offset Address: 0x04) ..................................................................................................................23
3.1.6.2.2
High: (Offset Address: 0x06) .................................................................................................................23
3.1.6.3
Channel Command/Status Register (Address: 00010) ...................................................................................24
3.1.6.3.1
Low: (Offset Address: 0x08) ..................................................................................................................24
3.1.6.3.2
High: (Offset Address: 0x0A) ................................................................................................................24
3.1.6.4
Channel Control Register (Address: 00011) ..................................................................................................25
3.1.6.4.1
Low: (Offset Address: 0x0C) .................................................................................................................25
3.1.6.4.2
High: Address: 00011 ............................................................................................................................25
3.1.6.5
Primary Reserved Register (Address: 00100) ................................................................................................25
3.1.6.5.1
Low: (Offset Address: 0x10) ..................................................................................................................25