![](http://datasheet.mmic.net.cn/110000/M32186F8VFP_datasheet_3496152/M32186F8VFP_12.png)
Contents-7
32185/32186 Group Hardware Manual
Rev.1.10 REJ09B0235-0110 May 15, 07
CHAPTER 12 SERIAL INTERFACE
12.1 Outline of Serial Interface ................................................................................................................. 12-2
12.2 Serial Interface Related Registers .................................................................................................... 12-5
12.2.1 SIO Interrupt Related Registers ............................................................................................... 12-6
12.2.2 SIO Transmit Control Registers ................................................................................................ 12-14
12.2.3 SIO Transmit/Receive Mode Registers .................................................................................... 12-15
12.2.4 SIO Transmit Buffer Registers .................................................................................................. 12-19
12.2.5 SIO Receive Buffer Registers .................................................................................................. 12-20
12.2.6 SIO Receive Control Registers ................................................................................................ 12-21
12.2.7 SIO Baud Rate Registers ......................................................................................................... 12-24
12.2.8 SIO Special Mode Registers .................................................................................................... 12-27
12.3 Transmit Operation in CSIO Mode ................................................................................................... 12-29
12.3.1 Setting CSIO Baud Rate .......................................................................................................... 12-29
12.3.2 Initializing CSIO Transmission .................................................................................................. 12-30
12.3.3 Starting CSIO Transmission ..................................................................................................... 12-32
12.3.4 Successive CSIO Transmission ............................................................................................... 12-32
12.3.5 Processing at End of CSIO Transmission ................................................................................ 12-33
12.3.6 Transmit Interrupts ................................................................................................................... 12-33
12.3.7 Transmit DMA Transfer Request .............................................................................................. 12-33
12.3.8 Example of CSIO Transmit Operation ...................................................................................... 12-35
12.4 Receive Operation in CSIO Mode .................................................................................................... 12-37
12.4.1 Initialization for CSIO Reception .............................................................................................. 12-37
12.4.2 Starting CSIO Reception .......................................................................................................... 12-39
12.4.3 Processing at End of CSIO Reception ..................................................................................... 12-39
12.4.4 About Successive Reception .................................................................................................... 12-40
12.4.5 Flags Showing Status of CSIO Receive Operation .................................................................. 12-41
12.4.6 Example of CSIO Receive Operation ....................................................................................... 12-42
12.5 Notes on Using CSIO Mode ............................................................................................................. 12-44
12.6 Transmit Operation in UART Mode .................................................................................................. 12-46
12.6.1 Setting UART Baud Rate ......................................................................................................... 12-46
12.6.2 UART Transmit/Receive Data Formats .................................................................................... 12-46
12.6.3 Initializing UART Transmission ................................................................................................. 12-48
12.6.4 Starting UART Transmission .................................................................................................... 12-50
12.6.5 Successive UART Transmission .............................................................................................. 12-50
12.6.6 Processing at End of UART Transmission ............................................................................... 12-50
12.6.7 Transmit Interrupts ................................................................................................................... 12-50
12.6.8 Transmit DMA Transfer Request .............................................................................................. 12-51
12.6.9 Example of UART Transmit Operation ..................................................................................... 12-52
12.7 Receive Operation in UART Mode ................................................................................................... 12-54
12.7.1 Initialization for UART Reception .............................................................................................. 12-54
12.7.2 Starting UART Reception ......................................................................................................... 12-56
12.7.3 Processing at End of UART Reception .................................................................................... 12-56
12.7.4 Example of UART Receive Operation ...................................................................................... 12-58
12.7.5 Start Bit Detection and Data Sampling Timing during UART Reception ................................... 12-60
12.8 Fixed Period Clock Output Function ................................................................................................. 12-61
12.9 Notes on Using UART Mode ............................................................................................................ 12-62