VXI SVM2608 user manual Sample Rate 0x0C, 0x34, 0x5C, 0x84 Read & Write

Page 36

VXI Technology, Inc.

 

 

Control Register (0x08, 0x30, 0x58, 0x80, 0xA8, 0xD0) — Read & Write

 

 

 

20 kHz (Channels 0-3)/5 MHz (Channels 4-5) LPF Control – This bit

 

 

 

enables/disables the low pass frequency filter for the low-speed channels

 

 

 

and high-speed channels, respectively. . Before taking a measurement,

 

D4

FILTER

allow for at least 5 ms for internal circuits to settle after making changes.

 

 

 

 

 

 

0 = Filter off

 

 

 

1 = Filter on

 

 

 

Pon state = 0

 

 

 

Input Trigger Source Slope – This bit sets the slope of the input trigger

 

 

 

for low-speed Channels 0 - 3.

 

D3

TRGSLOPE

0 = Positive

 

 

 

 

 

 

1 = Negative

 

 

 

Pon state = 0

 

 

 

Trigger Source Control - Once the trigger is armed, the acquisition can

 

 

 

be triggered via software (FTRIG), any of the six channels or an external

 

 

 

trigger.

 

 

 

000

= Channel 0

 

D2 – D0

TRIGSRC2 - 0

001

= Channel 1

 

010

= Channel 2

 

 

 

 

 

 

011

= Channel 3

 

 

 

100

= Channel 4

 

 

 

101

= Channel 5

 

 

 

110

= External

 

 

 

111

= External High-Speed

Trigger Level (0x0A, 0x32, 0x5A, 0x82, 0xAA, 0xD2) — Read & Write

D15 – D12

Unused

This is reserved for future use.

 

 

Trigger Level Threshold Setting – These bits set the trigger threshold

 

 

(12-bit value).

D11 – D0

TRGLVL

0x800

= 0 V

 

 

 

 

0x000

= -ve full scale

 

 

0xFFF

= +ve full scale

Sample Rate (0x0C, 0x34, 0x5C, 0x84) — Read & Write

D15 – D9

Unused

These bits are reserved for future use.

 

 

Sample Interval – These bits set the sample rate.

D8 – D0

SAMPRAT24 – 16

Bit Weight = 100 ns/bit

 

 

Minimum Value = 100

 

 

Maximum Value = 224 – 1

Sample Rate (0x0E, 0x36, 0x5E, 0x86) — Read & Write

D15 – D0

SAMPRAT15 – 0

Sample Interval – These bits set the sample rate.

Bit Weight = 100 ns/bit

Minimum Value = 100

Maximum Value = 224 – 1

36

SVM2608 Programming

Image 36
Contents SVM2608 VXI Technology, Inc Table of Contents Self Test Command Warranty Limitation of WarrantyCertification Restricted Rights LegendEMC Steve Mauga, QA ManagerService should only be performed by qualified personnel Terms and SymbolsUse Proper Power Cord Use Proper Power SourceAvoid Electric Shock Ground the ProductOperating Conditions Improper UseVXI Technology World Headquarters VXI Technology Cleveland Instrument DivisionVXI Technology Lake Stevens Instrument Division Technical SupportVXI Technology, Inc SVM2608 Preface Introduction OverviewScale Acquiring Data TriggeringLinear Mode Delayed TriggerPre-Trigger Fifo Mode CommandsCalibrations Test BusOption SVM2608 Block Diagram SVM2608 Environmental Specifications Physical DescriptionFront Panel Interface Wiring GND CH1I CH3IGND CH1I+ GND CH3I+ Exttrigin CH0I CH2ISVM2608 Specifications MtbfOption 1 SVM2608-01 VXI Technology, Inc SVM2608 Introduction Calculating System Power and Cooling Requirements Setting the Chassis Backplane JumpersSetting the Base Address Rotary Switch LocationsExample Divide DecimalMSB LSB Switch to C and the front switch to Module INSTALLATION/REMOVALDevice Memory Maps Function OffsetReserved Register OffsetSVM2608 A32 Register MAP MS = Most Significant LS = Least Significant0x72 Command Register Channel 0x74 Databyte Ordering Determining the Register Address Accessing the Registers Description of RegistersSysfailctl Force Trigger, Start Register 0x02 Read & Write INTLVL2HSTRIGSRC2 EXT Trig SlopeTimeoutctl ReservedExternal Trigger Level 0x06 Read & Write 2WIREOHMS 4WIREOHMSLINEAR/FIFO ATTN-GAIN1-GAIN0Sample Rate 0x0C, 0x34, 0x5C, 0x84 Read & Write Sample Rate 0x0E, 0x36, 0x5E, 0x86 Read & WriteKHz Channels 0-3/5 MHz Channels 4-5 LPF Control This bit Sample Rate, High-Speed 0xAC, 0xD4 Read & Write Sample Rate, High-Speed 0xAE, 0xD6 Read & WriteTimeout 0x1C, 0x44, 0x6C, 0x94, 0xBC, 0xE4 Read & Write Fifo Data 0x24, 0x4C, 0x74, 0x9C, 0xC4, 0xEC Read Only Fifo Data 0x26, 0x4E, 0x76, 0x9E, 0xC6, 0xEE Read OnlyReserved Registers 0xF8 0xFC Trigger Delay = Microprocessor Commands Measurement CommandsCaptured Data Calculations Self Test Command Resistance Measurement Offset MethodResistance Measurement Dynamic Method Preset Setting Measurement Commands ExampleCalibration Commands Sample PointsSample Rate Trigger Event Forced TriggerPage Error Processing There are no errors in the queue Diagnostic Commands Changes become effective the next time the module powers up Example 2 Setting Channel 2 to Acquire 200,000 Samples ExamplesExample 3 Setting Channel 2 to Pre-acquire 100,000 Samples Timeout Counter = Timeout / Timeout Base Clock Timeout Register = Timeout Base * 213 + Timeout CounterVXI Technology, Inc SVM2608 Programming Appendix a Data Swapping ExampleVXI Technology, Inc SVM2608 Appendix a Index