数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

PC87570-ICC/VUL 数据表(PDF) 121 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
部件名 PC87570-ICC/VUL
功能描述  PC87570 Keyboard and Power Management Controller
PDF  168 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  NSC [National Semiconductor (TI)]
网页  http://www.national.com
标志 NSC - National Semiconductor (TI)

PC87570-ICC/VUL 数据表(HTML) 121 Page - National Semiconductor (TI)

Back Button PC87570-ICC/VUL Datasheet HTML 117Page - National Semiconductor (TI) PC87570-ICC/VUL Datasheet HTML 118Page - National Semiconductor (TI) PC87570-ICC/VUL Datasheet HTML 119Page - National Semiconductor (TI) PC87570-ICC/VUL Datasheet HTML 120Page - National Semiconductor (TI) PC87570-ICC/VUL Datasheet HTML 121Page - National Semiconductor (TI) PC87570-ICC/VUL Datasheet HTML 122Page - National Semiconductor (TI) PC87570-ICC/VUL Datasheet HTML 123Page - National Semiconductor (TI) PC87570-ICC/VUL Datasheet HTML 124Page - National Semiconductor (TI) PC87570-ICC/VUL Datasheet HTML 125Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 121 / 168 page
background image
Analog to Digital Converter (ADC) - January 1998
121
www.national.com
Note: After the ADC is enabled, it is recommended not to
change the control bits listed in Table 16-1 on page 120.
Otherwise, unpredictable results may occur.
16.2.6
ADC Operation
Before starting the conversion, the ADC should be initial-
ized and enabled as described in Section 16.2.5. Then fol-
low the procedures listed in Table 16-2.
Either a single conversion or a burst of four conversions
may be selected, to be executed once or continuously. The
conversion parameters are defined by fields in the
ADCCNT1 and ADCCNT2 Registers. See Section 16.3 for
more details. A conversion is started when the START bit of
the ADCCNT2 Register is set. All ADCCNT2 fields may be
written simultaneously in a single register access, as shown
in Table 16-2. In continuous conversion modes, repeat the
last two steps for as long as samples are needed. Then,
stop the ADC by clearing START.
Table 16-2. Procedure for ADC Operation
16.2.7
Disabling the ADC to Save Power
When the ADC is not converting, it may be disabled to re-
duce its current consumption from the AVCC to less than
0.1
µA. The PC87570 must first be placed in Idle mode, as
described in Section 8.3.1.
The decision to disable the ADC should be based on the ex-
pected Idle mode period, as follows:
q
If shorter than 100
µs, the ADC should remain en-
abled.
q
If longer than 100
µs and if an additional latency peri-
od of 100
µs is acceptable when returning from Idle
mode, the ADC can be disabled to save power.
See Figure 16-3 for the correct sequence for disabling it.
First make sure that the START bit of the ADCCNT2 Regis-
ter is cleared. Then check the BUSY bit of the ADCST Reg-
ister; if set, wait until it is cleared by the hardware before
disabling the ADC.
16.2.8
Sampling Time
The sampling time begins from when the START bit of the
ADCCNT2 Register is set until the conversion starts. The
DELAY bit of the ADCCNT3 Register defines this time, ei-
ther from when START is set or from completion of a previ-
ous conversion. During this time, the sampling capacitor is
charged. To allow flexibility, the sampling time is program-
mable by delaying the ADC conversion start until the signal
on the Sample and Hold capacitor settles.
Each conversion operation takes 10 ADC clock cycles. To
calculate the sampling time, see Table 9-1 on page 81.
16.2.9
Polling Driven Operation
Results may be read by polling EOC of the ADCST Regis-
ter. When this bit is set, a valid result is held in the data buff-
ers. Registers ADDATA0-3 hold results according to the
ADC operation mode. BUFPTR of the ADCST Register
points to the last data item written to the buffer. EOC is
cleared by reading the results.
16.2.10 Interrupt Driven Operation
The ADC can generate an interrupt to the CR16A core upon
completion of a conversion. The interrupt is routed to the
ICU, as INT5. See Table 9-2 on page 82.
To enable interrupt generation from the ADC interface to the
ICU, INTE of the ADCCNT1 Register must be set. The ADC
then issues an interrupt when EOC of the ADCST Register is
set. The interrupt request type is high level, and is asserted
when the buffer is full or when the operation is completed, ac-
cording to the specific operation mode. The interrupt request
is deasserted when any one of the data registers is read.
16.2.11 Overflow
An overflow occurs when a conversion is completed and its
designated data buffer is full. A data buffer is full if it con-
tains valid data and is not read until new data is ready.
If an overflow occurs, the new data overrides the old data in
the buffer, and OVF of the ADCST Register is set.
Once set by an overflow condition, OVF remains set until
the software clears it by writing 1 to it.
Action
Register
Description
1. Set ADCEN=1
ADCCNT1
Enable the ADC
2. Set CHANNEL,
CONT and SCAN
ADCCNT2
Select channel and
mode
3. Set START=1
ADCCNT2
Start conversion
4. Wait until EOC=1
ADCST
Poll until end of
conversion, or use
interrupt
5. Read ADDATA0-3 ADDATA0-3 Read
conversion
results
Is START
set?
Clear START
Wait
Clear ADCEN
No
Yes
No
Yes
Figure 16-3. Disabling ADC Sequence
Is BUSY
set?



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


链接网址



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