It is currently Sat May 25, 2013 10:44 am

All times are UTC - 7 hours [ DST ]




 Page 1 of 1 [ 3 posts ] 
Author Message
 Post subject: I2C Developers Information.
PostPosted: Thu Nov 28, 2002 12:35 pm 
OMNIPRESENT
OMNIPRESENT

Joined: Tue Aug 14, 2001 6:00 pm
Posts: 2801
Since there is a lot of questions about I2C in e-mails and on the forums, here is a small guide to help.

Q: How do I talk to the display?

A:
We use a standard Phillips 7bit address as defined by Phillips. How ever, we at Matrix Orbital specify the I2C address in 8bits. The 8th bit, least significant bit (LSB or Low Order Bit) of the 8bit address is read/write bit. If we take a standard Phillips 7bit address of 45hex this would be in binary 1000101. This is 7bits. If one adds the read write bit to this 7bit address and you assume that you are writing one gets 10001010. Matrix Orbital would describe the Philips I2C address of 45hex as 8Ahex. The read address would be 8Bhex.

Q: How do i read the keypad data?

A:
The keypad is read by I


Offline
 Profile  
 
 Post subject: Problem with i2c controller PCF8584
PostPosted: Fri Mar 11, 2005 3:11 am 
LCD?

Joined: Thu Mar 10, 2005 9:15 am
Posts: 1
Hello, sorry i don't speak very well English.

I have LCD2041, TTL and I2C MODE. J0 in, J1, J2, J3 OUT, adress i2c : 52H
To write to LCD i send:

Start 1 0 1 0 0 1 0 0 Ack 0 1 0 0 0 0 0 1 Ack Stop

To send A, but i have nothing on the display, and i have Ack error.

Can use i2c inferior has 100Kbs ?

What's the form of trame to send ?

LCD is slave or master I2C ?

Regards.


Offline
 Profile  
 
 Post subject:
PostPosted: Fri Mar 11, 2005 11:54 am 
Matrix Orbital
Matrix Orbital

Joined: Mon Jul 19, 2004 4:43 pm
Posts: 1030
Location: Calgary
Hi Lovmy,

Thank you for posting.

Looks like you are not getting an ACK because you are not sending the right address. Try sending 0 1 0 1 0 0 1 0 (0x52) .

You are capable of communicating at a maximum of 100Kbs.

The way to send data to the display is you send the address, then the command or text.

The LCD is always the slave.

The following link is a sample program of using I2C with the unit which can be helpful to you. http://www.lcdforums.com/forums/viewtop ... s&start=15

If you have anymore questions or concerns, please feel free to post.

Best Regards,
:D


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 3 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

cron