12
12-43
Serial I/O
12.6 Transmit Operation in UART Mode
32180 Group User's Manual (Rev.1.0)
Figure 12.6.3 Procedure for Initializing UART Transmission
Initialize UART transmission
•
Set the register to UART mode
•
Set parity (when enabled, select odd/even)
•
Set the stop bit length
•
Set the character length
Set SIO Transmit/Receive Mode Register
(When using the DMAC)
Set DMAC related registers
Set Interrupt Controller
Set SIO interrupt related registers
•
Divide-by ratio = H'00 to H'FF (Note 1)
Set SIO Baud Rate Register
•
Select the clock divider divide-by ratio
Set SIO Transmit Control Register
Set Input/Output Port
Operation Mode Register
Serial I/O
related registers
End of UART transmit initialization
(When using interrupts)
Note 1: If f(BCLK) is selected for BRG count source (CDVI), it is necessary that the value set in the baud rate
register be equal to or greater than 7.
•
Select the source of transmit interrupt request
•
Enable or disable transmit interrupt requests
Содержание 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...