Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

P87C550EBAA Datasheet(PDF) 9 Page - NXP Semiconductors

Part # P87C550EBAA
Description  80C51 8-bit microcontroller family 4K/128 OTP/ROM/ROMless, 8 channel 8 bit A/D, watchdog timer
PDF  28 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  PHILIPS [NXP Semiconductors]
Direct Link  http://www.nxp.com
Logo PHILIPS - NXP Semiconductors

P87C550EBAA Datasheet(HTML) 9 Page - NXP Semiconductors

Back Button P87C550EBAA Datasheet HTML 5Page - NXP Semiconductors P87C550EBAA Datasheet HTML 6Page - NXP Semiconductors P87C550EBAA Datasheet HTML 7Page - NXP Semiconductors P87C550EBAA Datasheet HTML 8Page - NXP Semiconductors P87C550EBAA Datasheet HTML 9Page - NXP Semiconductors P87C550EBAA Datasheet HTML 10Page - NXP Semiconductors P87C550EBAA Datasheet HTML 11Page - NXP Semiconductors P87C550EBAA Datasheet HTML 12Page - NXP Semiconductors P87C550EBAA Datasheet HTML 13Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 28 page
background image
Philips Semiconductors
Product specification
80C550/83C550/87C550
80C51 8-bit microcontroller family
4K/128 OTP/ROM/ROMless, 8 channel 8 bit A/D, watchdog timer
1998 May 01
9
Sample A/D Routines
The following routines demonstrate two methods of operating the
A/D converter. The first method uses polling to determine when the
A/D conversion is complete. The second method uses the A/D
interrupt to flag the end of conversion.
The routine ReadAD will start a read of the A/D channel identified by
R7, and wait for the conversion to complete, polling the A/D interrupt
flag. The result is returned in the accumulator.
ReadAD:MOV A,#08h
;Basic A/D start command.
ORL
A,R7
;Add channel # to be read.
MOV ADCON,A;
;Start A/D.
ADLoop: MOV A,ADCON
;Get A/D status.
JNB
ACC.4,ADLoop;Wait for ADCI (A/D ;finished).
MOV A,ADAT
;Get conversion result
MOV ADCON,#0
;Clear ADCI.
RET
The routine StartAD will start a read of the A/D channel identified by
R7 and exit back to the calling program. When the conversion is
complete, the A/D interrupt occurs, calling the A/D interrupt service
routine. The result of the conversion is returned in register R6.
StartAD: MOV A,#08h
;Basic A/D start command.
ORL
A,R7
;Add channel # to be read.
MOV ADCON,A
;Start A/D.
RET
.
.
.
ORG 2Bh
;A/D interrupt address.
ADInt:
MOV R6,ADAT
;Get conversion result.
MOV ADCON,#0
;Clear ADCI.
RETI
RS
VANALOG
INPUT
CS
CC
To Comparator
+
IN
IN+1
SmN+1
SmN
RmN+1
RmN
Multiplexer
Rm = 0.5 - 3 k
Ω
CS + CC = 15pF maximum
RS = Recommended < 9.6 k
Ω for 1 LSB @ 12MHz
NOTE:
Because the analog to digital converter has a sampled-data comparator, the input looks capacitive to a source. When a conversion
is initiated, switch Sm closes for 8tcy (8
µs @ 12MHz crystal frequency) during which time capacitance Cs + Cc is charged. It should
be noted that the sampling causes the analog input to present a varying load to an analog source.
SU00199
Figure 3.
A/D Input: Equivalent Circuit



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


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