Electronic Components Datasheet Search
  English  ▼

X  

3886 Datasheet(PDF) 83 Page - Renesas Technology Corp

Part # 3886
Description  8-BIT SINGLE-CHIP MICROCOMPUTER
PDF  380 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

3886 Datasheet(HTML) 83 Page - Renesas Technology Corp

Back Button 3886 Datasheet HTML 79Page - Renesas Technology Corp 3886 Datasheet HTML 80Page - Renesas Technology Corp 3886 Datasheet HTML 81Page - Renesas Technology Corp 3886 Datasheet HTML 82Page - Renesas Technology Corp 3886 Datasheet HTML 83Page - Renesas Technology Corp 3886 Datasheet HTML 84Page - Renesas Technology Corp 3886 Datasheet HTML 85Page - Renesas Technology Corp 3886 Datasheet HTML 86Page - Renesas Technology Corp 3886 Datasheet HTML 87Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 83 / 380 page
background image
HARDWARE
1-58
3886 Group User’s Manual
COMPARATOR CIRCUIT
Comparator Configuration
The comparator circuit consists of resistors, comparators, a com-
parator control circuit, the comparator reference input selection bit
(bit 7 of address 001D16), a comparator data register (address
002D16), the comparator reference power source input pin (P00/
P3REF) and analog signal input pins (P30–P37). The analog input
pin (P30–P37) also functions as an ordinary digital port.
Comparator Operation
To activate the comparator, first set port P3 to input mode by set-
ting the corresponding direction register (address 000716) to “0” to
use port P3 as an analog voltage input pin. The internal fixed ana-
log voltage (VCC ✕ 29/32) can be generated by setting “1” to the
comparator reference input selection bit (bit 7) of the serial I/O2
control register (address 001D16). (The internal fixed analog volt-
age becomes about 4.5 V at VCC = 5.0 V.) When setting “0” to the
comparator reference input selection bit, the P00/P3REF pin be-
comes the comparator reference power source input pin and it is
possible to input the comparator reference power source option-
ally from the external. The voltage comparison is immediately
performed by the writing operation to the comparator data register
(address 002D16). After 14 cycles of the internal system clock
φ
(the time required for the comparison), the comparison result is
stored in the comparator data register (address 002D16).
If the analog input voltage is greater than the internal reference
voltage, each bit of this register is “1”; if it is less than the internal
reference voltage, each bit of this register is “0”. To perform an-
other comparison, the voltage comparison must be performed
again by writing to the comparator data register (address 002D16).
Read the result when 14 cycles of
φ or more have passed after the
comparator operation starts. The ladder resistor is turned on dur-
ing 14 cycles of
φ , which is required for the comparison, and the
reference voltage is generated. An unnecessary current is not
consumed because the ladder resistor is turned off while the com-
parator operation is not performed. Since the comparator consists
of capacitor coupling, the electric charge is lost if the clock fre-
quency is low.
Keep that the clock frequency is 1 MHz or more during the com-
parator operation. Do not execute the STP, WIT, or port P3 I/O
instruction.
Fig. 54 Comparator circuit
FUNCTIONAL DESCRIPTION
VSS
8
8
VCC
P3 (8)
P37
P36
P30
b0
Comparator reference input selection
bit (bit 7) of serial I/O2 control
register(address 001D16)
Comparator data register
(address 002D16)
Compar-
ator
Ladder resistor
connecting signal
Comparator
control circuit
Comparator connecting
signal
Compar-
ator
Compar-
ator
P00/P3REF
VCC✕29/32
“1”
“0”
Data bus



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