From owner-freebsd-arm@freebsd.org Wed Apr 28 21:08:01 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3C38562243A for ; Wed, 28 Apr 2021 21:08:01 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FVrnY1Ctpz3MnQ; Wed, 28 Apr 2021 21:08:01 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from [IPv6:2a02:8011:300b:42:d419:c3a7:b71c:aaa3] (unknown [IPv6:2a02:8011:300b:42:d419:c3a7:b71c:aaa3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: markm) by smtp.freebsd.org (Postfix) with ESMTPSA id 7FF532C0C; Wed, 28 Apr 2021 21:08:00 +0000 (UTC) (envelope-from markm@FreeBSD.org) Content-Type: multipart/signed; boundary="Apple-Mail=_04880BD6-B6E5-4FD5-80AB-70DAE57ECE5A"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: I2C/IIC working on RPI4 8GB? From: Mark Murray In-Reply-To: <20210428101945.67417ef8eba251dcbcb38078@bidouilliste.com> Date: Wed, 28 Apr 2021 22:07:57 +0100 Cc: Mark Millard , freebsd-arm Message-Id: References: <1C2DD11C-B1F6-4C2A-9AB0-5F1553520FF5@FreeBSD.org> <20210426161138.a8f44b6e1134f73a411be57d@bidouilliste.com> <47A634E3-4938-4AFC-9341-E480CEBF67FB@FreeBSD.org> <20210428101945.67417ef8eba251dcbcb38078@bidouilliste.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2021 21:08:01 -0000 --Apple-Mail=_04880BD6-B6E5-4FD5-80AB-70DAE57ECE5A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 28 Apr 2021, at 09:19, Emmanuel Vadot wrote: >=20 > On Wed, 28 Apr 2021 09:01:56 +0100 > Mark Murray > wrote: >>=20 >> I took apart the i2c1.dtbo overlay that mentions pins 2, 3, and = swapped them, and reassembled the overlay. >=20 > 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 --Apple-Mail=_04880BD6-B6E5-4FD5-80AB-70DAE57ECE5A Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 Comment: GPGTools - http://gpgtools.org iQEzBAEBCgAdFiEEyzPHvybPbOpU9MCxQlsJDh9CUqAFAmCJzq0ACgkQQlsJDh9C UqDjlwf9E1uHcGOiqCw0FtPqmu/iRNVFnbY/cP84TRMrYm++e0+io8H8NtGu7Usz QlwpjYU1ZmE0ZptVeZCbhdv5eVfHmvDuLBNGjrP6tzq5U0tUSDeHS9+BUZMv8oqP Fx7x2rC9OM/JIHQeRTusLu7h8CvG3XtCXJwF6aoSGv7SSV7piejXBgt938wA+9xk k1gFxEBCrqipW5kXHO49oVeDRdshMsYWO4SFWmuxJhWZYsByvrZaH62pfBRO6/MP 8Z81dw1wzGrFt3jC2KeeCcki9HMxb2rQbqAp8R4c3O6t8JC0xAs9ZsGhIBXzMI5v 11FbP0Mqay8xljZc4StPHltPdDY55w== =DTOk -----END PGP SIGNATURE----- --Apple-Mail=_04880BD6-B6E5-4FD5-80AB-70DAE57ECE5A--