SBOU024C august 2004 – july 2023 PGA309
The Temp ADC has two conversion modes: Single and Continuous. In Continuous Conversion mode (CEN = ‘1’), the Temp ADC initiates the next conversion cycle immediately after a conversion is complete. In Single Conversion mode (CEN = ‘0’) the Temp ADC start-convert bit (ADCS) acts as a start-convert/busy bit and must be set to ‘1’ before a conversion is initiated. Setting ADCS to ‘1’ occurs when the register configuration section of the EEPROM (part one) contains ADCS = ‘1’ and the EEPROM is read. Furthermore, ADCS will be reset to ‘1’ for each successive EEPROM read. After ADCS is set to ‘1’, it will be a ‘1’ if read immediately and can be polled until it returns to a ‘0’, indicating the conversion is complete. The Start-Convert modes are shown in Table 2-13.
CEN [10] | ADCS [12] | Conversion Mode | Comments |
---|---|---|---|
0 | 0 | Single | Temp ADC mode—no conversions. |
0 | 1 | Single | Temp ADC starts conversion and ADCS acts as busy bit with it changing to a '0' at end of conversion. |
1 | X | Continuous | ADCS bit exercises no control—typically ADCS = '1' since conversions are continuous |
In Figure 2-18 continuous start-convert control is selected. After an initial power-on reset timeout of typically 33ms, the register configuration section of the EEPROM (part one) is read. Immediately after this, a Temp ADC conversion is started. At the end of this first conversion, the temperature coefficients section of the EEPROM (part two) are read, and Zero and Gain DAC settings are adjusted. Since CEN = ‘1’, the end of each conversion will start the next conversion. After the temperature coefficients section of the EEPROM (part two) has been read, the register configuration values are read. Note that reading of the second half of the EEPROM (temperature coefficients) is triggered by a valid register configuration read of the EEPROM. This operation yields the most temperature updates over a given time period.
In Figure 2-19, Single Conversion mode is selected (CEN = ‘0’). After an initial power-on reset timeout of typically 33ms, the register configuration (part one) of the EEPROM is read. Immediately after this, a Temp ADC conversion is started if CEN = ‘0’ and ADCS = ‘1’. At the end of this first conversion, the temperature coefficients (part two) of the EEPROM are read, and Zero and Gain DAC settings are adjusted. When CEN = ‘0’ and ADCS = ‘1’, a new start conversion occurs only after reading the register configuration part of the EEPROM. At the end of this conversion, the second part of the EEPROM (temperature coefficients) is read, the Gain and Zero DAC temperature calculations are done, and each respective DAC updated. Note that in the Single Start-Convert mode, if CEN = ‘0’ and ADCS = ‘0’ (no Temp ADC conversions), the PGA309 will wait 33ms after power-on, read the register configuration part of the EEPROM, and without an ADC conversion, read the Lookup Table and calculate Gain and Zero DAC values. These values are based on the current ADC output register (all zero on power-up). The PGA309 output will then be enabled and will wait about 25ms, and read the register configuration part of the EEPROM. The output remains enabled with a continuous loop of reading the register configuration part of the EEPROM, waiting 33ms, and read again.
One final control option for External Temperature Mode is the ADC2X bit, Register 6 bit [13]. This bit allows the conversion speed of the Temp ADC to be increased for external temperature readings only.
Table 2-14 shows the typical settings and the effect of the ADC2X bit.
R1 [1] | R0 [0] | TEN=0], [AREN=0], [ADC2X=0] | [TEN=0], [AREN=0], [ADC2X=1] | [TEN=0] [2.048V, AREN=1], [ADC2X=0] | [TEN=0] [2.048V, AREN=1], [ADC2X=1] |
---|---|---|---|---|---|
0 | 0 | 11-Bit + Sign (6ms) | 11-Bit + Sign (3ms) | 11-Bit + Sign (8ms) | 11 Bit + Sign (4ms) |
0 | 1 | 13-Bit + Sign (24ms) | 13-Bit + Sign (12ms) | 13-Bit + Sign (32ms) | 13 Bit + Sign (16ms) |
1 | 0 | 14-Bit + Sign (50ms) | 14-Bit + Sign (25ms) | 14-Bit + Sign (64ms) | 14 Bit + Sign (32ms) |
1 | 1 | 15-Bit + Sign (100ms) | 15-Bit + Sign (50ms) | 15-Bit + Sign (128ms) | 15 Bit + Sign (64ms) |