punkandsska123 wrote: > I. I am currently developping an I2C protocol to talk with a 24LC512 > memory. > > > My problem is that I can write to memory without any problem but when > I want to read memory at a specific adress I always read 0x00 two time > and other time I read the value a the previous adress. > > For exemple if I write at 0x3000 to 0x3010 > > I want to read at 3004 and I read the value at 3003. > > > If I try In single step it work. > I have some working code for the LPC2128 and the 24LC512 which I can mail you if you contact me off list. Also available here (eeprom.c) http://www.vscp.org/wiki/doku.php?id=the_hulk_ii_-_the_hulk_ii Cheers /Ake -- --- Ake Hedman (YAP - Yet Another Programmer) eurosource, Brattbergavagen 17, 820 50 LOS, Sweden Phone: (46) 657 413430 Cellular: (46) 73 0533 146 Company home: http://www.eurosource.se Kryddor/Te/Kaffe: http://www.brattberg.com Personal homepage: http://www.eurosource.se/akhe Automated home: http://www.vscp.org
Message
Re: [lpc2000] I2C speed problem.
2006-03-31 by Ake Hedman, eurosource
Attachments
- No local attachments were found for this message.