12
12-36
Ver.0.10
SERIAL I/O
12.4 Receive Operation in CSIO Mode
12.4 Receive Operation in CSIO Mode
12.4.1 Initial Settings for CSIO Reception
To receive data in CSIO mode, initialize the serial I/O following the procedure described below.
Note, however, that because the receive shift clock is derived from operation of the transmit circuit,
you need to execute transmit operation even when you only want to receive data.
(1) Setting SIO Transmit/Receive Mode Register
• Set the register to CSIO mode
• Select the internal or an external clock
(2) Setting SIO Transmit Control Register
• Select the clock divider's divide-by ratio (when internal clock selected)
(3) Setting SIO Baud Rate Register
When the internal clock is selected, set a baud rate generator value. (Refer to Section 12.3.1,
"Setting the CSIO Baud Rate.")
(4) Setting SIO Interrupt Mask Register
• Enable or disable the transmit buffer empty interrupt (SIO Interrupt Mask Register)
• Select the cause of receive interrupt (receive finished/error) (Cause of Receive Interrupt Select
Register)
(5) Setting SIO Receive Control Register
Set the receive enable bit
(6) Setting the Interrupt Controller (SIO Transmit Interrupt Control Register)
When you use a transmit interrupt or receive interrupt during transmission/reception, set its
priority level.
(7) Setting the DMAC
When you generate a DMA transfer request to the internal DMAC when the transmit buffer is
empty or transmission is completed, set the DMAC. (Refer to Chapter 9, "DMAC.")
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 ...