Hi,
I'm using the Beaglesboard-xm to develop a LCD (model NHD-C0216CiZ-FSW-FBW-3V3) driver which requires the I2C write as the following sequence:
void init_LCD()
{
I2C_Start()
I2C_out(0x7C) //slave address
I2C_out(0x00) //data/command
I2C_out(0x38) //data/command
delay(10); //delay 10ms
I2C_out(0x14) //data/command
delay(10);
I2C_Stop();
}
What I need is how to configure the I2C to send out "start address ... data ... delay ..... data ... stop"
the Start and Stop condition can be called when needed.
I got the I2C linux driver to work with other devices but not with this LCD because it needs special sequence.
Can someone please help me on this?
Regards,
Phi