Page 1 of 1

LK404-55 I2C and CYGNAL 8051F020

Posted: Thu Mar 27, 2003 4:49 pm
by gasma1975
Hi,

I want to control my LK404-55 with I2C. But I'm having trouble writing a routine in C for my CYGNAL 8051F020. If someone has a sample code on how to write an adress and then a data byte on I2C, I will appreciate.

What I noticed, it seems that my LCD act as a master, always keeping the line busy. Is it possible ?

Thank you for any help,

gasma1975,

Posted: Mon Apr 12, 2004 4:51 pm
by Bill_Sev
Sample code for a 8051 micro seems hard to come by. I am writing code for a Philips LPC764 in assembly. I will be more than glad to shar it with you when Im done!

Posted: Mon Apr 12, 2004 4:54 pm
by Bill_Sev
Just noticed that this was a 2003 thread! WOW

do it please

Posted: Mon Apr 12, 2004 6:19 pm
by gasma1975
Hi,

I'm still trying to communicate I2C with my Orbital, if you can share it, I will appreciate. Thanks.

Posted: Tue Apr 13, 2004 10:27 am
by Miles
Hello...

Have you checked out this link on how our units work with the I2C protocol: http://www.lcdforums.com/forums/viewtopic.php?t=910
Please ensure that you have approriate pull up resistors on your SCL and SDA lines.

I did

Posted: Tue Apr 13, 2004 11:10 am
by gasma1975
Hi,

Actually I did, one of your technical support tried to help me several times. But he realized that I own an older version of this model and that the I2C was not working properly (but when you sold it to me it was said I2C communication). So I asked for an exchange, I think that a responsable company would agree to exchange it. The only thing that he offered me is a 50$ rebate on a new LCD and I refused it.

Still the same policy ?

Thanks,

Aldrin,

Posted: Tue Apr 13, 2004 11:45 am
by Miles
I'm not sure who you dealt with in the past, however if you contact me directly at myero@matrixorbital.ca I'm sure we can figure something "reasonable" out! :)

i hope this helps

Posted: Wed Apr 14, 2004 4:18 am
by byrosis
I was asking many of the same questions you're thinking right now ... i posted some of my code at this link in the hardware forum

http://www.lcdforums.com/forums/viewtopic.php?t=1893

you could check out the hail_LCD_display function. the basic stuff is there. i could send you the final code if you like.

let us know if you have success with the I2C...