English
Language : 

EM351_12 Datasheet, PDF (183/245 Pages) Silicon Laboratories – High-Performance, Integrated ZigBee/802.15.4 System-on-Chip
EM351 / EM357
10.1.5.2 Input Range
The single-ended input range is fixed as 0 V to VREF and the differential input range is fixed as -VREF to
+VREF.
10.1.5.3 Sample Time
ADC sample time is programmed by selecting the sampling clock and the clocks per sample.
 The sampling clock may be either 1 MHz or 6 MHz. If the ADC_1MHZCLK bit in the ADC_CFG register is
clear, the 6 MHz clock is used; if it is set, the 1 MHz clock is selected. The 6 MHz sample clock offers faster
conversion times but the ADC resolution is lower than that achieved with the 1 MHz clock.
 The number of clocks per sample is determined by the ADC_PERIOD bits in the ADC_CFG register.
ADC_PERIOD values select from 32 to 4096 sampling clocks in powers of two. Longer sample times produce
more significant bits. Regardless of the sample time, converted samples are always 16-bits in size with the
significant bits left-aligned within the value.
Table 10-4 shows the options for ADC sample times and the significant bits in the conversion results.
Table 10-4. ADC Sample Times
ADC_PERIOD
Sample
Clocks
Sample Time (µs)
1 MHz clock 6 MHz clock
0
32
32
5.33
Sample Frequency (kHz)
1 MHz clock 6 MHz clock
31.3
188
Significant Bits
7
1
64
64
10.7
15.6
93.8
8
2
128
128
21.3
7.81
46.9
9
3
256
256
42.7
3.91
23.4
10
4
512
512
85.3
1.95
11.7
11
5
1024
1024
170
0.977
5.86
12
6
2048
2048
341
0.488
2.93
13
7
4096
4096
682
0.244
1.47
14
Note: ADC sample timing is the same whether the EM35x is using the 24 MHz crystal oscillator or the 12 MHz
high-speed RC oscillator. This facilitates using the ADC soon after the CPU wakes from deep sleep, before
switching to the crystal oscillator.
10.2
Interrupts
The ADC has its own top-level interrupt in the NVIC. The ADC interrupt is enabled by writing the INT_ADC bit
to the INT_CFGSET register, and cleared by writing the INT_ADC bit to the INT_CFGCLR register. Chapter 11,
Interrupt System, describes the interrupt system in detail.
Five kinds of ADC events can generate an ADC interrupt, and each has a bit flag in the INT_ADCFLAG register
to identify the reason(s) for the interrupt:
 INT_ADCOVF – an ADC conversion result was ready but the DMA was disabled (DMA buffer overflow).
 INT_ADCSAT– the gain correction multiplication exceeded the limits for a signed 16-bit number (gain
saturation).
10-5
Final
120-035X-000M