SLASF63 june 2023 DAC539E4W
PRODUCTION DATA
Refer to the PDF data sheet for device specific package drawings
To enable the comparator for a channel, write 1 to the CMP-x-EN and the CMP-x-OUT-EN bits in the respective DAC-x-VOUT-CMP-CONFIG register. The comparator output can be configured as push-pull or open-drain using the CMP-x-OD-EN bit. To invert the comparator output, write 1 to the CMP-x-INV-EN bit. The AINx pin has a finite impedance. To disable high-impedance on the AINx pin, write 1 to the CMP-x-HIZ-IN-DIS bit. Table 7-4 shows the comparator output at the pin for different bit settings. Table 7-5 shows the full scale analog input settings for the comparator. Any higher input voltage is clipped.
CMP-x-EN | CMP-x-OUT-EN | CMP-x-OD-EN | CMP-x-INV-EN | OUTx PIN(1) |
---|---|---|---|---|
0 | X | X | X | Comparator not enabled. |
1 | 0 | X | X | Hi-Z output. |
1 | 1 | 0 | 0 | Push-pull output. |
1 | 1 | 0 | 1 | Push-pull and inverted output. |
1 | 1 | 1 | 0 | Open-drain output. |
1 | 1 | 1 | 1 | Open-drain and inverted output. |
REFERENCE (VREF) | GAIN | VFS (Hi-Z INPUT MODE) | VFS (FINITE IMPEDANCE INPUT MODE) |
---|---|---|---|
Power supply | 1 × | VDD / 3 | VDD |
External | 1 × | VREF / 3 | VREF |
Internal | 1.5 × | (VREF × GAIN) / 3 | VREF × GAIN |
2 × | (VREF × GAIN) / 3 | VREF × GAIN | |
3 × | (VREF × GAIN) / 6 | (VREF × GAIN) / 2 | |
4 × | (VREF × GAIN) / 6 | (VREF × GAIN) / 2 |
Individual comparator channels can be configured in no-hysteresis, with-hysteresis, or latching-comparator mode using the CMP-x-MODE field in the respective DAC-x-CMP-MODE-CONFIG register.
Figure 7-4 shows the interface circuit for the comparators. The programmable comparator operation is as shown in Figure 7-5. Individual comparator channels can be configured in no-hysteresis or with-hysteresis mode using the CMP-x-MODE bit in the respective DAC-x-CMP-MODE-CONFIG register, as shown in Table 7-6.
CMP-x-MODE BIT FIELD | COMPARATOR CONFIGURATION |
---|---|
00 | Normal comparator mode. No hysteresis operation. |
01 | Hysteresis comparator mode (not supported in NVM). DAC-x-MARGIN-HIGH and DAC-x-MARGIN-LOW registers set the hysteresis. |
10 | Invalid setting. |
11 | Invalid setting. |