Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1517112

Re: Re: Reset implementation for Zynq

From Shubhrajyoti Datta <shubhrajyoti.datta@gmail.com>
Newsgroups linux.kernel
Subject Re: Re: Reset implementation for Zynq
Date 2016-11-08 13:00 +0100
Message-ID <sBdeh-pw-1@gated-at.bofh.it> (permalink)
References <sB8eB-5Nz-15@gated-at.bofh.it> <sBdeh-pw-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Iztok,



On Tue, Nov 8, 2016 at 3:10 PM,  <iztok.jeras@redpitaya.com> wrote:
> Hi Shubhrajyoti,
>
> By lockup state, I mean an undefined/unhandled state of the HW logic state
> machine,
> or something similar in the software driver.
> Based on symptoms I assume it is a HW lockup.
> In practice asking the driver for a new I2C transfer would result in
> nothing happening on the I2C bus (signals remain in hi-Z state).
> Driver or userspace tool reports a transfer error, but I did not copy it.
> And I did not check the state of the driver.
>
> To enter this mode it was enough to connect an oscilloscope probe to the SDA
> signal.
> The capacitance of the probe causes a deep voltage fall, which is quickly
> corrected by the pullup.
> I did not time the glitch, and the shape was partially defined by an I2C
> level shifter.
> The issue can be repeated with about 80% probability.
>
> There are two ways to get back to a working state:
> 1. create a longer zero pulse (about 50ms manual grounding) on SDA
> 2. reset the HW, this was done with a patched driver.
Thanks  for the explaination.
May be recovery mechanism  implementation could be considered.


>
> Regards,
> Iztok Jeras
>
>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: Reset implementation for Zynq Shubhrajyoti Datta <shubhrajyoti.datta@gmail.com> - 2016-11-08 07:40 +0100
  Re: Re: Reset implementation for Zynq Shubhrajyoti Datta <shubhrajyoti.datta@gmail.com> - 2016-11-08 13:00 +0100

csiph-web