Yahoo Groups archive

Lpc2000

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

Thread

I2C speed problem.

I2C speed problem.

2006-03-31 by punkandsska123

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.

Re: [lpc2000] I2C speed problem.

2006-03-31 by Ake Hedman, eurosource

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

Re: [lpc2000] I2C speed problem.

2006-04-03 by George M. Gallant, Jr.

Does anyone know the max voltage that can be applied to a Olimex LPC2214
board.
The schematic labels the input as +5V which is regulated to 3.3.

Thanks,

George

On Fri, 2006-03-31 at 15:12 +0000, 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.
> 
> 
> 
> 
> 
> 
> ______________________________________________________________________
> YAHOO! GROUPS LINKS
> 
> 
>      1.  Visit your group "lpc2000" on the web.
>           
>      2.  To unsubscribe from this group, send an email to:
>          lpc2000-unsubscribe@yahoogroups.com
>           
>      3.  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>         Service.
> 
> 
> 
> ______________________________________________________________________
> 
> 


[Non-text portions of this message have been removed]

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.