p87lpc778 NXP Semiconductors, p87lpc778 Datasheet - Page 54

no-image

p87lpc778

Manufacturer Part Number
p87lpc778
Description
Cmos Single-chip 8-bit 80c51 Microcontroller 128-byte Data Ram, 8 Kb Otp
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
p87lpc778FDH
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Part Number:
p87lpc778FDH/CP3242
Manufacturer:
SAMSUNG
Quantity:
50
Part Number:
p87lpc778FDH/CP3242
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Philips Semiconductors
Table 52:
[1]
[2]
[3]
[4]
9397 750 12378
Product data
Timer Value
15
16
17
18
19
20
21
Tables
2400 to 115.2 kbaud.
Table 51
reflects the SMOD1 bit = 1.
The tables show all potential CPU clock frequencies up to 20 MHz that may be used for baud rates from 9600 baud to 115.2 kbaud.
Other CPU clock frequencies that would give only lower baud rates are not shown.
Table entries marked with an asterisk (*) indicate standard crystal and ceramic resonator frequencies that may be obtained from many
sources without special ordering.
51
Baud rates, timer values, and CPU clock frequencies for SMOD1 = 1
shows timer settings and CPU clock rates with the SMOD1 bit in the PCON register = 0 (the default after reset), while
and
Baud Rate
2400
3.4560
* 3.6864
3.9168
4.1472
4.3776
4.6080
4.8384
52
apply to UART modes 1 and 3 (variable rate modes), and show CPU clock rates in MHz for standard baud rates from
8.15.8 More about UART Mode 0
Serial data enters and exits through RxD. TxD outputs the shift clock. 8 bits are
transmitted/received: 8 data bits (LSB first). The baud rate is fixed at
clock frequency.
Mode 0, and associated timing.
Transmission is initiated by any instruction that uses SBUF as a destination register.
The ‘write to SBUF’ signal at S6P2 also loads a ‘1’ into the 9th position of the transmit
shift register and tells the TX Control block to commence a transmission. The internal
timing is such that one full machine cycle will elapse between ‘write to SBUF’ and
activation of SEND.
SEND enables the output of the shift register to the alternate output function line of
P3.0 and also enable SHIFT CLOCK to the alternate output function line of P3.1.
SHIFT CLOCK is low during S3, S4, and S5 of every machine cycle, and high during
S6, S1, and S2. At S6P2 of every machine cycle in which SEND is active, the
contents of the transmit shift are shifted to the right one position.
As data bits shift out to the right, zeros come in from the left. When the MSB of the
data byte is at the output position of the shift register, then the ‘1’ that was initially
loaded into the 9th position, is just to the left of the MSB, and all positions to the left of
that contain zeros. This condition flags the TX Control block to do one last shift and
then deactivate SEND and set T1. Both of these actions occur at S1P1 of the 10th
machine cycle after ‘write to SBUF.’ Reception is initiated by the condition REN = 1
and R1 = 0. At S6P2 of the next machine cycle, the RX Control unit writes the bits
11111110 t o the receive shift register, and in the next clock phase activates
RECEIVE.
4800
6.9120
* 7.3728
7.8336
8.2944
8.7552
9.2160
9.6768
9600
13.8240
* 14.7456
15.6672
16.5888
17.5104
* 18.4320
19.3536
Figure 23
Rev. 01 — 31 March 2004
shows a simplified functional diagram of the serial port in
19.2 k
-
-
-
-
-
-
-
CMOS single-chip 8-bit microcontroller
38.4 k
-
-
-
-
-
-
-
…continued
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
57.6 k
-
-
-
-
-
-
-
P87LPC778
1
6
115.2 k
-
-
-
-
-
-
-
the CPU
Table 52
54 of 79

Related parts for p87lpc778