12
12-2
Serial I/O
32180 Group User's Manual (Rev.1.0)
12.1 Outline of Serial I/O
The 32180 contains a total of six serial I/O channels, SIO0–SIO5. Channels SIO0, SIO1, SIO4 and SIO5 can be
selected between CSIO mode (clock-synchronous serial I/O) and UART mode (clock-asynchronous serial I/O).
Channels SIO2 and SIO3 are UART mode only.
• CSIO mode (clock-synchronous serial I/O)
Communication is performed synchronously with a transfer clock, using the same clock on both transmit and
receive sides. The transfer data is 8 bits long (fixed).
• UART mode (clock-asynchronous serial I/O)
Communication is performed at any transfer rate in any transfer data format. The transfer data length can be
selected from 7, 8 and 9 bits.
Channels SIO0–SIO3 each have a transmit DMA transfer and a receive DMA transfer request. These serial
I/Os, when combined with the internal DMA Controller (DMAC), allow serial communication to be performed
at high speed, as well as reduce the data communication load of the CPU.
Serial I/O is outlined below.
Table 12.1.1 Outline of Serial I/O
Item
Description
Number of channels
CSIO mode/UART mode : 4 channels (SIO0, SIO1, SIO4, SIO5)
UART only
: 2 channels (SIO2, SIO3)
Clock
During CSIO mode : Internal clock or external clock as selected (Note 1)
During UART mode : Internal clock only
Transfer mode
Transmit half-duplex, receive half-duplex, transmit/receive full-duplex
BRG count source
f(BCLK), f(BCLK)/8, f(BCLK)/32, f(BLCK)/256 (Note 2)
(when internal clock selected)
f(BCLK): Peripheral clock operating frequency
Data format
CSIO mode : Data length = 8 bits (fixed)
Order of transfer = LSB first (fixed)
UART mode : Start bit = 1 bit
Character length = 7, 8 or 9 bits
Parity bit = Added (odd, even) or not added
Stop bit = 1 or 2 bits
Order of transfer = LSB first (fixed)
Baud rate
CSIO mode : 152 bits/sec to 2 Mbits/sec (when f(BCLK) = 20 MHz)
UART mode : 19 bits/sec to 156 Kbits/sec (when f(BCLK) = 20 MHz)
Error detection
CSIO mode : Overrun error only
UART mode : Overrun, parity and framing errors
(Occurrence of any of these errors is indicated by an error sum bit)
Fixed period clock output function
When using SIO0, SIO1, SIO4 and SIO5 as UART, this function outputs a divided-by-2
BRG clock from the SCLK pin.
Note 1: The maximum input frequency of an external clock during CSIO mode is f(BCLK)/16.
Note 2: If f(BCLK) is selected as the count source, the BRG set value is subject to limitations.
12.1 Outline of Serial I/O
Содержание M32R/ECU Series
Страница 17: ...12 This page is blank for reasons of layout...
Страница 18: ...CHAPTER 1 OVERVIEW 1 1 Outline of the 32180 Group 1 2 Block Diagram 1 3 Pin Functions 1 4 Pin Assignments...
Страница 712: ...CHAPTER 18 OSCILLATOR CIRCUIT 18 1 Oscillator Circuit 18 2 Clock Generator Circuit...
Страница 794: ...CHAPTER 22 TYPICAL CHARACTERISTICS...
Страница 795: ...22 22 2 32180 Group User s Manual Rev 1 0 TYPICAL CHARACTERISTICS To be written at a later time...
Страница 796: ...APPENDIX 1 MECHANICAL SPECIFICAITONS Appendix 1 1 Dimensional Outline Drawing...
Страница 798: ...APPENDIX 2 INSTRUCTION PROCESSING TIME Appendix 2 1 32180 Instruction Processing Time...
Страница 802: ...APPENDIX 3 PROCESSING OF UNUSED PINS Appendix 3 1 Example Processing of Unused Pins...