VXI SM7100, Microwave Matrix user manual Register Access, Addressing

Page 21

www.vxitech.com

SECTION 4

PROGRAMMING

REGISTER ACCESS

The SMIP II modules are VXIbus register-based devices for high-speed data transfers. Register- based programming is a series of reads and writes directly to the switch module registers. This eliminates the time for command parsing thus increasing speed.

ADDRESSING

The VTI switching modules utilize either the A24 or A32 space of the shared-memory architecture. To read or write to a module register, a register address needs to be specified. This is done by using the offset value (assigned by the resource manager) and multiplying it by 256 or 64 k to get the base address in A24 or A32 address space, respectively

A24 Base Address = Offset value * 0x0100 (or 256)

A32 Base Address = Offset value * 0x10000 (or 65,536)

The A24 or A32 offset value, assigned by the resource manager, can also be accessed by reading the A16 Offset Register. To address the A16 Offset Register use the following formula:

A16 Base Address = (Logical Address * 64) + 0xC000 (or 49,152)

then

A16 Offset Register Address = A16 Base Address + 6

See Table 4-1for A16 Memory Map and A24/A32 address space allocation.

SM7100 Programming

21

Image 21
Contents SM7100 VXI Technology, Inc Table of Contents Limitation of Warranty WarrantyCertification Restricted Rights LegendEMC C L a R a T I O N O F C O N F O R M I T YTerms and Symbols General Safety InstructionsAvoid Electric Shock Support Resources Programming OverviewSM7100 Specifications VswrSMA Calculating System Power and Cooling Requirements Setting the Chassis Backplane JumpersIntroduction MSB LSB Setting the Logical AddressSelecting the Extended Memory Space VXI Technology, Inc SM7100 Preparation for Use Front Panel Connection SM7000 Switch ConfigurationEXT GNDReturn GND SM7100 Module Configuration SM7100 Matrix Schematic Offset Hex VXI Technology, Inc SM7100 Module Configuration Addressing Register AccessOffset Write Function Smip II Register MAP A16Logical Address Register 0x00 Write Only ID Register 0x00 Read OnlyDevice Type Register 0x02 Read Only Status Register 0x04 Read OnlyReserved Register 0x0A Read Only Offset Register 0x06 Read and WriteReserved Register 0x0C Read Only Version Number Register 0x0E Read OnlyNVM Access Resister 0x20 Write Only NVM Access Resister 0x20 Read OnlyInterrupt Control Register 0x1C Read and Write Subclass Register 0x1E Read OnlyTrace RAM Start Low Register 0x2A Read and Write Trace RAM Start High Register 0x28 Read and WriteTrace RAM End High Register 0x2C Read and Write Trace RAM End Low Register 0x2E Read and WriteTrace Enable Loop EnableOpen Trigger Select Register 0x36 -Write Only TTL Trigger Polarity Register 0x38 -Write OnlyTrigger Advance Register 0x3E Write Only Busy Trigger Control Register 0x3C Read and WriteBoard Busy Register 0x3E Read Only Reserved Registers Read and WriteAcfailn AddrBBM/MBB Control Register Read and Write Delay Register Read and Write Writing to the Relays Relay Register OffsetVIA16SPACE Index SM7100