AT83C51SND1C_03 ATMEL [ATMEL Corporation], AT83C51SND1C_03 Datasheet - Page 135

no-image

AT83C51SND1C_03

Manufacturer Part Number
AT83C51SND1C_03
Description
Single-Chip Flash Microcontroller with MP3 Decoder and Human Interface
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Internal Baud Rate Generator
Synchronous Mode
(Mode 0)
Transmission (Mode 0)
4109E–8051–06/03
When using the Internal Baud Rate Generator, the Baud Rate is derived from the over-
flow of the timer. As shown in Figure 95 the Internal Baud Rate Generator is an 8-bit
auto-reload timer fed by the peripheral clock or by the peripheral clock divided by 6
depending on the SPD bit in BDRCON register (see Table 129). The Internal Baud Rate
Generator is enabled by setting BBR bit in BDRCON register. SMOD1 bit in PCON reg-
ister allows doubling of the generated baud rate.
Figure 95. Internal Baud Rate Generator Block Diagram
Mode 0 is a half-duplex, synchronous mode, which is commonly used to expand the I/0
capabilities of a device with shift registers. The transmit data (TXD) pin outputs a set of
eight clock pulses while the receive data (RXD) pin transmits or receives a Byte of data.
The 8-bit data are transmitted and received least-significant bit (LSB) first. Shifts occur
at a fixed Baud Rate (see Section "Baud Rate Selection (Mode 0)", page 136).
Figure 96 shows the serial port block diagram in Mode 0.
Figure 96. Serial I/O Port Block Diagram (Mode 0)
To start a transmission mode 0, write to SCON register clearing bits SM0, SM1.
As shown in Figure 97, writing the Byte to transmit to SBUF register starts the transmis-
sion. Hardware shifts the LSB (D0) onto the RXD pin during the first clock cycle
composed of a high level then low level signal on TXD. During the eighth clock cycle the
MSB (D7) is on the RXD pin. Then, hardware drives the RXD pin high and asserts TI to
indicate the end of the transmission.
CLOCK
PER
SCON.6
SCON.1
M3 M2 M1 M0
SM1
Mode Decoder
TI
Controller
Mode
÷ 6
SCON.7
SCON.0
SM0
RI
BDRCON.1
SPD
0
1
BDRCON.4
BRR
CLOCK
CLOCK
BRG
PER
(8 bits)
(8 bits)
BRG
BRL
SBUF Rx SR
SBUF Tx SR
Baud Rate
Controller
Overflow
AT8xC51SND1C
÷ 2
SMOD1
PCON.7
CLOCK
IBRG
0
1
RXD
TXD
To serial
Port
135

Related parts for AT83C51SND1C_03