| 数据搜索系统,热门电子元器件搜索 |
|
STE2004 数据表(PDF) 28 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STE2004 数据表(HTML) 28 Page - STMicroelectronics |
|
28 / 66 page ![]() STE2004 28/66 4.1.2 Writing Mode. If the R/W bit is set to logic 0 the STE2004 is set to be a receiver. After the slaves acknowledge one or more command word follows to define the status of the device. A command word is composed by three bytes. The first is a control byte which defines the Co and D/C values, the second and third are data bytes. The Co bit is the command MSB and defines if after this com- mand will follow two data bytes and an other command word or if will follow a stream of data (Co = 1 Com- mand word, Co = 0 Stream of data). The D/C bit defines whether the data byte is a command or RAM data (D/C = 1 RAM Data, D/C = 0 Command). If Co =1 and D/C = 0 the incoming data byte is decoded as a command, and if Co =1 and D/C =1, the following data byte will be stored in the data RAM at the location specified by the data pointer. Every byte of a command word must be acknowledged by all addressed units. After the last control byte, if D/C is set to a logic 1 the incoming data bytes are stored inside the STE2004 Display RAM starting at the address specified by the data pointer. The data pointer is automatically up- dated after every byte written and in the end points to the last RAM location written. Every byte must be acknowledged by all addressed units. 4.1.3 Reading Mode. If the R/W bit is set to logic 1 the chip will output data immediately after the slave address. If the D/C bit during the last write access, is set to a logic 0, the byte read is the status byte. Figure 33. Communication Protocol 4.2 SERIAL INTERFACES STE2004 can feature three different serial synchronized interfaces with the host controller. It is possible to select a 3-lines SPI, a 4-lines SPI or 3-line 9 bits Serial Interface. 4.2.1 4-lines SPI interface STE2004 4-lines serial interface is a bidirectional link between the display driver and the application supervisor. It consists of four lines: one/two for data signals (SDIN, SOUT), one for clock signals (SCLK), one for the pe- ripheral enable (CS) and one for mode selection (SD/C). The serial interface is active only if the CS line is set to a logic 0. When CS line is high the serial peripheral power consumption is zero. While CS pin is high the serial interface is kept in reset. The STE2004 is always a slave on the bus and receive the communication clock on the SCLK pin from the mas- ter. Information are exchanged byte-wide. During data transfer, the data line is sampled on the positive SCLK edge. SD/C line status indicates whether the byte is a command (SD/C =0) or a data (SD/C =1); SD/C line is read on LR0008 S S 01111 0 A0A DRIVER ACK WRITE MODE READ MODE R/W R/W SLAVE ADDRESS Co DRIVER ACK COMMAND WORD CONTROL BYTE MSB........LSB Co LAST N> 0 BYTE DRIVER ACK DRIVER ACK DRIVER ACK A 1 DC Control Byte DATA Byte A DC Control Byte A 0 DATA Byte A P S S 01111 0 A1A DRIVER ACK MASTER ACK P DRIVER SLAVE ADDRESS S 01111 0 A R / W CONTROL BYTE C o D C 000 A S 1 A S 1 A S 1 A H [1] H [0] H E |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |