Example 1 – VXI TECHNOLOGY SVM2608 User Manual

Page 25

Advertising
background image

www.vxitech.com

SVM2608 Preparation for Use

25

Example 1

OV

(decimal)

Divide

by 16

MSB LSB

25

25 / 16

= 1

w/ 9 remaining Divide the decimal value by 16 to get

the MSB and the LSB.

=

0001

1001 The 1 is the MSB, and the remainder of

9 is the LSB.

=

1

9

Convert to hexadecimal. Set the back
switch to 1 and the front switch to 9.


0

1

2

3

4 5 6

7

8

9

A

B

C

D

E

F

0

1

2

3

4

5 6

7

8

9

A

B

C

D

E

F

S2

S3

F

IGURE

2-2:

O

FFSET

V

ALUE

E

XAMPLE

1



Here is another way of looking at the conversion:

OV = (S3 x 16) + S2

OV = (1 x 16) + 9

OV = 16 + 9

OV

=

25


The base address is then determined by using the following formula:

A32 Base Address = Offset Value * 0x1000000 (or 16,777,216)


In this case:

A32 Base Address = 0x19 * 0x1000000 (or 16,777,216)

A32 Base Address = 0x19000000

Advertising