[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-chat] I2C controller: INT flag a bit leaves me confused !
From: |
Vincent Trouilliez |
Subject: |
Re: [avr-chat] I2C controller: INT flag a bit leaves me confused ! |
Date: |
Tue, 3 Mar 2009 05:07:26 +0100 |
On Tue, 3 Mar 2009 03:49:54 +0100
Vincent Trouilliez <address@hidden> wrote:
> As I am trying to debug it presently, my problem right is that simply
> requesting a start operation doesn't seem to succeed,
FIXED !
Last week the mega32 on one of two targets was doing funny things with
itsI/O pins, was faulty. This week the other mega32 on the second
target, is doing the same ! It was failing to drive one of the two I2C
lines ! Replacing it with a brand new chip instantly cured the problem.
I can now read the various status(es? is that English?) on my LCD.
I get 0x08 following the start, which is good, then I get 0x20 and 0x30,
which is good too. Indicates that the slave's address and data byte
have been successfully sent.. but not acknoledged, 'cause I blew the
slave (PCF 8574, I/O expander, cheap way to test that the bus was
working, by lighting LED's via this chip) when supplying it
accidentally with unregulated 12Volts rather than the regulated 5
Volts, oops !!! :-O Poor slave... Will get a new one first thing
tommorow, and hopefully everything should then be working :-)
--
Vince
Re: [avr-chat] I2C controller: INT flag a bit leaves me confused !, Joerg Wunsch, 2009/03/03