ML620Q503/Q504 User's Manual
Chapter 11 Synchronous Serial Port (SSIO)
FEUL620Q504 11–11
11.3.3 Transmit/Receive Operation
When “1” is written to the S0MD1 bit and “1” is written to the S0MD0 bit of the serial mode register (SIO0MOD), this
LSI is set to a transmit/receive mode.
When the S0EN bit of the serial port control register (SIO0CON) is set to “1”, transmission/reception starts. When
transmission/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 SIN0 pin, and transmit data is output from the SOUT0 pin.
When an internal clock is selected in the serial port mode register (SIO0MD), the LSI is set to a master mode and when
an external clock (SCK0) is selected, the LSI is set to a slave mode.
The serial port mode register (SIO0MOD) enables selection of MSB first or LSB first.
The receive data input pin (SIN0), the transmit data output pin (SOUT0), and transfer clock input/output pin (SCK0)
must be set to the tertiary function.
Figure 11-10 shows the transmit/receive operation waveforms of the synchronous serial port (16-bit length, LSB first,
clock types 0 and positive-logic).
Figure 11-10 Transmit/Receive Operation Waveforms of Synchronous Serial Port
(16-bit Length, LSB first, Clock Type 0 and positive-logic)
11.3.4 Pin Settings
To enable the SSIO function, the applicable bit of each related port register needs to be set. See Chapter 17, “Port 0”,
Chapter 20, “Port 3”, Chapter 21, “Port 4”, and Chapter 22, “Port 5” for details about the port registers.
For SIN0, SCK0 and SOUT0, the ports can be selected from several possibilities.
Be sure to select one of the following combinations of ports for SIN0/SCK0/SOUT0.
SSIO pin
Combination 1
Combination 2
Combination 3
Combination 4
SSIO
SIN0,SCK0,
SOUT0
P01,P02,
P00
P31,P32,
P30
P41,P42,
P40
P51,P52,
P50
Note that only one port can be selected as port.
If using P02 as SCK0 in master mode, SCK0 Max clock output frequency is 2MHz.
15
S0EN
0
1
2
3
12
13
15
14
Receive data
SCK0
SIN0
Shift register
SIO0INT
0
1
2
3
13
14
SIO0RCH, L
15
SOUT0
0
1
2
3
12
13
14
Transmit data
SIO0TRH,L
12
Summary of Contents for LAPIS SEMICONDUCTOR ML620Q503
Page 2: ...ML620Q503 Q504 User s Manual Issue Date Apr 16 2015 FEUL620Q504 01...
Page 18: ...Chapter 1 Overview...
Page 32: ...Chapter 2 CPU and Memory Space...
Page 44: ...Chapter 3 Reset Function...
Page 50: ...Chapter 4 Power Management...
Page 70: ...Chapter 5 Interrupts...
Page 134: ...Chapter 6 Clock Generation Circuit...
Page 161: ...Chapter 7 Time Base Counter...
Page 170: ...Chapter 8 Timers...
Page 183: ...Chapter 9 Function Timer FTM...
Page 231: ...Chapter 10 Watchdog Timer...
Page 239: ...Chapter 11 Synchronous Serial Port SSIO...
Page 251: ...Chapter 12 Synchronous Serial Port with FIFO SSIOF...
Page 283: ...Chapter 13 UART...
Page 303: ...Chapter 14 UART with FIFO UARTF...
Page 327: ...Chapter 15 I2 C Bus Interface...
Page 344: ...Chapter 16 Port XT...
Page 350: ...Chapter 17 Port 0...
Page 361: ...Chapter 18 Port 1...
Page 368: ...Chapter 19 Port2...
Page 379: ...Chapter 20 Port 3...
Page 395: ...Chapter 21 Port 4...
Page 410: ...Chapter 22 Port 5...
Page 426: ...Chapter 23 Melody Driver...
Page 439: ...Chapter 24 RC Oscillation type A D Converter RC ADC...
Page 462: ...Chapter 25 Successive Approximation Type A D Converter SA ADC...
Page 479: ...Chapter 26 Analog Comparator...
Page 489: ...Chapter 27 Flash Memory Control...
Page 505: ...Chapter 28 Voltage Level Supervisor VLS...
Page 517: ...Chapter 29 LLD circuit...
Page 519: ...Chapter 30 On Chip Debug Function...
Page 522: ...Appendixes...
Page 552: ...Revision History...