ZHCSQC6 May 2022 DAC53202 , DAC63202
PRODUCTION DATA
The sine wave function uses 24 preprogrammed points per cycle. Equation 8 shows that the frequency of the sine wave depends on the SLEW-RATE settings:
where SLEW_RATE is the SLEW-RATE-X setting specified in Table 7-6.
An external RC load with a time constant greater than the slew-rate settings can be dominant over the internal frequency calculation. The SLEW-RATE-X setting is available in the DAC-X-FUNC-CONFIG register. Writing 0b100 to the FUNC-CONFIG-X bit field in the DAC-X-FUNC-CONFIG register selects sine wave. The codes for the sine wave are fixed. Use the gain settings at the output amplifier for changing the full-scale output using the internal reference option. The gain settings are accessible through the VOUT-GAIN-X bits in the DAC-X-VOUT-CMP-CONFIG register. Table 7-10 shows the list of hard-coded discrete points for the sine wave with 12-bit resolution and Figure 7-12 shows the pictorial representation of the sine wave. There are four phase settings available for the sine wave that are selected using the PHASE-SEL-X bit in the DAC-X-FUNC-CONFIG register.
SEQUENCE | 12-BIT VALUE | SEQUENCE | 12-BIT VALUE | |
---|---|---|---|---|
0 | 0x800 | 12 | 0x800 | |
1 | 0x9A8 | 13 | 0x658 | |
2 | 0xB33 | 14 | 0x4CD | |
3 | 0xC87 | 15 | 0x379 | |
4 | 0xD8B | 16 | 0x275 | |
5 | 0xE2F | 17 | 0x1D1 | |
6 | 0xE66 | 18 | 0x19A | |
7 | 0xE2F | 19 | 0x1D1 | |
8 | 0xD8B | 20 | 0x275 | |
9 | 0xC87 | 21 | 0x379 | |
10 | 0xB33 | 22 | 0x4CD | |
11 | 0x9A8 | 23 | 0x658 |