
User’s Manual U18417EJ3V0UD
13
13.1.1 3-wire serial I/O (CSI00, CSI01, CSI10, CSI11, CSI20, CSI21) ....................................................406
13.1.2 UART (UART0, UART1, UART2, UART3) ....................................................................................407
13.1.3 Simplified I
2C (IIC10, IIC11, IIC20, IIC21) .....................................................................................408
13.2 Configuration of Serial Array Unit.................................................................................................... 409
13.3 Registers Controlling Serial Array Unit........................................................................................... 414
13.4 Operation stop mode ......................................................................................................................... 437
13.4.1 Stopping the operation by units.....................................................................................................437
13.4.2 Stopping the operation by channels ..............................................................................................438
13.5 Operation of 3-Wire Serial I/O (CSI00, CSI01, CSI10, CSI11, CSI20, CSI21) Communication .. 440
13.5.1 Master transmission ......................................................................................................................441
13.5.2 Master reception ...........................................................................................................................450
13.5.3 Master transmission/reception ......................................................................................................456
13.5.4 Slave transmission ........................................................................................................................464
13.5.5 Slave reception .............................................................................................................................473
13.5.6 Slave transmission/reception ........................................................................................................479
13.5.7 Calculating transfer clock frequency .............................................................................................488
13.6 Operation of UART (UART0, UART1, UART2, UART3) Communication .................................... 490
13.6.1 UART transmission .......................................................................................................................491
13.6.2 UART reception ............................................................................................................................501
13.6.3 LIN transmission ...........................................................................................................................508
13.6.4 LIN reception.................................................................................................................................511
13.6.5 Calculating baud rate ....................................................................................................................516
13.7 Operation of Simplified I
2C (IIC10, IIC11, IIC20, IIC21) Communication...................................... 520
13.7.1 Address field transmission ............................................................................................................521
13.7.2 Data transmission .........................................................................................................................526
13.7.3 Data reception...............................................................................................................................529
13.7.4 Stop condition generation .............................................................................................................533
13.7.5 Calculating transfer rate ................................................................................................................534
13.8 Processing Procedure in Case of Error .......................................................................................... 537
13.9 Relationship Between Register Settings and Pins........................................................................ 539
CHAPTER 14 SERIAL INTERFACE IIC0 ........................................................................................... 548
14.1 Functions of Serial Interface IIC0 ..................................................................................................... 548
14.2 Configuration of Serial Interface IIC0 .............................................................................................. 551
14.3 Registers to Controlling Serial Interface IIC0 ................................................................................. 554
14.4 I
2C Bus Mode Functions .................................................................................................................... 566
14.4.1 Pin configuration ...........................................................................................................................566
14.5 I
2C Bus Definitions and Control Methods ....................................................................................... 567
14.5.1 Start conditions .............................................................................................................................567
14.5.2 Addresses .....................................................................................................................................568
14.5.3 Transfer direction specification .....................................................................................................568
14.5.4 Transfer clock setting method .......................................................................................................569
14.5.5 Acknowledge (ACK) ......................................................................................................................570
14.5.6 Stop condition ...............................................................................................................................572
14.5.7 Wait...............................................................................................................................................573
14.5.8 Canceling wait...............................................................................................................................575