I2C/IIC working on RPI4 8GB?

Mark Murray markm at FreeBSD.org
Wed Apr 28 21:08:01 UTC 2021


On 28 Apr 2021, at 09:19, Emmanuel Vadot <manu at bidouilliste.com> wrote:
> 
> On Wed, 28 Apr 2021 09:01:56 +0100
> Mark Murray <markm at FreeBSD.org <mailto:markm at FreeBSD.org>> wrote:
>> 
>> I took apart the i2c1.dtbo overlay that mentions pins 2, 3, and swapped them, and reassembled the overlay.
> 
> This suggestion is to use i2c over gpio via iicbb, not the i2c
> controller in the SoC.

Er, right :-). I'll consider that approach if I can't get the BSC to work

> According to this document is this just to detect that the slave hold
> the scl line too long so I don't think that this is the problem here.
> If you have a scope or a logic analyzer I suggest you start by using
> it to confirm that when you scan with i2c -s you see something.

As it turns out, my logic analyser arrived today.

This is a perfect project for it :-)

Thanks!

M
--
Mark R V Murray

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 556 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20210428/921a7627/attachment.sig>


More information about the freebsd-arm mailing list