JAJSRL6 November 2023 AFE432A3W , AFE532A3W
PRODUCTION DATA
The sine wave function uses 24 preprogrammed points per cycle. The frequency of the sine wave depends on the SLEW-RATE settings as shown in Equation 8:
where SLEW_RATE is the SLEW-RATE-x setting as specified in Table 6-7.
An external RC load with a time constant larger 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 DAC-GAIN-0, DAC-GAIN-1, and IOUT-GAIN bits in the DAC-0-GAIN-CONFIG, DAC-1-GAIN-CMP-CONFIG, and DAC-2-GAIN-CONFIG registers, respectively. Table 6-8 shows the list of hard-coded discrete points for the sine wave with 12-bit resolution and Figure 6-13 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 (0° phase start) | 0x800 | 12 | 0x800 | |
1 | 0x9A8 | 13 | 0x658 | |
2 | 0xB33 | 14 | 0x4CD | |
3 | 0xC87 | 15 | 0x379 | |
4 | 0xD8B | 16 (240° phase start) | 0x275 | |
5 | 0xE2F | 17 | 0x1D1 | |
6 (90° phase start) | 0xE66 | 18 | 0x19A | |
7 | 0xE2F | 19 | 0x1D1 | |
8 (120° phase start) | 0xD8B | 20 | 0x275 | |
9 | 0xC87 | 21 | 0x379 | |
10 | 0xB33 | 22 | 0x4CD | |
11 | 0x9A8 | 23 | 0x658 |