W79E532A40DL Datasheet

  • W79E532A40DL

  • 8-BIT MICROCONTROLLER

  • 523.22KB

  • Winbond

扫码查看芯片数据手册

上传产品规格书

PDF预览

W79E532/W79L532
12. SERIAL PORT
Serial port in the W79E(L)532 is a full duplex port. The W79E(L)532 provides the user with additional
features such as the Frame Error Detection and the Automatic Address Recognition. The serial ports
are capable of synchronous as well as asynchronous communication. In Synchronous mode the
W79E(L)532 generates the clock and operates in a half duplex mode. In the asynchronous mode, full
duplex operation is available. This means that it can simultaneously transmit and receive data. The
transmit register and the receive buffer are both addressed as SBUF Special Function Register.
However any write to SBUF will be to the transmit register, while a read from SBUF will be from the
receive buffer register. The serial port can operate in four different modes as described below.
Mode 0
This mode provides synchronous communication with external devices. In this mode serial data is
transmitted and received on the RXD line. TXD is used to transmit the shift clock. The TxD clock is
provided by the W79E(L)532 whether the device is transmitting or receiving. This mode is therefore a
half duplex mode of serial communication. In this mode, 8 bits are transmitted or received per frame.
The LSB is transmitted/received first. The baud rate is fixed at 1/12 or 1/4 of the oscillator frequency.
This baud rate is determined by the SM2 bit (SCON.5). When this bit is set to 0, then the serial port
runs at 1/12 of the clock. When set to 1, the serial port runs at 1/4 of the clock. This additional facility
of programmable baud rate in mode 0 is the only difference between the standard 8051 and the
W79E(L)532.
The functional block diagram is shown below. Data enters and leaves the Serial port on the RxD line.
The TxD line is used to output the shift clock. The shift clock is used to shift data into and out of the
W79E(L)532 and the device at the other end of the line. Any instruction that causes a write to SBUF
will start the transmission. The shift clock will be activated and data will be shifted out on the RxD pin
till all 8 bits are transmitted. If SM2 = 1, then the data on RxD will appear 1 clock period before the
falling edge of shift clock on TxD. The clock on TxD then remains low for 2 clock periods, and then
goes high again. If SM2 = 0, the data on RxD will appear 3 clock periods before the falling edge of
shift clock on TxD. The clock on TxD then remains low for 6 clock periods, and then goes high again.
This ensures that at the receiving end the data on RxD line can either be clocked on the rising edge of
the shift clock on TxD or latched when the TxD clock is low.
OSC
Write to
SBUF
12
4
TX START
TX CLOCK
Internal
Data Bus
PARIN
LOAD
CLOCK
SOUT
RXD
P3.0 Alternate
Output Function
TX SHIFT
TI
Transmit Shift Register
Serial Port Interrupt
SM2
0
1
SERIAL
CONTROLLE
RX
CLOCK
RI
SHIFT
CLOCK
RI
REN
RXD
P3.0 Alternate
Iutput function
RX
START
LOAD SBUF
RX SHIFT
CLOCK
PAROUT
SIN
TXD
P3.1 Alternate
Output function
Read SBUF
SBUF
Internal
Data Bus
SBUF
Receive Shift Register
Figure 20. Serial Port Mode 0
- 50 -

W79E532A40DL 产品属性

  • 10

  • 集成电路 (IC)

  • 嵌入式 - 微控制器,

  • W79

  • 8052

  • 8-位

  • 40MHz

  • EBI/EMI,串行端口

  • POR,PWM,WDT

  • 32

  • 128KB(128K x 8)

  • 闪存

  • -

  • 1.25K x 8

  • 3 V ~ 5.5 V

  • -

  • 内部

  • 0°C ~ 70°C

  • 40-DIP

  • 管件

W79E532A40DL相关型号PDF文件下载

您可能感兴趣的PDF文件资料

热门IC型号推荐

扫码下载APP,
一键连接广大的电子世界。

在线人工客服

买家服务:
卖家服务:

0571-85317607

客服在线时间周一至周五
9:00-17:30

关注官方微信号,
第一时间获取资讯。

建议反馈
返回顶部

建议反馈

联系人:

联系方式:

按住滑块,拖拽到最右边
>>
感谢您向阿库提出的宝贵意见,您的参与是维库提升服务的动力!意见一经采纳,将有感恩红包奉上哦!