Search found 7 matches

by sthudium
Thu Mar 27, 2008 4:26 pm
Forum: MOC/MOS/MOI/MOU/X-Board/MOP
Topic: Last I2C byte is ignored
Replies: 7
Views: 11743

You were right

My I2C communication link now works flawlessly. You were spot on when you told me to check the SCL and SDA lines. I examined the code and saw that the SCL/SDA timing for ACK slot was not correct. So, I cleaned up the code, and added code to process the ACK, which I previously ignored. Thanks, again,...
by sthudium
Wed Mar 26, 2008 1:04 pm
Forum: MOC/MOS/MOI/MOU/X-Board/MOP
Topic: Last I2C byte is ignored
Replies: 7
Views: 11743

What is a NAK

Thanks, Raquel. What is a NAK? My understanding, which may be faulty, was that after the host sends the 8th bit, it toggles the SCL line 1->0->1 for a 9th clock cycle. The LCD then does an ACK by pulling SDA low during this cycle. However, since your I2C FAQ said that ACK's should be ignored, I igno...
by sthudium
Wed Mar 26, 2008 11:32 am
Forum: MOC/MOS/MOI/MOU/X-Board/MOP
Topic: Last I2C byte is ignored
Replies: 7
Views: 11743

Clarification. please

Thanks, Raquel, for your timely response. I really enjoy this prompt attention. I have some questions, though, about your response. I'm not certain I understand what you meant when you asked whether I checked the SCL and SDA lines. They obviously were working well enough to display "Hell". And, if I...
by sthudium
Tue Mar 25, 2008 11:52 pm
Forum: MOC/MOS/MOI/MOU/X-Board/MOP
Topic: Last I2C byte is ignored
Replies: 7
Views: 11743

Last I2C byte is ignored

I use the following C code but the last byte seems to be ignored. Instead of "Hello" the display is "Hell". Any ideas? Am I giving a proper STOP command? SDA = 0; // send Start sendByte( 0x50 ); // send address + read/*write = master writes sendByte( 0xFE ); // send LCD command prefix sendByte( 0x58...
by sthudium
Tue Mar 25, 2008 3:25 pm
Forum: MOC/MOS/MOI/MOU/X-Board/MOP
Topic: I2C clock rate
Replies: 1
Views: 5857

I2C clock rate

I bought a MOI-AL202C-FW, which has a I2C interface. I know your RS-232 displays support only 9600 and 19200 baud. Is there any restriction like that for the I2C models? I am assuming that the MOI-AL202C-FW will work with any clock at or below 100 kbps, which is the typical upper limit for I2C devic...
by sthudium
Wed Mar 12, 2008 3:31 pm
Forum: MOC/MOS/MOI/MOU/X-Board/MOP
Topic: Where is MOI guide
Replies: 3
Views: 9617

MOI-AL202C-FW pinout

OK, I understand that the MOS guide will help me with my MOI board, but what about I2C pinout? Where do I connect clock, data, gnd, and Vcc?

Thanks,
Steve
by sthudium
Thu Mar 06, 2008 4:09 pm
Forum: MOC/MOS/MOI/MOU/X-Board/MOP
Topic: Where is MOI guide
Replies: 3
Views: 9617

Where is MOI guide

I bought a MOI-AL202C-FW. How do I get the manual/guide? I've read that the corresponding MOS guide is useful, but is there anything that describes how to use I2C?