Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

SN8F5708 Datasheet(PDF) 122 Page - SONiX Technology Company

Part # SN8F5708
Description  8051-based Microcontroller
PDF  204 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SONIX [SONiX Technology Company]
Direct Link  http://www.sonix.com.tw
Logo SONIX - SONiX Technology Company

SN8F5708 Datasheet(HTML) 122 Page - SONiX Technology Company

Back Button SN8F5708 Datasheet HTML 118Page - SONiX Technology Company SN8F5708 Datasheet HTML 119Page - SONiX Technology Company SN8F5708 Datasheet HTML 120Page - SONiX Technology Company SN8F5708 Datasheet HTML 121Page - SONiX Technology Company SN8F5708 Datasheet HTML 122Page - SONiX Technology Company SN8F5708 Datasheet HTML 123Page - SONiX Technology Company SN8F5708 Datasheet HTML 124Page - SONiX Technology Company SN8F5708 Datasheet HTML 125Page - SONiX Technology Company SN8F5708 Datasheet HTML 126Page - SONiX Technology Company Next Button
Zoom Inzoom in Zoom Outzoom out
 122 / 204 page
background image
www.sonix.com.tw
SN8F5708 Series
Copyright © 2019, SONiX Technology Co., Ltd.
ADC
Datasheet Rev. 2.4
122
19.1
Configurations of Operation
These configurations must be setup completely before starting ADC converting. ADC is configured
using the following steps:
1.
Choose and enable the start of conversion ADC input channel. (By CHS[4:0] bits and GCHS bit)
2.
The GPIO mode of ADC input channel must be set as input mode. (By PnM register)
3.
The internal pull-up resistor of ADC input channel must be disabled. (By PnUR register)
4.
The configuration control bit of ADC input channel must be set. (By PnCON register)
5.
Choose ADC high reference voltage and low reference Voltage. (By VREFH register)
6.
Choose ADC Clock Rate. (By ADCKS[1:0] bits)
7.
After setup ADENB bits, the ADC ready to convert analog signal to digital data.
When ADC IP is enabled by ADENB bit, it is necessary to make an ADC start-up by program. Writing
a 1 to the ADS bit of register ADM. After setup ADENB and ADS bits, the ADC starts to convert
analog signal to digital data. The ADS bit is reset to logic 0 when the conversion is complete. When
the conversion is complete, the ADC circuit will set EOC and ADCF bits to “1” and the digital data
outputs in ADB and ADR registers. If ADC interrupt function is enabled (EADC = 1), the ADC
interrupt request occurs and executes interrupt service routine when ADCF is “1” after ADC
converting. Clear ADCF by hardware automatically in interrupt procedure. Note that when ADPWS
bit is “1”, if PWM enable trigger be used as the conversion source, the ADC will continuous
conversions until PWM is disabled.
19.2
ADC input channel
The ADC builds in 12-channel input source (AIN0 – AIN11) to measure 12 different analog signal
sources controlled by CHS[4:0] and GCHS bits. AIN12, AIN13 channels are OP0 and OP1-Amp
output terminal. The AIN14 is internal 2V or 3V or 4V 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 4V. AIN14 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.



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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