199
CHAPTER 10 UART
10.2
Structure of UART
The UART consists of the following blocks:
• Baud rate generator and serial clock generator
• Data transmitter and data receiver
• Registers (SMC1, SMC2, SRC, SSD, SIDR, SODR)
■
Block diagram of UART
Figure 10.2-1 Block diagram of UART
P45/SCK
CPU clock
1/4
1/6
1/13
1/65
PDS1
PDS0
PWM timer
output
1/2
n
1/4
1/2
1/8
RC2
RC1
RC0
CS1
CS0
CR
SMDE
UART serial clock
RSEL
SCKE*
1
Serial I/O clock
P45/SCK
1/2
Serial
clock
Baud rate generator and serial clock generator
Data transmit control circuit
Data receive control circuit
P43/SI
Start bit
detection
Start
Reset
Receiver
byte count
Shift clock
Transfer clock
Shifter
SIDR
Parity
generator
CR
RDRF
ORFE
Transmitter
byte count
Timing
Reset
Transmitter
control
Shift clock
Transfer clock
Shifter
SODR
Parity
generator
TDRE
RD8/RP
RSEL
SOE*
2
P44/SO
Serial I/O data
PEN
MC1
MC0
PEN TD8/TP
MC1
MC0
SBL
ORFE
RDRF
RIE
TDRE
TIE
Internal data bus
Registers:
SMC1
PEN
SBL
MC1
MC0
SMDE
—
SCKE
SOE
SMC2
—
—
PSEN
—
RSEL
—
PDS1
PDS0
SSD RDRF ORFE TDRE
TIE
RIE
—
TD8/TP
RD8/RP
SRC
—
—
CR
CS1
CS0
RC2
RC1
RC0
SODR
SIDR
IRQ4
*1: At switching between port output and serial clock output, the SCKE bit of the UART is valid when the RSEL bit is 0; the SCKE bit of the serial I/O is
valid when the RSEL bit is 1.
*2: At switching between port output and serial data output, the SOE bit of the UART is valid when the RSEL bit is 0; the SOE bit of the serial I/O is
valid when the RSEL bit is 1.
Содержание MB89950 Series
Страница 2: ......
Страница 3: ...FUJITSU LIMITED F2MC 8L 8 BIT MICROCONTROLLER MB89950 950A Series HARDWARE MANUAL ...
Страница 4: ......
Страница 10: ...vi ...
Страница 34: ...20 CHAPTER 2 HANDLING DEVICES ...
Страница 134: ...120 CHAPTER 6 WATCHDOG TIMER ...
Страница 236: ...222 CHAPTER 10 UART ...
Страница 276: ...262 CHAPTER 12 LCD CONTROLLER DRIVER ...
Страница 310: ...296 APPENDIX ...
Страница 311: ...297 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 316: ...302 INDEX ...
Страница 318: ......