User’s Manual U18432EJ5V0UD
13
CHAPTER 13 SERIAL ARRAY UNIT ................................................................................................. 410
13.1 Functions of Serial Array Unit ................................................................................................ 410
13.1.1 3-wire serial I/O (CSI00, CSI01, CSI10, CSI11, CSI20, CSI21) ....................................................410
13.1.2 UART (UART0, UART1, UART2, UART3) ....................................................................................411
13.1.3 Simplified I
2C (IIC10, IIC11, IIC20, IIC21) .....................................................................................412
13.2 Configuration of Serial Array Unit .......................................................................................... 413
13.3 Registers Controlling Serial Array Unit ................................................................................. 418
13.4 Operation stop mode ............................................................................................................... 441
13.4.1 Stopping the operation by units.....................................................................................................441
13.4.2 Stopping the operation by channels ..............................................................................................442
13.5 Operation of 3-Wire Serial I/O (CSI00, CSI01, CSI10, CSI11, CSI20, CSI21) Communication .... 444
13.5.1 Master transmission ......................................................................................................................445
13.5.2 Master reception ...........................................................................................................................454
13.5.3 Master transmission/reception ......................................................................................................462
13.5.4 Slave transmission ........................................................................................................................470
13.5.5 Slave reception .............................................................................................................................479
13.5.6 Slave transmission/reception ........................................................................................................485
13.5.7 Calculating transfer clock frequency .............................................................................................494
13.5.8 Procedure for processing errors that occurred during 3-wire serial I/O (CSI00, CSI01, CSI10,
CSI11, CSI20, CSI21) communication ..........................................................................................496
13.6 Operation of UART (UART0, UART1, UART2, UART3) Communication............................. 497
13.6.1 UART transmission .......................................................................................................................498
13.6.2 UART reception ............................................................................................................................508
13.6.3 LIN transmission ...........................................................................................................................515
13.6.4 LIN reception.................................................................................................................................518
13.6.5 Calculating baud rate ....................................................................................................................523
13.6.6 Procedure for processing errors that occurred during UART (UART0, UART1, UART2, UART3)
communication ..............................................................................................................................527
13.7 Operation of Simplified I
2C (IIC10, IIC11, IIC20, IIC21) Communication.............................. 528
13.7.1 Address field transmission ............................................................................................................529
13.7.2 Data transmission .........................................................................................................................534
13.7.3 Data reception...............................................................................................................................537
13.7.4 Stop condition generation .............................................................................................................541
13.7.5 Calculating transfer rate ................................................................................................................542
13.7.6 Procedure for processing errors that occurred during simplified I
2C (IIC10, IIC11, IIC20, IIC21)
communication ..............................................................................................................................545
13.8 Relationship Between Register Settings and Pins ............................................................... 546