From owner-freebsd-arm@freebsd.org Wed Oct 7 09:06:32 2020 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 0327A429C07 for ; Wed, 7 Oct 2020 09:06:32 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4C5pNl3y3qz4ZLw for ; Wed, 7 Oct 2020 09:06:31 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.nyi.freebsd.org (Postfix) id 85EC5429C06; Wed, 7 Oct 2020 09:06:31 +0000 (UTC) Delivered-To: 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 85B204296A8 for ; Wed, 7 Oct 2020 09:06:31 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C5pNl2DDsz4ZPN; Wed, 7 Oct 2020 09:06:30 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=QRmqbG+rsTbJCcroJabuahaue/MYcrfEUh+NeJ/hwVc=; b=FDkKQahi4tn2i0kDyf/Kf0im709r2vtijsENyo1bvuk9pgbGFsPmrooidi1ApxWLTB1e//4RhKSYi7f1X/6vxlMihSFtRFhdt9mYVckJC9uaG7R2ch5QVw0XZtA+ofJgVs6fHPk5MopXCWoB8aAkNw7B7o5P1/1+AhmFLnVsaKKvINimcw6YJHcJS+ItMCMPNUG4xEOzUTB8v0VoBm5NjvwCQnHnqBkoP6a+oAQCYok5aYtwolcn2dv4q/90ncp3XFs4n7S/lhV8xACzfMuCcO841lvfI0mWIkWfBGPRhX3md3lP6wqJnaObYDXs8IAbYfAGGd0AqgRJoTdQ/EyO3w==; Received: from bach.cs.huji.ac.il ([132.65.80.20]) by kabab.cs.huji.ac.il with esmtp id 1kQ5P2-000POq-NJ; Wed, 07 Oct 2020 12:06:28 +0300 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.7\)) Subject: Re: nanopi/allwinner i2c not working. From: Daniel Braniss In-Reply-To: <3eeb74a3-47f1-bf23-bd4a-eae9b5f46daf@FreeBSD.org> Date: Wed, 7 Oct 2020 12:06:28 +0300 Cc: "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <234D06ED-C99F-477E-8D95-492979084E7A@cs.huji.ac.il> <7934CE38-DC3F-450A-A131-19A7F88DA9EC@cs.huji.ac.il> <20201006104119.28f2262d47107d41025d193f@bidouilliste.com> <29A34854-E792-48CE-AF0A-E4C605BDFC3B@cs.huji.ac.il> <6416CA90-AB4C-4F8A-BCF4-7C9E5A4F2F8D@cs.huji.ac.il> <0ba109b4-784f-19ed-e52d-a40b75af872c@FreeBSD.org> <7C27FB6C-BF0D-4DAE-99D0-50849D2FBA5E@cs.huji.ac.il> <43a5d626-634c-2cc2-e8a5-ad4326a2d6e2@FreeBSD.org> <77DC054E-07B2-48F8-8051-C2796EE991B2@cs.huji.ac.il> <260839FF-7297-4FDC-82AC-13797938AC29@cs.huji.ac.il> <9FE1F947-4975-411C-91D1-94C43E5495C8@cs.huji.ac.il> <82ac00f2-0463-3861-dd39-9c079978be27@FreeBSD.org> <3eeb74a3-47f1-bf23-bd4a-eae9b5f46daf@FreeBSD.org> To: Andriy Gapon X-Mailer: Apple Mail (2.3445.9.7) X-Rspamd-Queue-Id: 4C5pNl2DDsz4ZPN X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:378, ipnet:132.64.0.0/13, country:IL] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2020 09:06:32 -0000 > On 7 Oct 2020, at 11:59, Andriy Gapon wrote: >=20 > On 07/10/2020 11:33, Andriy Gapon wrote: >> Perhaps the problem is on the device's side? >=20 >> =46rom here https://www.nxp.com/docs/en/user-guide/141520.pdf > =C2=A7 6.2.4 > However, it may happen that the PN532 does not acknowledge its own = address > immediately after having finished a previous exchange. >=20 > So, perhaps an application level delay is needed? > I am not really familiar with the device and its communication = protocol details, > so maybe I am talking nonsense. there is some black magic involved here :-) i=E2=80=99ll try putting someday, and some other stuff. btw, I have a dtsoto enable the 2nd. 2c but now Isee that the = =E2=80=98official=E2=80=99 one is different, can you priced me with a correct one? and is there a way to lower the i2c speed? thanks, and it=E2=80=99s back to the drawing board for me. danny >=20 > --=20 > Andriy Gapon