Updated switch/glue patch?
Stefan Bethke
stb at lassitu.de
Tue Dec 27 00:01:02 UTC 2011
Am 27.12.2011 um 00:12 schrieb Stefan Bethke:
>
> Am 26.12.2011 um 23:17 schrieb Adrian Chadd:
>
>> On 26 December 2011 14:13, Stefan Bethke <stb at lassitu.de> wrote:
>>> Am 26.12.2011 um 21:49 schrieb Adrian Chadd:
>>>
>>>> I think I was a bit too quick. It turns out that after a few minutes
>>>> of uptime, I get the same behaviour from your iicbb changes.
>>>
>>> Give me a few moments. I think I've painted myself into a corner with git, so I'm cloning your repo and re-applying my changes against that. Shouldn't take more than an hour, I hope.
>>
>> I messed up something w/ my git tree earlier today. Sorry :(
>
> I see that your TP-WN1043ND.hints has 1 usec delay. Technically that would be too fast; the datasheet says minimum time for SCLK being high and low respectively is 4 microseconds. With the current code, that would be hint.iicbb.0.udelay=2.
>
> I'm building now to test.
With hint.iicbb.0.udelay=2 it's working fine, with the delay down to 1 the switch chip stops being selected as a slave.
Stefan
--
Stefan Bethke <stb at lassitu.de> Fon +49 151 14070811
More information about the freebsd-embedded
mailing list