SN32F280 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 92
Version 1.1
7
7
7
16+3 CHANNEL ANALOG TO DIGITAL
CONVERTOR (ADC)
7.1 OVERVIEW
This analog to digital converter (ADC) has 16 external input sources, one internal channel to internal voltage source
(2V/3V/4.5V), one internal channel to OPA0 output, and one internal channel to OPA1 output, with up to 4096-step
resolution to transfer analog signal into 12-bits digital data. The sequence of ADC operation is to select input source
(AIN0 ~ AIN15) at first, then set GCHS and ADS bit to “1” to start conversion. When the conversion is complete, the
ADC circuit will set EOC bit to “1” and final value output in ADB register.
When ADC is enabled (ADENB=1) and global channel is enabled (GCHS=1), the ADC shared pins transfers to ADC
purpose and disable GPIO function and disable pull-up/pull-down resistor by HW automatically. When ADC is disabled
or global channel is disabled, the ADC pins returns to GPIO last status including pull-up/pull-down resistor. Use CHS[4:0]
to select AIN pin and GCHS enables global ADC channel, the analog signal inputs to ADC engine.
The ADC resolution can be selected 8-bit or 12-bit through ADLEN bit in ADR register. The ADC converting rate can be
selected by ADCKS[1:0] bits. These two parameters decide the ADC converting time.
The AIN16 is internal 2V or 3V or 4.5V input channel, there is no any input pin from outside. In this time ADC reference
voltage must be internal VDD and External voltage, not internal 2V or 3V or 4.5V. AIN16 can be a good battery detector
for battery system. To select appropriate internal AVREFH level and compare value, a high performance and cheaper
low battery detector is built in the system.
The ADC reference high voltage includes two source, one is internal Vdd (AVREFHSEL=0), and the other one is
external reference voltage input pin from P2.0 pin (AVREFHSEL=1).
The ADC resolution can be selected 8-bit or 12-bit through ADLEN bit in ADR register. The ADC converting rate can be
selected by ADCKS[1:0] bits. The two parameters decide ADC converting time.
Содержание SN32F280 Series
Страница 222: ...SN32F280 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 222 Version 1 1 A1D16...
Страница 263: ...SN32F280 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 263 Version 1 1 26 2 LQFP 64 PIN...
Страница 264: ...SN32F280 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 264 Version 1 1 26 3 LQFP 48 PIN...