P87C554SBAA,512 NXP Semiconductors, P87C554SBAA,512 Datasheet - Page 23

IC 80C51 MCU 16K OTP 64-PLCC

P87C554SBAA,512

Manufacturer Part Number
P87C554SBAA,512
Description
IC 80C51 MCU 16K OTP 64-PLCC
Manufacturer
NXP Semiconductors
Series
87Cr
Datasheets

Specifications of P87C554SBAA,512

Core Processor
8051
Core Size
8-Bit
Speed
16MHz
Connectivity
EBI/EMI, I²C, UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
40
Program Memory Size
16KB (16K x 8)
Program Memory Type
OTP
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
68-PLCC
Cpu Family
87C
Device Core
80C51
Device Core Size
8b
Frequency (max)
16MHz
Interface Type
I2C/UART
Total Internal Ram Size
512Byte
# I/os (max)
40
Number Of Timers - General Purpose
3
Operating Supply Voltage (typ)
5V
Operating Supply Voltage (max)
5.5V
Operating Supply Voltage (min)
4.5V
On-chip Adc
7-chx10-bit
Instruction Set Architecture
CISC
Operating Temp Range
0C to 70C
Operating Temperature Classification
Commercial
Mounting
Surface Mount
Pin Count
68
Package Type
PLCC
Processor Series
P87C5x
Core
80C51
Data Bus Width
8 bit
Data Ram Size
512 B
Maximum Clock Frequency
16 MHz
Number Of Programmable I/os
40
Number Of Timers
3
Operating Supply Voltage
2.7 V to 5.5 V
Maximum Operating Temperature
+ 70 C
Mounting Style
SMD/SMT
3rd Party Development Tools
PK51, CA51, A51, ULINK2
Minimum Operating Temperature
0 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
Compliant
Other names
568-1254-5
935263385512
P87C554SBAA

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P87C554SBAA,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
generator. Its operation is the same, including the use of timer 1 as a
prescaler and counter are common to both PWM channels. The 8-bit
equal to, or less than the counter value, the output will be HIGH. The
Philips Semiconductors
During the early stages of software development/debugging, the
watchdog may be disabled by tying the EW pin high. At a later
stage, EW may be tied low to complete the debugging process.
Watchdog Software Example: The following example shows how
watchdog operation might be handled in a user program.
;at the program start:
T3
PCON
WATCH-INTV EQU 156
;to be inserted at each watchdog reload location within
;the user program:
LCALL WATCHDOG
;watchdog service routine:
WATCHDOG: ORL PCON,#10H ;set condition flag (PCON.4)
If it is possible for this subroutine to be called in an erroneous state,
then the condition flag WLE should be set at different parts of the
main program.
Serial I/O
The P87C554 is equipped with two independent serial ports: SIO0
and SIO1. SIO0 is a full duplex UART port and is similar to the
Enhanced UART serial port. SIO1 accommodates the I
SIO0: SIO0 is a full duplex serial I/O port identical to that of the
Enhanced UART except Time 2 cannot be used as a baud rate
baud rate generator.
Port 5 Operation
Port 5 may be used to input up to 8 analog signals to the ADC.
Unused ADC inputs may be used to input digital inputs. These
inputs have an inherent hysteresis to prevent the input logic from
drawing excessive current from the power lines when driven by
analog signals. Channel to channel crosstalk (Ct) should be taken
into consideration when both analog and digital signals are
simultaneously input to Port 5 (see, D.C. characteristics in data
sheet).
Port 5 is not bidirectional and may not be configured as an output
port. All six ports are multifunctional, and their alternate functions
are listed in the Pin Descriptions section of this datasheet.
Pulse Width Modulated Outputs
The P87C554 contains two pulse width modulated output channels
(see Figure 19). These channels generate pulses of programmable
length and interval. The repetition frequency is defined by an 8-bit
prescaler PWMP, which supplies the clock for the counter. The
counter counts modulo 255, i.e., from 0 to 254 inclusive. The value
of the 8-bit counter is compared to the contents of two registers:
PWM0 and PWM1. Provided the contents of either of these registers
is greater than the counter value, the corresponding PWM0 or
PWM1 output is set LOW. If the contents of these registers are
pulse-width-ratio is therefore defined by the contents of the registers
PWM0 and PWM1. The pulse-width-ratio is in the range of 0 to 1
and may be programmed in increments of 1/255.
2002 Mar 25
80C51 8-bit microcontroller – 12 clock operation
16K/512 OTP/RAM, 8 channel 10-bit A/D, I
capture/compare, high I/O
MOV T3,WATCH-INV
RET
EQU 0FFH ;address of watchdog timer T3
EQU 087H ;address of PCON SFR
;watchdog interval (e.g., 2x100 ms)
;load T3 with watchdog interval
2
C bus.
2
C, PWM,
21
PWM0 (FCH)
PWMn. The PWM outputs may also be configured as a dual DAC. In
the converter characteristic. Figure 20 shows a functional diagram of
reducing internal noise during the conversion. This option is selected
the ADC is active in the idle mode, and with the AIDL bit cleared, the
Buffered PWM outputs may be used to drive DC motors. The
rotation speed of the motor would be proportional to the contents of
this application, the PWM outputs must be integrated using
conventional operational amplifier circuitry. If the resulting output
voltages have to be accurate, external buffers with their own analog
supply should be used to buffer the PWM outputs before they are
integrated. The repetition frequency f
give by:
This gives a repetition frequency range of 123Hz to 31.4kHz (f
16 MHz). At fosc = 24 MHz, the frequency range is 184Hz to
47.1Hz. By loading the PWM registers with either 00H or FFH, the
PWM channels will output a constant HIGH or LOW level,
respectively. Since the 8-bit counter counts modulo 255, it can never
actually reach the value of the PWM registers when they are loaded
with FFH.
When a compare register (PWM0 or PWM1) is loaded with a new
value, the associated output is updated immediately. It does not
have to wait until the end of the current counter period. Both PWMn
output pins are driven by push-pull drivers. These pins are not used
for any other purpose.
Prescaler frequency control register PWMP
PWMP.0-7
Reading PWMP gives the current reload value. The actual count of
the prescaler cannot be read.
PWM1 (FDH)
Analog-to-Digital Converter
The analog input circuitry consists of an 8-input analog multiplexer
and a 10-bit, straight binary, successive approximation ADC. The
A/D can also be operated in 8-bit mode with faster conversion times
by setting bit ADC8 (AUXR1.7). The 8-bit results will be contained in
the ADCH register. The analog reference voltage and analog power
supplies are connected via separate input pins. For 10-bit accuracy,
the conversion takes 50 machine cycles, i.e., 37.5 s at an oscillator
frequency of 16 MHz, 25 s at an oscillator frequency of 24 MHz.
For the 8-bit mode, the conversion takes 24 machine cycles. Input
voltage swing is from 0 V to +5 V. Because the internal DAC
employs a ratiometric potentiometer, there are no discontinuities in
the analog input circuitry.
The ADC has the option of either being powered off in idle mode for
reduced power consumption or being active in idle mode for
by the AIDL bit of AUXR1 register (AUXR1.6). With the AIDL bit set,
ADC is powered off in idle mode.
PWMP (FEH)
PWM0/1.0-7} Low/high ratio of PWMn +
f
PWM
+
2
MSB
MSB
7
Prescaler division factor = PWMP + 1.
7
(1 ) PWMP)
6
6
f
OSC
5
5
255
4
4
PWM
, at the PWMn outputs is
3
3
255 * (PWMn)
(PWMn)
Reset Value = 00H
Reset Value = 00H
2
2
P87C554
Product data
1
1
OSC
LSB
LSB
0
0
=

Related parts for P87C554SBAA,512