12
12-53
Ver.0.10
SERIAL I/O
12.6 Transmit Operation in UART Mode
Figure 12.6.5 Example of UART Transmission (Transmitted Only Once, with Transmit Interrupt Used)
Note 1 : Change of the Interrupt Controller "SIO Transmit Interrupt Control Register" interrupt request bit
Note 2 : When transmit-finished interrupt is enabled (DMA transfer can also be requested at the same
timing)
Note 3 : The Interrupt Controller IVECT register is read or "SIO Transmit Interrupt Control Register"
interrupt request bit cleared
Note 4 : Transmit interrupt request is generated when transmission is enabled.
Note 5 : Even after transmit data is written to the transmit buffer, a transmit interrupt request is generated
when the data is transferred from the transmit buffer to the transmit shift register and the transmit
buffer is thereby emptied.
12.6.9 Typical UART Transmit Operation
The following shows a typical transmit operation in CSIO mode.
: Processing by software
: Interrupt generation
<UART on receive side>
TXD
RXD
Set
Write to
transmit
buffer register
Transmit buffer
empty bit
Transmit enable bit
Cleared
Transmit status bit
ST
D7
D6
D0 PAR ST
ST
TXD
SIO transmit interrupt
(Note 1)
Transmit
interrupt
(Note 4)
Interrupt request accepted
Transferred from transmit
buffer to transmit shift register
(transmission starts)
(Note 2)
(Note 3)
<UART on transmit side>
<UART on transmit side>
Transmit
interrupt
(Note 5)
Cleared
Summary of Contents for M32170F3VFP
Page 42: ...1 1 24 Ver 0 10 OVERVIEW 1 4 Pin Layout This is a blank page ...
Page 56: ...2 2 14 Ver 0 10 This is a blank page ...
Page 88: ...3 3 32 Ver 0 10 ADDRESS SPACE 3 7 Notes on Address Space This is a blank page ...
Page 270: ...9 9 40 Ver 0 10 DMAC 9 4 Precautions about the DMAC This is a blank page ...
Page 614: ...12 12 64 Ver 0 10 This is a blank page SERIAL I O 12 9 Precautions on Using UART Mode ...
Page 756: ...17 17 10 Ver 0 10 RAM BACKUP MODE 17 4 Exiting RAM Backup Mode Wakeup This is a blank page ...
Page 762: ...18 18 6 Ver 0 10 OSCILLATION CIRCUIT 18 2 Clock Generator Circuit This is a blank page ...
Page 831: ...CHAPTER 22 CHAPTER 22 TYPICAL CHARACTERISTICS 22 1 A D Conversion Characteristics ...
Page 833: ...Appendix 1 1 Dimensional Outline Drawing APPENDIX 1 APPENDIX 1 MECHANICAL SPECIFICATIONS ...
Page 841: ...Appendix 3 1 Precautions about Noise APPENDIX 3 APPENDIX 3 PRECAUTIONS ABOUT NOISE ...