数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN1798 数据表(PDF) 5 Page - STMicroelectronics

部件名 AN1798
功能描述  This application note describes
PDF  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN1798 数据表(HTML) 5 Page - STMicroelectronics

  AN1798 Datasheet HTML 1Page - STMicroelectronics AN1798 Datasheet HTML 2Page - STMicroelectronics AN1798 Datasheet HTML 3Page - STMicroelectronics AN1798 Datasheet HTML 4Page - STMicroelectronics AN1798 Datasheet HTML 5Page - STMicroelectronics AN1798 Datasheet HTML 6Page - STMicroelectronics AN1798 Datasheet HTML 7Page - STMicroelectronics AN1798 Datasheet HTML 8Page - STMicroelectronics AN1798 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 16 page
background image
AN1798
STR71x ADC features
5/16
2.2
ADC output, Gain and offset features
The converted values stored in ADC_DATA[n] 16-bit register are signed two’s complement
values and only the 12 most significant bits are used.
The following figure gives the ADC output versus the input voltage.
Figure 3.
ADC output
ADC_DATA(0V) and ADC_DATA(2.5V) are the conversion of 0V and 2.5V respectively.
The gain of the ADC is given by:
G = [0xFFF - ADC_DATA(0V) + ADC_DATA(2.5V)] / 2.5
The quantum is calculated by the following equation:
q = 2.5V / [0xFFF - ADC_DATA(0V) + ADC_DATA(2.5V)]
The offset is the digital unsigned value of 0V (ADC_DATA(0V)) and the application should
subtract this offset when reading all the conversion results.
2.3
Round-Robin and Single channel modes
These modes are provided to simplify the use of the ADC.
Single channel mode selects one channel that is the only channel input to the Sigma-
Delta modulator. To use single channel mode, bit 6 in the ADC_CSR register must be
set to 1. A valid sample in this mode is produced every 2048 modulator clock cycles.
Round-Robin mode (which is the normal mode) allows you to simplify your software
code and avoid using an endless loop (while (1)) to get the converted values of all
channels continuously. This process is repeated for each of the channels continually in
a round-robin fashion. A valid sample in this mode is produced every 512 modulator
clock cycles for each channel.
2.4
Conversion data availability and interrupt generation
The End of Conversion is indicated by four flags or by interrupt generation. The four flags
are the Data Available flags (DA[n]) in the Control Status register. They allow the application
software to determine which channel data register has a new sample ready to be read. Each
DA[n] flag corresponds to ADC channel n. They are set by hardware as soon as a new
sample on the corresponding channel is available and they are automatically cleared when
the corresponding data register is read.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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