| 数据搜索系统,热门电子元器件搜索 |
|
ST10F268 数据表(PDF) 33 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST10F268 数据表(HTML) 33 Page - STMicroelectronics |
|
33 / 74 page ![]() ST10F168 33/74 13 - A/D CONVERTER A10-bit A/D converter with 16 multiplexed input channels and a sample and hold circuit is integrated on-chip. The sample time (for loading the capacitors) and the conversion time is programmable and can be adjusted to the external circuitry. Overrun error detection / protection is controlled by the ADDAT register. Either an interrupt request is generated when the result of a previous conversion has not been read from the result register at the time the next conversion is complete, or the next conversion is suspended until the previous result has been read. For applications which require less than 16 analog input channels, the remaining chan- nel inputs can be used as digital input port pins. The A/D converter of the ST10F168 supports dif- ferent conversion modes : – Single channel single conversion : the analog level of the selected channel is sampled once and converted. The result of the conversion is stored in the ADDAT register. – Single channel continuous conversion : the analog level of the selected channel is repeatedly sampled and converted. The result of the conver- sion is stored in the ADDAT register. – Auto scan single conversion : the analog level of the selected channels are sampled once and converted. After each conversion the result is stored in the ADDAT register. The data can be transfered to the RAM by interrupt software management or using the powerfull Peripheral Event Controller data transfert. – Auto scan continuous conversion : the ana- log level of the selected channels are repeatedly sampled and converted. The result of the con- version is stored in the ADDAT register. The data can be transfered to the RAM by interrupt software management or using the powerfull Peripheral Event Controller data transfert. – Wait for ADDAT read mode : when using con- tinuous modes, in order to avoid to overwrite the result of the current conversion by the next one, the ADWR bit of ADCON control register must be activated. Then, until the ADDAT regis- ter is read, the new result is stored in a tempo- rary buffer and the conversion is on hold. – Channel injection mode : when using continuous modes, a selected channel can be converted in between without changing the current operating mode. The 10 bit data of the conversion are stored in ADRES field of ADDAT2. The current continuous mode remains active after the single conversion is completed. The Table 17 ADC sample clock and conversion clock shows conversion clock and sample clock of the ADC unit. A complete conversion will take 14tCC + 2tSC + 4TCL. This time includes the con- version it self, the sampling time and the time required to transfer the digital value to the result register. For example at 25MHz of CPU clock, the minimum complete conversion time is 7.76 µs. The A/D converter provides automatic offset and linearity self calibration. The calibration operation is performed in two ways : – A full calibration sequence is performed after a reset and lasts 1.25ms minimum (at 25MHz CPU clock). During this time, the ADBSY flag is set to indicate the operation. Normal conversion can be performed during this time. The duration of the calibration sequence is then extended by the time consumed by the conversions. Note : After a power-on reset, the total unadjusted error (TUE) of the ADC might be worse than ±2LSB (max. ±4LSB). During the full calibration sequence, the TUE is constantly improved until at the end of the cycle, TUE is within the specified limits of ±2LSB. – One calibration cycle is performed after each conversion : each calibration cycle takes 4 ADC clock cycles. These operation cycles ensure constant updating of the ADC accuracy, com- pensating changing operating conditions. Notes: 1. See Section 20.5.5 - Direct Drive on page 55. 2. tCC = TCL x 24. Table 17 : ADC sample clock and conversion clock ADCTC Conversion Clock tCC ADSTC Sample Clock tSC TCL1 = 1/2 x fXTAL At fCPU = 25MHz tSC = At fCPU = 25MHz 00 TCL x 24 0.48 µs00 tCC 0.48 µs 2 01 Reserved, do not use Reserved 01 tCC x 2 0.96 µs 2 10 TCL x 96 1.92 µs10 tCC x 4 1.92 µs 2 11 TCL x 48 0.96 µs11 tCC x 8 3.84 µs 2 |
|
链接网址 |
| 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 |