I2C bus

resetting I2C bus softwarematically

luxy
 
Avatar
 
Betreff:

I2C bus

 · 
Gepostet: 21.11.2011 - 10:16 Uhr  ·  #1
I have an application using a ATMEGA256 controller.

There are different devices connected to the I2C bus : a realtime clock, an eeprom, a temperature measurement device and ethernet chip

Do you know which commands to send to an I2C bus to the I2C bus when the bus is in a hangup state. I think that some of the devices connected to the I2C bus is sometime going into a hangup state occupying the bus.

Want to have a software reset for the I2C bus, so no power on off.

Luxy
Avra
Schreiberling
Avatar
Geschlecht:
Herkunft: Belgrade, Serbia
Alter: 54
Homepage: rs.linkedin.com/in…
Beiträge: 653
Dabei seit: 07 / 2002
Betreff:

Re: I2C bus

 · 
Gepostet: 21.11.2011 - 21:30 Uhr  ·  #2
If you are doing it with hardware TWI then try the same with software I2C driver and see if it is the same. If still the same, try to find which device hangs the bus and replace it with new one (and try to find such a behavior in device errata documents if hanging repeats). If still problems then try to put just that component on a separate software I2C and see if it hangs or not. As for the software reset, maybe this can help: http://www.embeddedrelated.com/groups/lpc2000/show/39838.php
Gewählte Zitate für Mehrfachzitierung:   0

Registrierte in diesem Topic

Aktuell kein registrierter in diesem Bereich

Die Statistik zeigt, wer in den letzten 5 Minuten online war. Erneuerung alle 90 Sekunden.
MySQL Queries: 8 · Cache Hits: 14   47   61 · Page-Gen-Time: 0.013475s · Speichernutzung: 2 MB · GZIP: ein · Viewport: SMXL-HiDPI