| 数据搜索系统,热门电子元器件搜索 |
|
ST72371 数据表(PDF) 75 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST72371 数据表(HTML) 75 Page - STMicroelectronics |
|
75 / 94 page ![]() 75/94 ST72371/ST72372 8-BIT A/D CONVERTER (ADC)(Cont’d) 4.7.3 Functional Description The high level reference voltage VDDA must be connected externally to the VDD pin. The low level reference voltage VSSA must be connected exter- nally to the VSS pin. In some devices (refer to de- vice pin out description) high and low level refer- ence voltages are internally connected to the VDD and VSS pins. Conversion accuracy may therefore be degraded by voltage drops and noise in the event of heavily loaded or badly decoupled power supply lines. Characteristics The conversion is monotonic meaning the result never decreases if the analog input does not and never increases if the analog input does not. If input voltage is greater than or equal to VDD (voltage reference high) then results = FFh (full scale) without overflow indication. If input voltage ≤ V SS (voltage reference low) then the results = 00h. The conversion time is 64 CPU clock cycles in- cluding a sampling time of 31.5 CPU clock cycles. The A/D converter is linear and the digital result of the conversion is given by the formula: Where Reference Voltage is VDD -VSS. The accuracy of the conversion is described in the Electrical Characteristics Section. Procedure Refer to the CSR and SR registers Section 0.1.4 for the bit definitions. The analog input ports must be configured as in- put, no pull-up, no interrupt. Refer to the «I/O ports» chapter. Using these pins as analog inputs does not affect the ability of the port to be read as a logic input. In the CSR register: – Select the CH2 to CH0 bits to assign the ana- log channel to convert. Refer toTable 1. – Set the ADON bit. Then the A/D converter is enabled after a stabilization time (typically 30 µs). It then performs a continuous conversion of the selected channel. When a conversion is complete – The COCO bit is set by hardware. – No interrupt is generated. – The result is in the DR register. A write to the CSR register aborts the current con- version, resets the COCO bit and starts a new conversion. Notes: The A/D converter may be disabled by re- setting the ADON bit. This feature allows reduced power consumption when no conversion is need- ed. The A/D converter is not affected by WAIT mode. When the MCU enters HALT mode with the A/D converter enabled, the converter is disabled until the HALT mode is exited and the start-up delay has elapsed. A stabilisation time is also required before accurate conversions can be performed. Digital result = 255 * Input Voltage Reference Voltage |
|
链接网址 |
| 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 |