Electronic Components Datasheet Search
  English  ▼

X  

MPC82x52AS Datasheet(PDF) 37 Page - Megawin Technology Co., Ltd

Part # MPC82x52AS
Description  8-bit micro-controller
PDF  72 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MEGAWIN [Megawin Technology Co., Ltd]
Direct Link  http://www.megawin.com.tw/megawin_EN/Index.asp
Logo MEGAWIN - Megawin Technology Co., Ltd

MPC82x52AS Datasheet(HTML) 37 Page - Megawin Technology Co., Ltd

Back Button MPC82x52AS Datasheet HTML 33Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 34Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 35Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 36Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 37Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 38Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 39Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 40Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 41Page - Megawin Technology Co., Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 37 / 72 page
background image
MEGAWIN
MPC82x52A Data Sheet
37
Bit[ i ] of Compared Byte = (SADEN[ i ] == 1 )?
SADDR[ i ]
:
x
RI
=
(SM2 == 1) && (SBUF == Compared Byte) && (RB8 == 1)
SFR: SBUF (Serial Buffer)
Bit-7
Bit-6
Bit-5
Bit-4
Bit-3
Bit-2
Bit-1
Bit-0
(data to be transmitted or received data)
Frame Error Detection
When used for frame error detect, the UART looks for missing stop bits in the communication.
A missing bit will set the FE bit in the SCON register. The FE bit shares the SCON.7 bit with
SM0, and the function of SCON.7 is determined by PCON.6 (SMOD0). If SMOD0 is set then
SCON.7 functions as FE. When SMOD0 is cleared, SCON.7 functions as SM0. When used as
FE, SCON.7 can only be cleared by software.
Automatic Address Recognition
There is an extra feature makes the device convenient to act as a master, which
communicates to multiple slaves simultaneously. It is really Automatic Address Recognition.
There are two SFR SADDR and SADEN implemented in the device. The user can read or
write both of them. Finally, the hardware will make use of these two SFR to “generate” a
“compared byte”. The formula specifies as following.
For example:
Set SADDR = 11000000b
Set SADEN = 11111101b
The achieved “Compared Byte” will be “110000x0”
(x means don’t care)
For another example:
Set SADDR = 11100000b
Set SADEN = 11111010b
The achieved “Compared Byte” will be “11100x0x”
After the generic “Compared Byte” has been worked out, the MPC82x52A will make use of
this byte to determine how to set the bit RI in SFR SCON.
Normally, an UART will set bit RI whenever it has done a byte reception; but for the UART in
the MPC82x52A, if the bit SM2 is set, it will set RI according to the following formula.
In other words, not all data reception will respond to RI, while specific data does.
By setting the SADDR and the SADEN, the user can filter out those data byte that doesn’t like
to care. This feature brings great help to reduce software overhead.
The above feature adapts to the serial port when operated in Mode1, Mode2, and Mode3.
Dealing with Mode 0, the user can ignore it.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com