Renesas M32R/ECU Series User Manual page 517

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

12
Serial I/O
related registers
Note 1: Necessary when the internal clock is selected.
Note 2: If the internal clock and a divide-by ratio = 1 are selected, caution must be used when setting the baud rate register
so that the transfer rate will not exceed 2 Mbps.
Note 3: Transmission finished interrupts are effective only when the internal clock is selected.
Figure 12.3.1 Procedure for Initializing CSIO Transmission
Initialize CSIO transmission
Set SIO Transmit/Receive Mode Register
Set SIO Transmit Control Register
Set SIO Baud Rate Register
Set SIO interrupt related registers
Set Interrupt Controller
Set DMAC
Set Input/Output Port
Operation Mode Register
End of CSIO transmit initialization
12.3 Transmit Operation in CSIO Mode
• Set the register to CSIO mode
• Select the internal or external clock
• Select the clock divider divide-by ratio (Note 1)
• Divide-by ratio = H'00 to H'FF (Note 2)
• Select the source of transmit interrupt request (Note 3)
• Enable or disable transmit interrupt requests
(When using interrupts)
(When using the DMAC)
12-26
Serial I/O
32180 Group User's Manual (Rev.1.0)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents