| 数据搜索系统,热门电子元器件搜索 |
|
MCP3564-E/ST 数据表(PDF) 45 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP3564-E/ST 数据表(HTML) 45 Page - Microchip Technology |
|
45 / 108 page ![]() 2019-2021 Microchip Technology Inc. DS20006181C-page 45 MCP3561/2/4 5.8 ADC Operating Modes The ADC can be placed into three different operating modes: ADC Shutdown, Standby and Conversion. The ADC operating mode is controlled by the user through the ADC_MODE[1:0] bits in the CONFIG0 register. The user can directly launch conversions or place the ADC into ADC Shutdown or Standby mode by writing these bits. Additional Fast commands are available for each of the three possible states of these bits to allow faster programming in case of time-sensitive applications (see Section 6.2.4 “Command-Type Bits (CMD[1:0])”). Table 5-9 describes the available ADC_MODE[1:0] settings. The ADC_MODE[1:0] bits do not give an instantaneous representation of the ADC state. Writing the ADC_MODE[1:0] bits sets the desired state of the ADC, but this state is only attained after a start-up time depending on the current state of the ADC (see Section 5.10 “ADC Start-up Timer” for details about the start-up timer). Typically, the device starts in ADC Shutdown mode after a POR (ADC_MODE[1:0] = 00 by default). To launch conversions in the desired configuration, the user should program the part in the desired configuration and then set the ADC_MODE[1:0] bits to ‘11’. In this case, the first conversion will start after TADC_SETUP = 256 DMCLK periods. This time is necessary for the part to adjust to the new programmed settings and settle in to its operating point to accurately convert the input signals. Internally, the device tracks the current state of the ADC, as well as the start-up timer counter, to be able to optimize the start-up time depending on the desired transitions and internal configurations required, and set by the user. In MUX mode, overwriting the ADC_MODE[1:0] bits to ‘11’ when the ADC is already in conversion resets and restarts the current conversion immediately. The conversion start pulse will also be regenerated if the EN_STP bit is enabled. In SCAN mode (see Section 5.14 “SCAN Mode”), writing the ADC_MODE[1:0] bits to ‘11’ starts the conversion scan cycle. During the complete cycle, even when the scan timer is enabled, reading the ADC_MODE[1:0] bits gives a ‘11’ code output, meaning that the scan cycle is ongoing. Rewriting ADC_MODE[1:0] = 11 during SCAN mode will immediately reset and restart the entire SCAN sequence from the beginning of the sequence. The conversion start pulse will also be regenerated if the EN_STP bit is enabled. The restart of the SCAN sequence may induce a TADC_SETUP additional delay if the ADC is in ADC Shutdown mode when the ADC_MODE bits are overwritten (this can happen if the ADC_MODE bits are overwritten during the timer delay period, where the ADC is placed into ADC Shutdown mode in between two scan cycles). The ADCDATA register is always updated with the last conversion results. The ADCDATA register cannot provide incomplete conversion results. The A/D conversion must be completed to be able to provide a result in the ADCDATA register. Each end of conversion generates a data ready interrupt on all three IRQ mechanisms (see Section 6.8.1 “Conversion Data Ready Interrupt”). The ADCDATA register is never cleared when the device transitions from one mode to another. The only way to clear the ADCDATA register is a POR event or a Full Reset Fast command (see Section 6.2.5 “Fast Commands Description”). TABLE 5-9: ADC OPERATING MODES DESCRIPTION ADC_MODE[1:0] ADC Mode Description 11 Conversion The ADC is placed into Conversion mode and consumes the specified current. A/D conversions can be reset and restarted immediately once this mode is effectively reached. This mode may be reached after a maximum of TADC_SETUP time, depending of the current state of the ADC. 10 Standby Conversions are stopped. ADC is placed into Reset but consumes almost as much current as in Conversion mode. A/D conversions can start immedi- ately once this mode is effectively reached. This mode may be reached after a maximum of TADC_SETUP time, depending of the current state of the ADC. 0x ADC Shutdown Conversions are stopped. ADC is placed into ADC Shutdown mode and does not consume any current. A/D conversions can only start after TADC_SETUP start-up time. This mode is effective immediately after being programmed. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |