www.vxitech.com

SECTION 3

PROGRAMMING

INTRODUCTION

The SVM2608 modules are VMEbus register-based devices for high-speed D16 or D32 data retrieval. Register-based programming is a series of reads and writes directly to the module registers. This eliminates the time for command parsing thus increasing speed.

DEVICE MEMORY MAPS

Function Offset

The function offset helps define where in A32 space a WRITE or READ operation is performed. The offsets are defined as follows:

Function

Decimal Value

Hexadecimal Value

CH0 Data

CH1 Data

CH2 Data

CH3 Data

CH4 (Option -01)

CH5 (Option -01)

Registers

Reserved

0

2097152

4194304

6291456

8388608

10485760

12582912

14680064

0x000000

0x200000

0x400000

0x600000

0x800000

0xA00000

0xC00000

0xE00000

CH0 – 5 Data These addresses are used to store data.

Registers These addresses are the A32 memory registers. They are used to program the settings for each channel, collect FIFO data, collect results or sent commands to the microprocessor.

Reserved

These addresses are reserved for future use.

Register Offset

The register offset is located within the module's A32 address space. When data is sent to a register address, the address that is written to is the sum of the module base address, the function offset and the register offset:

Register Address = Module Base Address + Function Offset + Register Offset

Table 3-1shows the A32 map of the SVM2608 registers.

SVM2608 Preparation for Use

27

Page 27
Image 27
VXI SVM2608 user manual Device Memory Maps, Function Offset, Reserved, Register Offset