SPFD54124B Drise, SPFD54124B Datasheet - Page 118

no-image

SPFD54124B

Manufacturer Part Number
SPFD54124B
Description
396-Channel 6-Bit Source Driver
Manufacturer
Drise
Datasheet
www.DataSheet4U.com
7.2.4.2 4-pin 8-bits SPI
The selection of this interface is done by IM2 and SPI4. See the Table 7.2.4.2.
The serial interface is a 4-pin 8-bits bi-directional interface for communication between the micro controller and the LCD driver chip. The
4-pin serial use: CSX (chip enable), SCL (serial clock), DCX(command or data) and SDA (serial data input/output). Serial clock (SCL) is
used for interface with MCU only, so it can be stopped when no communication is necessary.
Table 7.2.4.2 Serial Interface Type Selection
7.2.4.2.1 Command Write Mode
The write mode of the interface means the micro controller writes commands and data to the 4-Pin serial data packet. If D/CX is low, the
transmission byte is interpreted as command byte. If D/CX is high, the transmission byte is stored in the display data RAM (Memory write
command), or command register as parameter.
Any instruction can be sent in any order to the DRIVER. The MSB is transmitted first. The serial interface is initialized when CSX is high. In
this state, SCL clock pulse or SDA data have no effect. A falling edge on CSX enables the serial interface and indicates the start of data
transmission.
When CSX is high, SCL clock is ignored. During the high time of CSX the serial interface is initialized. At the falling edge of CSX, SCL can
be high or low. SDA is sampled at the rising edge of CSX. D/CX indicates, whether the byte is command code (D/CX=’0’) or parameter/RAM
data (D/CX=’1’). It is sampled when first rising edge of CSX. If CSX stay low after the last bit of command/data byte, the serial interface
expects the D/CX bit of the next byte at the next rising edge of SCL.
© ORISE Technology Co., Ltd.
Proprietary & Confidential
SPI4 P68 IM2
1
‘-‘
4-pins Serial Data Stream Format
MSB
D7 D6 D5 D4 D3 D2 D1 D0
(MCU to
Driver)
Host
4-pins Serial Interface Protocol
Transmission byte(TB) may be a command or a data
0
IM1
‘-‘
Fig. 7.2.4.2.2 4-pins Serial interface Write protocol (Write to register with control bit in
D/CX
CSX
SDA
SCL
(TB)
IM0
‘-‘
S
4-Pin Serial interface
Fig. 7.2.4.2.1 Serial interface data Stream format
D7
LSB
D6
Interface
D5
Command
D4
D3
TB
(TB)
D2
D1
Via the read instruction (8-bits, 24-bits and 32-bits read parameter
D0
0
CSX can be ‘H’ between parameter / command and
parameter/command SCL and SDA during CSX=’H’ is invalid
118
D7
D6
Command / Parameter
(TB)
D5
D4
Read back selection
TB
D3
D2
D1
D/C
D0
SPFD54124B
P
Preliminary
Preliminary Version: 0.6
APR. 26, 2007

Related parts for SPFD54124B