![Mitsubishi 32172 User Manual Download Page 535](http://html1.mh-extra.com/html/mitsubishi/32172/32172_user-manual_1808662535.webp)
12
12-65
Rev.1.0
SERIAL I/O
12.9 Precautions on Using UART Mode
12.9 Precautions on Using UART Mode
•
Settings of SIO Transmit/Receive Mode Register and SIO Baud Rate Register
The SIO Transmit/Receive Mode Register and SIO Baud Rate Register and the Transmit Control
Register's BRG count source select bit must always be set when not operating. When transmitting
or receiving data, be sure to check that transmission and/or reception under way has been
completed and clear the transmit and receive enable bits before you set the registers.
•
Settings of Baud Rate (BRG) Register
If you selected f(BCLK) with the BRG clock source select bit, make sure the BRG register value you
set is equal to or greater than 7.
The value written to the SIO Baud Rate Register becomes effective beginning with the next period
after the BRG counter finished counting. However, when transmit and receive operations are
disabled, the register value can be changed at the same time you write to the register.
•
Transmit/receive operations using DMA
To transmit/receive data in DMA request mode, enable the DMAC to accept transfer requests (by
setting the DMA Mode Register) before you start serial communication.
•
About overrun error
If all bits of the next receive data are received in the SIO Receive Shift Register before you read out
the SIO Receive Buffer Register (an overrun error occurs), the receive data is not stored in the
Receive Buffer Register and the Receive Buffer Register retains the previously received data.
Once an overrun error occurs, no receive data is stored in the Receive Buffer Register although
receive operation is continued. To restart reception normally, you need to temporarily clear the
receive enable bit before you restart. This is the only way you can clear the overrun error 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 ...