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

X  

EM357-RTR 数据表(PDF) 182 Page - List of Unclassifed Manufacturers

部件名 EM357-RTR
功能描述  High-Performance, Integrated ZigBee/802.15.4 System-on-Chip
PDF  240 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  ETC2 [List of Unclassifed Manufacturers]
网页  
标志 ETC2 - List of Unclassifed Manufacturers

EM357-RTR 数据表(HTML) 182 Page - List of Unclassifed Manufacturers

Back Button EM357-RTR Datasheet HTML 178Page - List of Unclassifed Manufacturers EM357-RTR Datasheet HTML 179Page - List of Unclassifed Manufacturers EM357-RTR Datasheet HTML 180Page - List of Unclassifed Manufacturers EM357-RTR Datasheet HTML 181Page - List of Unclassifed Manufacturers EM357-RTR Datasheet HTML 182Page - List of Unclassifed Manufacturers EM357-RTR Datasheet HTML 183Page - List of Unclassifed Manufacturers EM357-RTR Datasheet HTML 184Page - List of Unclassifed Manufacturers EM357-RTR Datasheet HTML 185Page - List of Unclassifed Manufacturers EM357-RTR Datasheet HTML 186Page - List of Unclassifed Manufacturers Next Button
Zoom Inzoom in Zoom Outzoom out
 182 / 240 page
background image
EM351 / EM357
1. Allocate a 16-bit signed variable, for example analogData, to receive the ADC output.
(Make sure that analogData is half-word aligned – that is, at an even address.)
2. Disable all ADC interrupts: Write 0 to the INT_ADCCFG register.
3. Set up the DMA to output conversion results to the variable, analogData.
Reset the DMA: Set the ADC_DMARST bit in ADC_DMACFG register.
Define a one sample buffer: Write analogData’s address to the ADC_DMABEG register and set the
ADC_DMASIZE register to 1.
4. Write the desired offset and gain correction values to the ADC_OFFSET and ADC_GAIN registers.
5. Start the ADC and the DMA.
Write the desired conversion configuration, with the ADC_EN bit set, to the ADC_CFG register.
Clear the ADC buffer full flag: Write the INT_ADCULDFULL bit to the INT_ADCFLAG register.
Start the DMA in auto wrap mode: Set the ADC_DMAAUTOWRAP and ADC_DMALOAD bits in the
ADC_DMACFG register.
6. Wait until the INT_ADCULDFULL bit is set in the INT_ADCFLAG register, then read the result from
analogData.
To convert multiple inputs using this approach, repeat steps 4 through 6, loading the desired input
configurations to the ADC_CFG register in step 5. If the inputs can use the same offset/gain correction, just
repeat steps 5 and 6.
10.4
Calibration
Sampling of internal connections GND, VREF/2, and VREF allow for offset and gain calibration of the ADC in
applications where absolute accuracy is important. Offset error is calculated from the minimum input and gain
error is calculated from the full scale input range. Correction using VREF is recommended because VREF is
calibrated by the Ember software against VDD_PADSA. The VDD_PADSA regulator is factory-trimmed to 1.80 V
± 20 mV. If better absolute accuracy is required, the ADC can be configured to use an external reference. The
ADC calibrates as a single-ended measurement. Differential signals require correction of both their inputs.
Table 10-5 shows the equations used to calculate the gain and offset correction values
Table 10-5. ADC Gain and offset correction equations
Calibration
Correction value
Gain, buffer disabled
4000
0
)
(
8000
0
x
N
N
x
GND
VREF
×
Gain, buffer enabled
4
1
2000
0
)
(
8000
0
2
/
×
×
x
N
N
x
VREF
VREF
Offset, buffer disabled
( after applying gain correction )
)
000
0
(
2
1
xE
N
GND
×
Offset, buffer enabled
( after applying gain correction )
)
800
0
(
2
1
2
/
xE
N
VREF
×
Equation notes
All N are 16-bit two’s complement numbers.
NGND is a sampling of ground. Due to the ADC's internal design, VGND does not yield the minimum two’s
complement value 0x8000 as the conversion result. Instead, VGND yields a two’s complement value close
to 0xE000 when the input buffer is not selected. VGND cannot be measured when the input buffer is
enabled because it is outside the buffer’s input range.
10-7
120-035X-000D
Preliminary



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

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