ML610Q111/ML610Q112
User’s Manual
Chapter 11 Synchronous Serial Port
FEUL610Q111
11-9
11.3.2 Receive Operation
When “0” is written to the S0MD1 bit and “1” is written to the S0MD0 bit of the serial mode register (SIO0MOD0), this
LSI is set to a receive mode.
When the S0EN bit of the serial port control register (SIO0CON) is set to “1”, reception starts. When reception of 8/16-bit
data terminates, a synchronous serial port interrupt (SIO0INT) occurs and the S0EN bit is set to “0”.
Receive data is input from the secondary function pins (PB3/SIN) of GPIO.
When an internal clock is selected in the serial port mode register (SIO0MD1), the LSI is set to a master mode and when an
external clock (PB5/SCK) is selected, the LSI is set to a slave mode.
The serial port mode register (SIO0MOD0) enables selection of MSB first or LSB first.
The receive data input pin (PB3/SIN) and transfer clock input/output pin (PB5/SCK) must be set to the secondary function.
Figures 11-4 and 11-5 show the receive operation waveforms of the synchronous serial ports for clock type 0 and clock
type 1, respectively (8-bit length, MSB first, clock types 0 and 1).
Figure 11-4 Transmit Operation Waveforms of Synchronous Serial Port
for Clock Type 0 (8-bit Length, MSB first)
Figure 11-5 Transmit Operation Waveforms of Synchronous Serial Port
for Clock Type 1 (8-bit Length, MSB first)
Note
:
When the SOUT pin is set to the secondary function output in receive mode, a “H” level is output from the SOUT output
pin.
0
S0EN
7
6
5
4
3
2
0
1
Receive data
SCK
SIN
Shift register
SIO0INT
7
6
5
4
3
2
1
SIO0RCL
0
S0EN
7
6
5
4
3
2
0
1
Receive data
SCK
SIN
Shift register
SIO0INT
7
6
5
4
3
2
1
SIO0RCL
Summary of Contents for ML610Q111
Page 1: ...ML610Q111 ML610Q112 User s Manual Issue Date Nov 16 2016 FEUL610Q111 05 ...
Page 14: ...Chapter 1 Overview ...
Page 26: ...Chapter 2 CPU and Memory Space ...
Page 34: ...Chapter 3 Reset Function ...
Page 38: ...Chapter 4 MCU Control Function ...
Page 53: ...Chapter 5 Interrupts INTs ...
Page 81: ...Chapter 6 Clock Generation Circuit ...
Page 95: ...Chapter 7 Time Base Counter ...
Page 103: ...Chapter 8 Timers ...
Page 145: ...Chapter 9 Watchdog Timer ...
Page 153: ...Chapter 10 PWM ...
Page 199: ...Chapter 11 Synchronous Serial Port ...
Page 212: ...Chapter 12 UART ...
Page 240: ...Chapter 13 I2 C Bus Interface Master ...
Page 254: ...Chapter 14 I2 C Bus Interface Slave ...
Page 269: ...Chapter 15 Port A ...
Page 279: ...Chapter 16 Port B ...
Page 291: ...Chapter 17 Port C ...
Page 303: ...Chapter 18 Port D ...
Page 312: ...Chapter 19 Port AB Interrupts ...
Page 317: ...Chapter 20 Successive Approximation Type A D Converter ...
Page 335: ...Chapter 21 Voltage Level Supervisor ...
Page 342: ...Chapter 22 Analog Comparator ...
Page 353: ...Chapter 23 Data Flash Memory ...
Page 373: ...Chapter 24 On chip Debug ...
Page 375: ...Appendixes ...
Page 393: ...Appendix E ...
Page 398: ...Revision History ...