Electronic Components Datasheet Search
  English  ▼

X  

UPD17P136ACT Datasheet(PDF) 148 Page - NEC

Part # UPD17P136ACT
Description  4-BIT SINGLE-CHIP MICROCONTROLLER
PDF  292 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

UPD17P136ACT Datasheet(HTML) 148 Page - NEC

Back Button UPD17P136ACT Datasheet HTML 144Page - NEC UPD17P136ACT Datasheet HTML 145Page - NEC UPD17P136ACT Datasheet HTML 146Page - NEC UPD17P136ACT Datasheet HTML 147Page - NEC UPD17P136ACT Datasheet HTML 148Page - NEC UPD17P136ACT Datasheet HTML 149Page - NEC UPD17P136ACT Datasheet HTML 150Page - NEC UPD17P136ACT Datasheet HTML 151Page - NEC UPD17P136ACT Datasheet HTML 152Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 148 / 292 page
background image
CHAPTER 13 PERIPHERAL HARDWARE
129
13.3.2 Functions of A/D Converter
(1) ADC0 – ADC3
These pins are used to input 4-channel analog voltage to the A/D converter. The A/D converter contains a
sample hold circuit. Analog input voltage is internally retained during A/D conversion.
(2) VADC
This pin is used to input the power supply and the reference voltage for the A/D converter.
A signal input to ADC0 to ADC3 is converted to a digital signal based on voltage applied across VADC and GND.
To reduce the current consumption of the microcontroller, the A/D converter has a function for automatically
stopping the current which flows into the VADC pin when the converter is not operating. Current flows into the
VADC pin in the following cases.
<1> Successive mode (ADCSOFT=0)
From when the ADCSTRT flag is set (1) until the ADCEND flag is set (1).
<2> Single mode (ADCSOFT=1)
From when the ADCSTRT flag is set (1) or from when a value of the 8-bit data register is written until
the result of comparison by the comparator is written in the ADCCMP flag.
Caution If the HALT Instruction is executed while the A/D conversion is in progress, the A/D
converter stops conversion. Note that, in this case, the HALT mode is set with current
flowing to the VADC pin. When the HALT mode has been released, the A/D conversion
is resumed. At this time, however, the value of ADCR is undefined, and the correct
conversion result cannot be obtained.
Remark
A/D conversion is stopped if the STOP instruction is executed while the conversion is in
progress. In this case, the A/D converter is initialized, and the current to the VADC pin is also
cut. The A/D converter remains stopped even if the STOP mode has been released.
(3) 8-bit data register (ADCR)
In the successive mode, this 8-bit data register stores A/D conversion results for successive approximation.
It is read by the GET instruction. In the single mode, the data in this register is converted to analog voltage
by the internal D/A converter and the comparator compares this voltage with an analog signal input from the
ADCn pin. A value can be written in this register by using the PUT instruction.
(4) Comparator
The comparator compares an analog input voltage from a pin with voltage output from the D/A converter. Value
1 is output if analog input voltage from the pin is high. Value 0 is output if this voltage is low. The comparison
result is stored in the 8-bit data register (ADCR) in the successive mode. It is stored in the ADCCMP flag in
the single mode.
(5) A/D converter control register
Figure 13-14 shows the A/D converter control register.



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