The MSM82C51A-2 is a USART (Universal Synchronous Asynchronous Receiver Transmitter)
for serial data communication.
As a peripheral device of a microcomputer system, the MSM82C51A-2 receives parallel data
from the CPU and transmits serial data after conversion. This device also receives serial data
from the outside and transmits parallel data to the CPU after conversion.
The MSM82C51A-2 configures a fully static circuit using silicon gate CMOS technology.
Therefore, it operates on extremely low power at 100 mA (max) of standby current by
suspending all operations.
FEATURES
• Wide power supply voltage range from 3 V to 6 V
• Wide temperature range from –40°C to 85°C
• Synchronous communication upto 64 Kbaud
• Asynchronous communication upto 38.4 Kbaud
• Transmitting/receiving operations under double buffered configuration.
The MSM82C51A-2's functional configuration is programed by software.
Operation between the MSM82C51A-2 and a CPU is executed by program control. Table 1
shows the operation between a CPU and the device.
Table 1 Operation between MSM82C51A and CPU
CS
C/D
1
0
0
0
0
0
RD
¥
¥
1
1
0
0
WR
¥
1
0
1
0
1
¥
1
1
0
1
0
Data Bus 3-State
Data Bus 3-State
Status Æ CPU
Control Word ¨ CPU
Data Æ CPU
Data ¨ CPU
It is necessary to execute a function-setting sequence after resetting the MSM82C51A-2. Fig. 1
shows the function-setting sequence.
If the function was set, the device is ready to receive a command, thus enabling the transfer of
data by setting a necessary command, reading a status and reading/writing data.
Mode instruction is used for setting the function of the MSM82C51A-2. Mode instruction
will be in “wait for write” at either internal reset or external reset. That is, the writing of a
control word after resetting will be recognized as a “mode instruction.”
Items set by mode instruction are as follows:
•Number of synchronous characters (Synchronous mode)
The bit configuration of mode instruction is shown in Figures 2 and 3. In the case of
synchronous mode, it is necessary to write one-or two byte sync characters.
If sync characters were written, a function will be set because the writing of sync characters
constitutes part of mode instruction.
D
S
D
7
1
6
S
1
D
EPPENL
D
5
D
4
D
3
2
D
2
L
B
1
D
1
0
B
2
1
Baud Rate Factor
0101
0011
Refer to
Fig. 3
SYNC
010
001
5 bits6 bits7 bits
0101
0011
Disable
1 ¥16 ¥64 ¥
Charactor Length
Odd
Parity
Parity Check
Disable
1
1
8 bits
Even
Parity
Stop bit Length
010
001
Inhabit1 bit1.5
bits
Fig. 2 Bit Configuration of Mode Instruction (Asynchronous
1
1
2 bits
5/26
¡ SemiconductorMSM82C51A-2RS/GS/JS
)
D
D
7
SCSESDEPPENL
D
6
D
5
D
4
D
3
2
D
2
L
1
1
00
D
0
Charactor Length
010
001
5 bits6 bits7 bits
1
1
8 bits
Parity
0101
0011
Disable
Odd
Parity
Disable
Even
Parity
Synchronous Mode
01
Internal
Synchronization
External
Synchronization
Number of Synchronous Charactors
01
2 Charactors1 Charactor
Fig. 3 Bit Configuration of Mode Instruction (Synchronous
6/26
¡ SemiconductorMSM82C51A-2RS/GS/JS
g
2) Command
Command is used for setting the operation of the MSM82C51A-2.
It is possible to write a command whenever necessary after writing a mode instruction and
sync characters.
Items to be set by command are as follows:
•TransmitEnable/Disable
•Receive Enable/Disable
•DTR, RTSOutput of data.
•Resetting of error flag.
•Sending to break characters
•Internal resetting
•Hunt mode (synchronous mode)
The bit configuration of a command is shown in Fig. 4.
D
EH
D
7
IR
D
6
RTS
D
5
ER
D
4
SBRK
D
3
RXE
D
2
DTR
D
1
0
TXEN
1ºTransmit Enable
0ºDisable
DTR
1 ÆDTR = 0
0 ÆDTR = 1
1ºRecieve Enable
0ºDisable
1ºSent Break Charactor
0ºNormal Operation
1ºReset Error Flag
0ºNormal Operation
RTS
1 ÆRTS = 0
0 ÆRTS = 1
1ºInternal Reset
0ºNormal Operation
1ºHunt Mode (Note)
0ºNormal Operation
Note: Seach mode for synchronous
charactors in synchronous mode.
. 4 Bit Configuration of Command
Fi
7/26
¡ SemiconductorMSM82C51A-2RS/GS/JS
g
Status Word
It is possible to see the internal status of MSM82C51A-2 by reading a status word.
The bit configuration of status word is shown in Fig. 5.
D
DSR
D
7
SYNDET
/BD
D
6
FE
D
5
OE
D
4
PE
3
D
2
TXEMPTY
D
1
RXRDY
D
0
TXRDY
Parity Different from
TXRDY Terminal.
Refer to "Explanation"
of TXRDY Terminals.
Same as terminal.
Refer to "Explanation"
of Terminals.
1ºParity Error
1ºOverrun Error
1ºFraming Error
Note:
Only asynchronous mode.
Stop bit cannot be detected.
Shows Terminal DSR
1ºDSR = 0
0ºDSR = 1
Fi
. 5 Bit Configuration of Status Word
Standby Status
It is possible to put the MSM82C51A-2 in “standby status”
When the following conditions have been satisfied the MSM82C51A-2 is in “standby status.”
(1) CS terminal is fixed at Vcc level.
(2) Input pins other CS , D0 to D7, RD, WR and C/D are fixed at Vcc or GND level (including
SYNDET in external synchronous mode).
Note:When all output currents are 0, ICCS specification is applied.
8/26
Loading...
+ 18 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.