![Mitsubishi 32172 User Manual Download Page 523](http://html1.mh-extra.com/html/mitsubishi/32172/32172_user-manual_1808662523.webp)
12
12-53
Rev.1.0
SERIAL I/O
12.6 Transmit Operation in UART Mode
12.6.4 Starting UART Transmission
When all of the following transmit conditions are met after you finished initialization, the serial I/O
starts transmit operation.
•
The SIO Transmit Control Register's TEN (transmit enable) bit is set to 1. (Note)
•
Transmit data is written to the SIO Transmit Buffer Register (transmit buffer empty bit = 0).
Note: While the transmit enable bit is cleared to 0, writes to the transmit buffer are ignored.
Always be sure to set the transmit enable bit to 1 before you write to the transmit buffer
register.
When transmission starts, the serial I/O transmits data following the procedure below.
•
Transfer the content of the SIO Transmit Buffer Register to the SIO Transmit Shift Register.
•
Set the transmit buffer empty bit to 1. (Note)
•
Start sending data synchronously with the shift clock beginning with the LSB.
Note: A transmit buffer empty interrupt request and/or a DMA transfer request can be
generated when the transmit buffer is emptied.
12.6.5 Successive UART Transmission
Once data is transferred from the transmit buffer register to the transmit shift register, the next data
can be written to the transmit buffer register even when transmission of the preceding data is not
completed. When the next data is written to the transmit buffer before completion of the preceding
data transmission, the preceding and the next data are successively transmitted.
To see if data has been transferred from the transmit buffer register to the transmit shift register,
check the SIO Transmit Control Register's transmit buffer empty flag.
Summary of Contents for 32172
Page 20: ... This is a blank page 16 ...
Page 21: ...1 1 Overview 1 2 Block Diagram 1 3 Pin Functions 1 4 Pin Layout CHAPTER 1 CHAPTER 1 OVERVIEW ...
Page 44: ...1 1 24 Rev 1 0 This is a blank page Overview 1 4 Pin Layout ...
Page 58: ...2 2 14 Rev 1 0 This is a blank page CPU 2 6 Data Formats ...
Page 122: ...4 4 26 Rev 1 0 This is a blank page EIT 4 13 Precautions on EIT ...
Page 200: ...7 7 6 Rev 1 0 This is a blank page RESET 7 4 Precautions to Be Taken Immediately after Reset ...
Page 298: ...9 9 58 Rev 1 0 This is a blank page DMAC 9 4 Precautions on Using DMAC ...
Page 776: ...19 19 10 Rev 1 0 RAM BACKUP MODE 19 4 Exiting RAM Backup Mode Wakeup This is a blank page ...
Page 782: ...20 20 6 Rev 1 0 OSCILLATION CIRCUIT 20 2 Clock Generator Circuit This is a blank page ...
Page 856: ...23 23 26 Rev 1 0 This is a blank page ELECTRICAL CHARACTERISTICS 23 6 AC Characteristics ...
Page 857: ...24 1 A D Conversion Characteristics CHAPTER 24 CHAPTER 24 STANDARD CHARACTERISTICS ...
Page 859: ...Appendix 1 1 Dimensional Outline Drawing APPENDIX 1 APPENDIX 1 MECHANICAL SPECIFICATIONS ...
Page 865: ...Appendix 3 1 Precautions about Noise APPENDIX 3 APPENDIX 3 PRECAUTIONS ABOUT NOISE ...