12
12-37
Ver.0.10
Figure 12.4.1 Procedure for CSIO Receive Initialization
Note 1 : This is necessary when you use the internal clock.
Note 2 : When you selected the internal clock and a divide-by ratio = 1, you are subject to limitations that
the baud rate generator must be set not to exceed 2 Mbps.
(8) Selecting pin functions
Because the serial I/O related pins serve dual purposes (shared with input/output ports), set pin
functions. (Refer to Chapter 8, "Input/Output Ports and Pin Functions.")
Set SIO Transmit/Receive Mode Register
Initial settings for CSIO
reception
• Set to CSIO mode
• Select internal or external clock
(When using DMAC)
Set DMAC
(When using interrupt)
Set the Interrupt Controller
• Enable/disable transmit buffer
empty interrupt
Set SIO Interrupt Mask Register
• Divide-by ratio H'00 to H'FF
(Note 2)
Set SIO Baud Rate Register
• Select clock divider's divide-by ratio
(Note 1)
Set SIO Transmit Control Register
Set input/output port
Operation Mode Register
Serial I/O
related
registers
Initial settings for CSIO
reception finished
• Set receive enable bit
Set SIO Receive Control Register
SERIAL I/O
12.4 Receive Operation in CSIO Mode
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 ...