LK404-55 I2C and CYGNAL 8051F020

LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT Series

Moderators: Henry, Mods

Post Reply
gasma1975
LCD?
Posts: 4
Joined: Thu Mar 27, 2003 4:41 pm

LK404-55 I2C and CYGNAL 8051F020

Post 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,
Bill_Sev
LCD!
Posts: 10
Joined: Mon Apr 12, 2004 2:31 pm

Post 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!
Bill_Sev
LCD!
Posts: 10
Joined: Mon Apr 12, 2004 2:31 pm

Post by Bill_Sev »

Just noticed that this was a 2003 thread! WOW
gasma1975
LCD?
Posts: 4
Joined: Thu Mar 27, 2003 4:41 pm

do it please

Post by gasma1975 »

Hi,

I'm still trying to communicate I2C with my Orbital, if you can share it, I will appreciate. Thanks.
Miles
Matrix Orbital
Matrix Orbital
Posts: 1105
Joined: Mon Mar 04, 2002 4:00 pm

Post 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.
Miles Y.
Head of Technical Support
Product Manager
Matrix Orbital
gasma1975
LCD?
Posts: 4
Joined: Thu Mar 27, 2003 4:41 pm

I did

Post 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,
Miles
Matrix Orbital
Matrix Orbital
Posts: 1105
Joined: Mon Mar 04, 2002 4:00 pm

Post 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! :)
Miles Y.
Head of Technical Support
Product Manager
Matrix Orbital
byrosis
LCD?
Posts: 8
Joined: Mon Apr 05, 2004 11:57 am

i hope this helps

Post 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...
Post Reply