| Electronic Components Datasheet Search |
|
EM6125WS27 Datasheet(PDF) 13 Page - EM Microelectronic - MARIN SA |
|
|
|||||||||||||||||||||||||||||
EM6125WS27 Datasheet(HTML) 13 Page - EM Microelectronic - MARIN SA |
|
13 / 43 page ![]() EM6125 Copyright 2001, EM Microelectronic-Marin SA 13 www.emmicroelectronic.com 8.3 I 2C interface The EM6125 can be interfaced with a slave I 2C protocol (see description I2C protocol). The I2C bus consists in 2 wires: SCL (Serial Clock Line) and SDA (Serial Data Line). Both lines must be connected to VDD1,2 via a pull up resistor. EM6125 pad SCL is input, pad SDA is bi-directional with pull down open drain. EM6125 supports initialization and RAM write and status read access. 8.3.1 Start and stop conditions Data transfer begins by a falling edge on SDA when SCL is at high level, this is the start condition (S), initiated by the I 2C bus master. It is stopped with a rising edge on SDA and SCL at high level, this is the stop condition (P) (see Figure 4: I2C start and stop conditions). 8.3.2 Bit transfer One data bit is transferred during each SCL pulse. The data on the SDA line must remain stable during the high period of SCL pulses, as any changes at this time would be interpreted as start or stop conditions. Data is always transferred with MSB first. 8.3.3 Acknowledge After a start condition, data bits are transferred to EM6125. Each byte is followed by an acknowledge bit: the transmitter let the SDA line high (no pull down) and generates a high SCL pulse; if transfer concerns the EM6125 slave receiver and has performed correctly, it generates a low SDA level (pull down activated). SDA remains stable during the high period of the acknowledge related SCL pulse. After acknowledge, EM6125 let SDA line free, enabling the transmitter to continue transfer or to generate a stop condition. 8.4 I 2C protocol The EM6125 has a slave address, coded on 7 bits: 0000000. After a start condition, the slave address + RW bit must be send first. If the slave address does not match with the EM6125 ones there is no acknowledge from LCD driver and the following data transfer will not affect the chip. If the slave address corresponds to EM6125 slave address, it will acknowledge (pull SDA down to logical low level) and data transfer is enabled. The 8th bit RW sets the chip in write mode or read status mode, it is read for data transfer. 8.4.1 Write mode If RW = 0, EM6125 is accessed by the micro controller. Data transfer bytes can be either control bytes or data bytes. Data transfer always begins with a control byte (described in fig.1). It sets bits C0, DC, ini2, ini1 and ini0. C0 is the continuation bit: If C0 = 1, the control byte is followed by 1 data byte only, the next byte is a new control byte. If C0 = 0, all the following bytes are data bytes until data transfer is stopped. DC selects data bytes or command bytes to be send after the control byte: If DC = 1, the following data byte(s) is (are) written in the Display Data RAM. First data byte is stored at the address specified by the x-address and y-address pointers. Data pointers are automatically updated for each byte written in the DDRAM (see DDRAM description). IF DC = 0, the following data byte is a command byte. It enables initialization of functions (multiplex rate, number of voltage multiplier stages, VLCD programming, partial display settings…). Bits ini2, ini1 and ini0 select the initialization register to be set by the following command byte (see Table 4: EM6125 instructions). |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |