19 UNIVERSAL SERIAL INTERFACE WITH LCD INTERFACE (USIL)
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
19-1
Universal Serial Interface with LCD
19
Interface (USIL)
USIL Module Overview
19.1
The S1C33L26 incorporates a USIL module that can be configured as a UART, SPI, I
2
C, LCD SPI, and LCD paral-
lel interface unit by the software switch.
The following shows the main features of USIL:
• Supports seven interface modes: UART, SPI master, SPI slave, I
2
C master, I
2
C slave, LCD SPI, and LCD parallel
modes.
• Contains one-byte receive data buffer and one-byte transmit buffer.
• Supports both MSB first and LSB first modes.
• UART mode
- Character length: 7 or 8 bits
- Parity mode: even, odd, or no parity
- Stop bit: 1 or 2 bits
- Start bit: 1 bit fixed
- Parity error, framing error, and overrun error detectable
- Can generate receive buffer full, transmit buffer empty, and receive error interrupts.
- Supports DMA transfer.
• SPI master/slave mode
- Data length: 8 bits fixed
- Supports both fast and normal modes (master mode), or normal mode only (slave mode).
- Data transfer timing (clock phase and polarity variations) is selectable from among 4 types.
- Can generate receive buffer full, transmit buffer empty, and receive error interrupts.
- Supports DMA transfer.
• I
2
C master/slave mode
- 7-bit addressing mode (10-bit addressing is possible by software control.)
- Supports single master configuration only (master mode).
- Supports clock stretch/wait functions.
- Can generate operation (start/stop, data transfer, ACK/NAK transfer) completion interrupts and receive error
interrupts.
• LCD SPI mode
- Data format: 8 bits, 16 bits, 18 bits (4 data format), and 24 bits + CMD bit
- Supports normal mode only.
- Supports transmission only.
- Data transfer timing (clock phase and polarity variations) is selectable from among 4 types.
- Can generate transmit buffer empty interrupts.
- Supports DMA transfer.
• LCD parallel mode
- Data bus width: 8 bits
- Control signals: A0, write, read and chip select signals can be output.
- Supports byte read and byte write.
- Configurable access timing parameters (setup, hold, and wait cycles)
- Can generate write buffer empty and read buffer full interrupts.
- Supports DMA transfer.
Figure 19.1.1 shows the USIL configuration.