Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

i2c

2005-04-10 by djflaechenbrand

Hi
I use an olimex evaboard (LPC2106) and the gcc (Winarm).
I would like to use the I2C interface but it won't work.
ARM should be the master. I have 10K pullups.
first i tried to code it on my own with the datasheet.
then i found the "I2C.ZIP" and the other i2c related files.
same problem:

init pinsel,
init speed,
clear I2CONCLR,
enable,
startcondition,
(the sda line goes low as it should)
thats it.
I2CONSET&0x08 stays zero (no si)
I2STAT stays 0xF8 (no 0x08)

can anybody help? 
mathias




while(I2C_I2STAT!=0x08); 	//Set and wait the start

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.