Datasheet

2
−23
Bit
S_xxxx.xxxx_xxxx_xxxx_xxxx_xxxx_xxx
2
−4
Bit
2
−1
Bit
2
0
Bit
Sign Bit
2
3
Bit
M0007-01
(1 or 0) y 2
3
+ (1 or 0) y 2
2
+ + (1 or 0) y 2
0
+ (1 or 0) y 2
−1
+ + (1 or 0) y 2
−4
+ + (1 or 0) y 2
−23
2
3
Bit 2
2
Bit 2
0
Bit 2
−1
Bit 2
−4
Bit 2
−23
Bit
M0008-01
TAS5508C
www.ti.com
SLES257SEPTEMBER 2010
Figure 2-4. 5.23 Format
The decimal value of a 5.23 format number can be found by following the weighting shown in Figure 2-5. 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 2-5 applied to
obtain the magnitude of the negative number.
Figure 2-5. Conversion Weighting Factors—5.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 2-6.
Figure 2-6. Alignment of 5.23 Coefficient in 32-Bit I
2
C Word
As Figure 2-6 shows, the hexadecimal (hex) value of the integer part of the gain coefficient cannot be
Copyright © 2010, Texas Instruments Incorporated Description 25
Submit Documentation Feedback
Product Folder Link(s): TAS5508C