TWI <---> Soft-I2C

  • 1
  • 2
  • Page 2 of 2
robert
Benutzer
Avatar
Gender: n/a
Location: Hildesheim / Deutschland
Posts: 249
Registered: 04 / 2006
Subject:

Re: TWI <---> Soft-I2C

 · 
Posted: 07.10.2010 - 15:06  ·  #9
Creepy, we are using it in several applications and it seems to work...
rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: TWI <---> Soft-I2C

 · 
Posted: 07.10.2010 - 18:07  ·  #10
Hello Robert,

Soft-I2C or TWI, which AVR? But there is also a LM75 which works, I think.

rolf
robert
Benutzer
Avatar
Gender: n/a
Location: Hildesheim / Deutschland
Posts: 249
Registered: 04 / 2006
Subject:

Re: TWI <---> Soft-I2C

 · 
Posted: 08.10.2010 - 06:29  ·  #11
Hello Rolf,
we are using TWI with Mega2560.

Robert
mc-electronic
Benutzer
Avatar
Gender: n/a
Location: Sauerland NRW
Posts: 372
Registered: 03 / 2008
Subject:

Re: TWI <---> Soft-I2C

 · 
Posted: 08.10.2010 - 07:03  ·  #12
Just to add one more I2C part, that does not work with TWI: STDS75M
It is a LM75 'drop in' replacement, which temperature readings are more precise and stable.

LM75 before worked fine with TWI, putting in STDS75M the application hung. Switching to Soft I2C solved the problem. (ATMega 2561)

Michael
rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: TWI <---> Soft-I2C

 · 
Posted: 08.10.2010 - 16:32  ·  #13
@all,

the STDS75M is an enhanced LM75. The STDS75M is exactly the same as the LM76. Result:
LM75 is ok with TWI
LM76 is not ok with TWI
STDS75M is not ok with TWI

With XMega TWI there is no problem at all (until now).

rolf
  • 1
  • 2
  • Page 2 of 2
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 10 · Cache Hits: 14   97   111 · Page-Gen-Time: 0.025133s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI