データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

SN8A1702AX データシート(PDF) 97 Page - SONiX Technology Company

部品番号 SN8A1702AX
部品情報  8-Bit Micro-Controller
PDF  112 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  SONIX [SONiX Technology Company]
ホームページ  http://www.sonix.com.tw
Logo SONIX - SONiX Technology Company

SN8A1702AX データシート(HTML) 97 Page - SONiX Technology Company

Back Button SN8A1702AX Datasheet HTML 93Page - SONiX Technology Company SN8A1702AX Datasheet HTML 94Page - SONiX Technology Company SN8A1702AX Datasheet HTML 95Page - SONiX Technology Company SN8A1702AX Datasheet HTML 96Page - SONiX Technology Company SN8A1702AX Datasheet HTML 97Page - SONiX Technology Company SN8A1702AX Datasheet HTML 98Page - SONiX Technology Company SN8A1702AX Datasheet HTML 99Page - SONiX Technology Company SN8A1702AX Datasheet HTML 100Page - SONiX Technology Company SN8A1702AX Datasheet HTML 101Page - SONiX Technology Company Next Button
Zoom Inzoom in Zoom Outzoom out
 97 / 112 page
background image
Preliminary
SN8P1702A/SN8P1703A
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 97
Revision 0.5
P4CON REGISTERS
ADB initial value = xxxx 0000
0AEH
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
P4CON
0
0
0
0
P4CON3
P4CON2
P4CON1
P4CON0
-
-
-
-
R/W
R/W
R/W
R/W
P4CON is Port4 Configuration register. This register can avoid current leakage in unselected ADC channel, which
connected to an analog input source. P4CON [3:0] sets to high will isolate related Port4 digital input path outside chip.
For example, both AIN0 (Port4.0) and AIN1 (Port4.1) are connected to analog input signal, and AIN0 be selected as
conversion channel (CHS [1:0] = 00), this mean the unselected channel P4.1 maybe in digital input mode (if P41M = 0)
In this condition will possible leak current from analog input source. Set P4CON1 = “1” can block P4.1 digital input path
to avoid the current leakage from AIN1.
For the same reason, P4CON0 must set to “1” when conversion channel is AIN1. So any Port4 pin be connected
to analog input source should be set related bit of P4CON as high to avoid unpredictable current leakage. Especially
before entering Sleep mode, remember to set related bit of P4CON as “1”.
Bit [3:0]
P4CON: Port4 Configuration register.
0
Pass P4.3 digital path into chip.
P4CON3
1
Isolate P4.3 digital path into chip
0
Pass P4.2 digital path into chip.
P4CON2
1
Isolate P4.2 digital path into chip
0
Pass P4.1 digital path into chip.
P4CON1
1
Isolate P4.1 digital path into chip
0
Pass P4.0 digital path into chip.
P4CON0
1
Isolate P4.0 digital path into chip
Note 1: When Port4 is general I/O port, set related P4CON [3:0] = “0”
Note 2: When Port4 is ADC input channel, set related P4CON [3:0] = “1”
The AIN’s input voltage vs. ADB’s output data
AIN n
ADB11 ADB10 ADB9
ADB8
ADB7
ADB6
ADB5
ADB4
ADB3
ADB2
ADB1
ADB0
0/4096*AVREFH
0
0
0
0
0
0
0
0
0
0
0
0
1/4096*AVREFH
0
0
0
0
0
0
0
0
0
0
0
1
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
4094/4096*AVREFH
1
1
1
1
1
1
1
1
1
1
1
0
4095/4096*AVREFH
1
1
1
1
1
1
1
1
1
1
1
1
For different applications, users maybe need more than 8-bit resolution but less than 12-bit ADC converter. To process
the ADB and ADR data can make the job well. First, the AD resolution must be set 12-bit mode and then to execute
ADC converter routine. Then delete the LSB of ADC data and get the new resolution result. The table is as following.
ADB
ADR
ADC
Resolution
ADB11
ADB10
ADB9
ADB8
ADB7
ADB6
ADB5
ADB4
ADB3
ADB2
ADB1
ADB0
8-bit
O
O
O
O
O
O
O
O
x
x
x
x
9-bit
O
O
O
O
O
O
O
O
O
x
x
x
10-bit
O
O
O
O
O
O
O
O
O
O
x
x
11-bit
O
O
O
O
O
O
O
O
O
O
O
x
12-bit
O
O
O
O
O
O
O
O
O
O
O
O
O = Selected, x = Delete



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


リンク URL



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