Datasheet
(1or0) 2 +´
1
(1or0) 2 +(1or0) 2 +.......(1or0) 2 +.......(1or0) 2´ ´ ´ ´
0 –1 –4 –23
2 Bit
1
2 Bit
0
2 Bit
–1
2 Bit
–4
2 Bit
–23
M0126-01
u
Coefficient
Digit8
u
u u u u
S
x
Coefficient
Digit7
x.
x x x
Coefficient
Digit6
x
x x x
Coefficient
Digit5
x
x x x
Coefficient
Digit4
x
x x x
Coefficient
Digit3
x
x x x
Coefficient
Digit2
x
x x x
Coefficient
Digit1
Fraction
Digit5
Fraction
Digit4
Fraction
Digit3
Fraction
Digit2
Fraction
Digit1
Integer
Digit1
Sign
Bit
Fraction
Digit6
u=unusedordon’tcarebits
Digit=hexadecimaldigit
M0127-01
0
TAS5713
www.ti.com
SLOS637A –DECEMBER 2009–REVISED AUGUST 2010
The decimal value of a 3.23 format number can be found by following the weighting shown in Figure 48. If the
most significant bit is logic 0, the number is a positive number, and the weighting shown yields the correct
number. If the most significant bit is a logic 1, then the number is a negative number. In this case every bit must
be inverted, a 1 added to the result, and then the weighting shown in Figure 49 applied to obtain the magnitude
of the negative number.
Figure 49. Conversion Weighting Factors—3.23 Format to Floating Point
Gain coefficients, entered via the I
2
C bus, must be entered as 32-bit binary numbers. The format of the 32-bit
number (4-byte or 8-digit hexadecimal number) is shown in Figure 50.
Figure 50. Alignment of 3.23 Coefficient in 32-Bit I
2
C Word
Table 2. Sample Calculation for 3.23 Format
db Linear Decimal Hex (3.23 Format)
0 1 8,388,608 80 0000
5 1.77 14,917,288 00E3 9EA8
–5 0.56 4,717,260 0047 FACC
X L = 10
(X/20)
D = 8,388,608 × L H = dec2hex (D, 8)
Table 3. Sample Calculation for 9.17 Format
db Linear Decimal Hex (9.17 Format)
0 1 131,072 2 0000
5 1.77 231,997 3 8A3D
–5 0.56 73,400 1 1EB8
X L = 10
(X/20)
D = 131072 × L H = dec2hex (D, 8)
Copyright © 2009–2010, Texas Instruments Incorporated Submit Documentation Feedback 35
Product Folder Link(s): TAS5713