Fujitsu MB90390 Series Hardware Manual page 13

Table of Contents

Advertisement

CHAPTER 19 UART0, UART1 ........................................................................................ 311
19.1
Features of UART0, UART1 ........................................................................................................... 312
19.2
UART0, UART1 Block Diagram ...................................................................................................... 313
19.3
UART0, UART1 Registers .............................................................................................................. 314
19.3.1
Serial Mode Control Register (UMC) ......................................................................................... 315
19.3.2
Status Register (USR) ............................................................................................................... 317
19.3.3
Input Data Register (UIDR) and Output Data Register (UODR) ................................................ 319
19.3.4
Rate and Data Register (URD) .................................................................................................. 320
19.4
UART0, UART1 Operation ............................................................................................................. 322
19.5
Baud Rate ....................................................................................................................................... 323
19.6
Internal and External Clock ............................................................................................................. 326
19.7
Transfer Data Format ..................................................................................................................... 327
19.8
Parity Bit ......................................................................................................................................... 328
19.9
Interrupt Generation and Flag Set Timings ..................................................................................... 329
19.9.1
Flag Set Timings for a Receive Operation (Mode0, Mode1, Mode3) ........................................ 330
19.9.2
Flag Set Timings for a Receive Operation (in Mode 2) ............................................................. 331
19.9.3
Flag Set Timings for a Transmit Operation ................................................................................ 332
19.9.4
Status Flag During Transmit and Receive Operation ................................................................ 333
19.10 UART0, UART1 Application Example ............................................................................................. 334
CHAPTER 20 UART2, UART3 ........................................................................................ 337
20.1
Overview of UART2, UART3 .......................................................................................................... 338
20.2
Configuration of UART2, UART3 .................................................................................................... 342
20.3
UART2, UART3 Pins ...................................................................................................................... 347
20.4
UART2, UART3 Registers .............................................................................................................. 349
20.4.1
Serial Control Register (SCR2/SCR3) ....................................................................................... 350
20.4.2
Serial Mode Register (SMR2/SMR3) ......................................................................................... 352
20.4.3
Serial Status Register (SSR2/SSR3) ......................................................................................... 354
20.4.4
20.4.5
Extended Status/Control Register (ESCR2/ESCR3) ................................................................. 359
20.4.6
Extended Communication Control Register (ECCR2/ECCR3) .................................................. 362
20.4.7
Baud Rate Generator Register 0 and 1 (BGR02/03 and BGR12/13) ........................................ 364
20.5
UART2, UART3 Interrupts .............................................................................................................. 365
20.5.1
Reception Interrupt Generation and Flag Set Timing ................................................................ 369
20.5.2
Transmission Interrupt Generation and Flag Set Timing ........................................................... 371
20.6
UART2, UART3 Baud Rates .......................................................................................................... 373
20.6.1
Setting the Baud Rate ............................................................................................................... 375
20.6.2
Reload Counter ......................................................................................................................... 378
20.7
Operation of UART2, UART3 ......................................................................................................... 380
20.7.1
Operation in Asynchronous Mode (Op. Modes 0 and 1) ........................................................... 382
20.7.2
Operation in Synchronous Mode (Operation Mode 2) ............................................................... 385
20.7.3
Operation with LIN Function (Operation Mode 3) ...................................................................... 388
20.7.4
Direct Access to Serial Pins ...................................................................................................... 392
20.7.5
Bidirectional Communication Function (Normal Mode) ............................................................. 393
20.7.6
Master/Slave Communication Function (Multiprocessor Mode) ................................................ 395
20.7.7
LIN Communication Function .................................................................................................... 398
20.7.8
ix

Advertisement

Table of Contents
loading

Table of Contents