m38039mf-xxxsp Mitsumi Electronics, Corp., m38039mf-xxxsp Datasheet - Page 59
m38039mf-xxxsp
Manufacturer Part Number
m38039mf-xxxsp
Description
Single-chip 8-bit Cmos Microcomputer
Manufacturer
Mitsumi Electronics, Corp.
Datasheet
1.M38039MF-XXXSP.pdf
(135 pages)
- Current page: 59 of 135
- Download datasheet (2Mb)
(2) Asynchronous Serial I/O (UART) Mode
Clock asynchronous serial I/O mode (UART) can be selected by
clearing the serial I/O3 mode selection bit of the serial I/O3 control
register to “0”.
Eight serial data transfer formats can be selected, and the transfer
formats used by a transmitter and receiver must be identical.
The transmit and receive shift registers each have a buffer, but the
Fig. 50 Block diagram of UART serial I/O3
Fig. 51 Operation of UART serial I/O3
( f ( X
T r a n s m i t o r r e c e i v e c l o c k
C I N
T r a n s m i t b u f f e r w r i t e
R e c e i v e b u f f e r r e a d
) i n l o w - s p e e d m o d e )
S e r i a l o u t p u t T
S e r i a l i n p u t R
N o t e s
P 3
P 3
P 3
6
4
5
/ S
1 : E r r o r f l a g d e t e c t i o n o c c u r s a t t h e s a m e t i m e t h a t t h e R B F f l a g b e c o m e s “ 1 ” ( a t 1 s t s t o p b i t , d u r i n g r e c e p t i o n ) .
2 : A s t h e t r a n s m i t i n t e r r u p t ( T I ) , w h e n e i t h e r t h e T B E o r T S C f l a g b e c o m e s “ 1 , ” c a n b e s e l e c t e d t o o c c u r d e p e n d i n g o n t h e s e t t i n g o f t h e t r a n s m i t
3 : T h e r e c e i v e i n t e r r u p t ( R I ) i s s e t w h e n t h e R B F f l a g b e c o m e s “ 1 . ”
4 : A f t e r d a t a i s w r i t t e n t o t h e t r a n s m i t b u f f e r w h e n T S C = 1 , 0 . 5 t o 1 . 5 c y c l e s o f t h e d a t a s h i f t c y c l e a r e n e c e s s a r y u n t i l c h a n g i n g t o T S C = 0 .
/ R
/ T
f ( X
s i g n a l
s i g n a l
C L K 3
X
X
i n t e r r u p t s o u r c e s e l e c t i o n b i t ( T I C ) o f t h e s e r i a l I / O 3 c o n t r o l r e g i s t e r .
X
X
D
D
I N
D
D
3
3
3
3
)
S T d e t e c t o r
B R G c o u n t s o u r c e s e l e c t i o n b i t
T B E = 0
TSC=0
TBE=1
1 / 4
C h a r a c t e r l e n g t h s e l e c t i o n b i t
ST
C h a r a c t e r l e n g t h s e l e c t i o n b i t
S T
7 b i t s
8 b i t s
S e r i a l I / O 3 s y n c h r o n o u s c l o c k s e l e c t i o n b i t
D
D
0
O E
0
A d d r e s s 0 0 3 0
T B E = 0
D
D
1
1
P E F E
1 s t a r t b i t
7 o r 8 d a t a b i t
1 o r 0 p a r i t y b i t
1 o r 2 s t o p b i t ( s )
R e c e i v e b u f f e r r e g i s t e r 3
R e c e i v e s h i f t r e g i s t e r 3
F r e q u e n c y d i v i s i o n r a t i o 1 / ( n + 1 )
S T / S P / P A g e n e r a t o r
D a t a b u s
D a t a b u s
B a u d r a t e g e n e r a t o r 3
1 6
T r a n s m i t b u f f e r r e g i s t e r 3
T r a n s m i t s h i f t r e g i s t e r 3
S P d e t e c t o r
A d d r e s s 0 0 2 F
A d d r e s s
S e r i a l I / O 3 c o n t r o l r e g i s t e r
two buffers have the same address in a memory. Since the shift
register cannot be written to or read from directly, transmit data is
written to the transmit buffer register, and receive data is read
from the receive buffer register.
The transmit buffer register can also hold the next data to be
transmitted, and the receive buffer register can hold a character
while the next character is being received.
1 / 1 6
1 6
R B F = 1
SP
S P
T B E = 1
C l o c k c o n t r o l c i r c u i t
0 0 3 0
1 6
R e c e i v e b u f f e r f u l l f l a g ( R B F )
R e c e i v e i n t e r r u p t r e q u e s t ( R I )
S T
ST
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
T r a n s m i t i n t e r r u p t s o u r c e s e l e c t i o n b i t
S e r i a l I / O 3 s t a t u s r e g i s t e r
D
0
D
0
RBF=0
MITSUBISHI MICROCOMPUTERS
A d d r e s s 0 0 3 2
D
D
1 / 1 6
1
1
T r a n s m i t b u f f e r e m p t y f l a g ( T B E )
T r a n s m i t s h i f t c o m p l e t i o n f l a g ( T S C )
]
Generated at 2nd bit in 2-stop-bit mode
3803/3804 Group
U A R T 3 c o n t r o l r e g i s t e r
T r a n s m i t i n t e r r u p t r e q u e s t ( T I )
1 6
A d d r e s s
A d d r e s s 0 0 3 3
0 0 3 1
1 6
1 6
T S C = 1
SP
R B F = 1
SP
]
59
Related parts for m38039mf-xxxsp
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Mitsumi Electronics, Corp.
Datasheet:
Part Number:
Description:
Manufacturer:
Mitsumi Electronics, Corp.
Datasheet:
Part Number:
Description:
Manufacturer:
Mitsumi Electronics, Corp.
Datasheet:
Part Number:
Description:
Manufacturer:
Mitsumi Electronics, Corp.
Datasheet:
Part Number:
Description:
Manufacturer:
Mitsumi Electronics, Corp.
Datasheet:
Part Number:
Description:
Manufacturer:
Mitsumi Electronics, Corp.
Datasheet:
Part Number:
Description:
Manufacturer:
Mitsumi Electronics, Corp.
Datasheet:
Part Number:
Description:
Manufacturer:
Mitsumi Electronics, Corp.
Datasheet:
Part Number:
Description:
Manufacturer:
Mitsumi Electronics, Corp.
Datasheet:
Part Number:
Description:
Manufacturer:
Mitsumi Electronics, Corp.
Datasheet:
Part Number:
Description:
Manufacturer:
Mitsumi Electronics, Corp.
Datasheet:
Part Number:
Description:
Manufacturer:
Mitsumi Electronics, Corp.
Datasheet:
Part Number:
Description:
Manufacturer:
Mitsumi Electronics, Corp.
Datasheet:
Part Number:
Description:
Manufacturer:
Mitsumi Electronics, Corp.
Datasheet:
Part Number:
Description:
Manufacturer:
Mitsumi Electronics, Corp.
Datasheet: