參數(shù)資料
型號(hào): S1C88409D
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 8.8 MHz, MICROCONTROLLER, UUC108
封裝: DIE-108
文件頁數(shù): 99/250頁
文件大?。?/td> 1877K
代理商: S1C88409D
第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頁當(dāng)前第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁第218頁第219頁第220頁第221頁第222頁第223頁第224頁第225頁第226頁第227頁第228頁第229頁第230頁第231頁第232頁第233頁第234頁第235頁第236頁第237頁第238頁第239頁第240頁第241頁第242頁第243頁第244頁第245頁第246頁第247頁第248頁第249頁第250頁
178
EPSON
S1C88409 TECHNICAL MANUAL
CHAPTER 5: PERIPHERAL CIRCUITS AND OPERATION (A/D Converter)
AVREF control
VRO
The VRO register is used to turn the reference
voltage AVREF for the A/D converter on and off.
AVREF is turned on and off by an external transis-
tor. An I/O port (P30–P37) which is not used for
inputting analog signals (including two terminals
used with the touch panel controller) is used to
drive the transistor using the VRO register value.
To set an I/O port for this function, set the I/O
port in the output mode and write "1" to the data
register. When "1" is written to the VRO register,
the I/O port terminal goes low. When "0" is
written, the terminal returns to high. If two or
more I/O ports are set in this status, all the
terminals are controlled with the VRO register.
Therefore, P30–P37 cannot be used as general-
purpose output ports.
When using P30 to P37 as general-purpose I/O
ports, the VRO and VRC registers must be set to
"0".
VRC
The VRC register enables the AVREF to be con-
trolled by the touch panel controller. The touch
panel controller controls the A/D converter during
its operation. By writing "1" to the VRC register,
the touch panel controller also controls AVREF in
the same way as the VRO register. Thus it is
unnecessary to change the VRO register while the
touch panel controller operates.
Input signal selection
The analog signals from the AD0 (P30)–AD7 (P37)
terminals are input to the multiplexer, and the
analog input channel for A/D conversion is
selected by software. This selection can be done
using the CHS register as shown in Table 5.18.4.3.
Table 5.18.4.3 Selection of analog input channel
CHS2
1
0
Input channel
AD7
AD6
AD5
AD4
AD3
AD2
AD1
AD0
CHS1
1
0
1
0
CHS0
1
0
1
0
1
0
1
0
A/D conversion operation
An A/D conversion starts by writing data to the
ADRUN register. For example, when performing
A/D conversion using AD1 as the analog input,
write "1" (0, 0, 1) to the CHS register (CHS2, CHS1,
CHS0) and then write "1" to the ADRUN register.
The A/D input channel is selected and the A/D
conversion starts. However, it is necessary that the
P31 terminal has been set as an analog input
terminal.
The built-in sample/hold circuit starts sampling of
the analog input specified from tAD after writing.
When the sampling is completed, the held analog
input voltage is converted into a 10-bit digital
value in successive-approximation architecture.
The conversion result is loaded into the ADDR
(ADDR0–ADDR9) register. ADDR0 is the LSB and
ADDR9 is the MSB.
Note: If the CHS register selects an input channel
which is not included in the analog input
terminals set by the PAD register (the PAD
register can select several terminals
simultaneously), the A/D conversion does
not result in a correct converted value.
Example)
Terminal setting:
PAD5=1, PAD7=PAD6=PAD4–PAD0=0
(AD5 terminal is used)
Selection of input channel:
CHS2=1, CHS1=0, CHS0=0
(AD4 is selected)
In a setting like this, the A/D conversion
result will be invalid because the contents
of the settings are not matched.
相關(guān)PDF資料
PDF描述
S1C88816D 8-BIT, MROM, 8.2 MHz, MICROCONTROLLER, UUC164
S1C88832F0A0100 MICROCONTROLLER, PQFP128
S1C88848D0A0100 8-BIT, MROM, 8.2 MHz, MICROCONTROLLER, UUC192
S1C8F360F 8-BIT, FLASH, 8.2 MHz, MICROCONTROLLER, PQFP176
S1D13305F00B 640 X 256 PIXELS CRT CHAR OR GRPH DSPL CTLR, PQFP60
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
S1C88649 制造商:EPSON 制造商全稱:EPSON 功能描述:8-bit Single Chip Microcomputer
S1C88650 制造商:EPSON 制造商全稱:EPSON 功能描述:8-bit Single Chip Microcomputer
S1C88655 制造商:EPSON 制造商全稱:EPSON 功能描述:8-bit Single Chip Microcomputer
S1C88816 制造商:EPSON 制造商全稱:EPSON 功能描述:8-bit Single Chip Microcomputer
S1C88848 制造商:EPSON 制造商全稱:EPSON 功能描述:8-bit Single Chip Microcomputer