12
12-54
Ver.0.10
SERIAL I/O
12.6 Transmit Operation in UART Mode
Figure 12.6.6 Example of UART Transmission (Successive Transmission, with Transmit
Interrupt Used)
Note 1 : Change of the Interrupt Controller "SIO Transmit Interrupt Control Register" interrupt request bit
Note 2 : When transmit buffer empty 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.
: Interrupt generation
First data
Next data
(Note 2)
(Note 4)
(Note 2)
Upon transmit interrupt,
next data is written
(First data)
(Next data)
(Note 5)
: Processing by software
<UART on receive side>
TXD
RXD
Set
Transmit buffer
empty bit
Transmit enable bit
Cleared
Transmit status bit
D7
ST
D0
D7
SP
D0
TXD
SIO transmit interrupt
(Note 1)
<UART on transmit side>
<UART on transmit side>
Write to
transmit
buffer
register
Write to
transmit
buffer
register
Transferred from
transmit buffer to
transmit shift register
(transmission starts)
Cleared when transmission
of last data is completed
SP
ST
Interrupt request accepted (Note 3)
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 ...