mpc82x54a Megawin Technology, mpc82x54a Datasheet - Page 36
![no-image](/images/no-image-200.jpg)
mpc82x54a
Manufacturer Part Number
mpc82x54a
Description
8-bit Micro-controller
Manufacturer
Megawin Technology
Datasheet
1.MPC82X54A.pdf
(74 pages)
- Current page: 36 of 74
- Download datasheet (3Mb)
36
Mode3
Mode 3 is the same as mode 2 except the baud rate is variable.
In all four modes, transmission is initiated by any instruction that uses SBUF as a destination
register. Reception is initiated in mode 0 by the condition RI = 0 and REN = 1. Reception is
initiated in the other modes by the incoming start bit with 1-to-0 transition if REN=1.
There are several SFRs related to serial port configuration described as following.
SFR: SCON (Serial Control)
FE:= Frame Error bit
{ SM0, SM1 }:= Used to set operating mode of the serial port.
SM2:= Enable the automatic address recognition feature in mode 2 and 3.
REN:= Enable the serial port reception.
TB8:= The 9th data bit, which will be transmitted in Mode 2 and Mode 3.
RB8:= In mode 2 and 3, the received 9th data bit will be put into this bit.
TI:= Transmitting done flag. After a transmitting has been finished, the hardware will set this bit.
RI:= Receive done flag. After reception has been finished, the hardware will set this bit.
SM0/FE
Bit-7
This bit is set by the receiver when an invalid stop bit is detected. The FE bit is not cleared by
valid frames but should be cleared by software. The SMOD0 bit must be set to enable access
to the FE bit.
{ 0, 0 }:= set the serial port operate under Mode 0
{ 0, 1 }:= set the serial port operate under Mode 1
{ 1, 0 }:= set the serial port operate under Mode 2
{ 1, 1 }:= set the serial port operate under Mode 3
0:= (default)
1:=
If SM2=1, RI will not be set unless the received 9th data bit is 1, indicating an address, and
the received byte is a Given or Broadcast address. In mode1, if SM2=1, RI will not be set
unless a valid stop Bit was received, and the received byte is a Given or Broadcast
address.
Disable the serial port reception.
Enable the serial port reception.
Baud Rate (for Mode 3)
Bit-6
SM1
Bit-5
SM2
MPC82x54A Data Sheet
=
2
Bit-4
REN
SMOD
32
Bit-3
X
TB8
(Timer-1 overflow rate)
Bit-2
RB8
Bit-1
TI
MEGAWIN
Bit-0
RI
Related parts for mpc82x54a
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![MSC24A](/images/no-image3.png)
Part Number:
Description:
8 Bit Micro-Controller with Voice Synthesizer and Melody
Manufacturer:
Megawin Technology Co., Ltd.
![MPC89L51A](/images/no-image3.png)
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
![MPC89L52A](/images/no-image3.png)
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
![MPC89L54A](/images/no-image3.png)
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
![MPC89L515A](/images/no-image3.png)
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
![mg39u103ah-050](/images/no-image3.png)
Part Number:
Description:
1-channel 350v, 50ma/80ma Constant Current Dc Led Driver
Manufacturer:
Megawin Technology
Datasheet:
![mg39u301](/images/no-image3.png)
Part Number:
Description:
Universal Pwm Type Led Driver
Manufacturer:
Megawin Technology
Datasheet:
![mg87fe](/images/no-image3.png)
Part Number:
Description:
8 Bits Microcontroller
Manufacturer:
Megawin Technology
Datasheet:
![mg87fel04](/images/no-image3.png)
Part Number:
Description:
8-bit Micro-controller
Manufacturer:
Megawin Technology
Datasheet:
![mg82fel308](/images/no-image3.png)
Part Number:
Description:
A Single-chip Microcontroller Based On A High Performance 1-t Architecture 80c51
Manufacturer:
Megawin Technology
Datasheet:
![mg82fx564](/images/no-image3.png)
Part Number:
Description:
8-bit Microcontroller
Manufacturer:
Megawin Technology
Datasheet:
![mg84fl54b](/images/no-image3.png)
Part Number:
Description:
Full-speed Usb Micro-controller
Manufacturer:
Megawin Technology
Datasheet:
![mg84fl54](/images/no-image3.png)
Part Number:
Description:
Full-speed Usb Micro-controller
Manufacturer:
Megawin Technology
Datasheet:
![mpc82x52a](/images/no-image3.png)
Part Number:
Description:
8-bit Micro-controller
Manufacturer:
Megawin Technology
Datasheet: