public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andre Schwarz <andre.schwarz@matrix-vision.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] I2C @ MPC8343
Date: Thu, 10 Apr 2008 14:17:33 +0200	[thread overview]
Message-ID: <47FE055D.5060901@matrix-vision.de> (raw)
In-Reply-To: <47FE13F4.22909.A061CC@w.wegner.astro-kom.de>

Wolfgang,

I have indeed a LM75 on this bus - but it's not adressed.
The same I2C bus works fine on linux-2.6.25 including LM75 and EEPROM.

The oszi shows complete transactions with valid data.
I think it is as software issue.

Thanks,
Andre

w.wegner at astro-kom.de schrieb:
> Hi,
>
> On 10 Apr 2008 at 13:08, Martin Krause wrote:
>   
>>> After some tries (i2c md ..) the bus hangs and no more transactions
>>> can 
>>> be seen on the bus.
>>>       
>> One reason for a hanging bus could be a lost clock pulse. This could
>> happen, if the low->high rise time of the bus signal is longer than
>> the clock pulse width. For testing you could try a lower bus clock 
>> (10 kHz for example).
>>     
>
> sorry if I did not follow the discussion up to here. As I stumbled over
> it yesterday, I just want to give another example how to hang a bus.
>
> There are devices (namely LM75) that claim to be I2C devices but
> do not care about I2C specification. In case of LM75, a read must
> always be 16 bit (2 bytes), in case of reading only 1 byte the device
> does not interpret the missing ACK correctly and, in case the
> last byte read is '0', it will block the bus until some more (worst
> case 8) SCL pulses follow.
>
> Maybe something like this could also happen in your case?
>
> Regards,
> Wolfgang
>
>   



MATRIX VISION GmbH, Talstra?e 16, DE-71570 Oppenweiler  - Registergericht: Amtsgericht Stuttgart, HRB 271090
Gesch?ftsf?hrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080410/73f6157e/attachment.htm 

  reply	other threads:[~2008-04-10 12:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-10  8:37 [U-Boot-Users] I2C @ MPC8343 Andre Schwarz
2008-04-10 11:08 ` Martin Krause
2008-04-10 11:19   ` w.wegner at astro-kom.de
2008-04-10 12:17     ` Andre Schwarz [this message]
2008-04-10 12:13   ` Andre Schwarz
2008-04-10 14:03     ` Martin Krause
2008-04-10 11:33 ` Ben Warren
2008-04-10 12:27   ` Andre Schwarz
2008-04-10 14:09     ` Ben Warren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47FE055D.5060901@matrix-vision.de \
    --to=andre.schwarz@matrix-vision.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox