
GRAYCHIP,INC.
- 18 -
JULY 22, 1996
GC3011 DIGITAL RESAMPLER
This document contains information which may be changed at any time without notice
4.1
RATIO WORD REGISTERS
Registers 0, 1, 2, and 3 contain the 32 bit resampling ratio word. Bit 0 is the LSB, bit 31 is the MSB.
ADDRESS 0:
RATIO BYTE 0
BIT
TYPE
NAME
DESCRIPTION
0-7
R/W
RATIO
[0:7]
Byte 0 (least significant) of the ratio
ADDRESS 1:
RATIO BYTE 1
BIT
TYPE
NAME
DESCRIPTION
0-7
R/W
RATIO
[8:15]
Byte 1 of the ratio
ADDRESS 2:
RATIO BYTE 2
BIT
TYPE
NAME
DESCRIPTION
0-7
R/W
RATIO
[16:23]
Byte 2 of the ratio
ADDRESS 3:
RATIO BYTE 3
BIT
TYPE
NAME
DESCRIPTION
0-7
R/W
RATIO
[24:31]
Most significant byte of the ratio
If the desired output sampling rate is
F
OUT
, and the input sampling rate is
F
IN
, then the resampling
ratio should be set to:
RATIO
=
F
IN
/
F
OUT
Where
RATIO
is a unsigned fractional value ranging from 1 to 4 and formatted as follows:
Bits 30 and 31 are the integer part of
RATIO
and must equal 1, 2, or 3. An integer portion of 0 will
not work. The fractional part can take on any value.
After loading the resampling ratio value the user can choose, using the LOAD_RATIO control bits
in the Sync Mode register (See Section 4.4), to have it take effect immediately, or when a sync event occurs.
MSB
LSB
0
31
BINARY
POINT
BYTE 0
BYTE 1
BYTE 2
BYTE 3
INTEGER
FRACTION
1
2
3
4
7
8
15
16
23
24
29
30
5
6
14 13 12 11 10 9
17
18
19
20
21
22
25
26
27
28