From nobody Sun Dec 08 04:29:17 2024 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y5X8N3ByXz5g2Mh for ; Sun, 08 Dec 2024 04:29:40 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from midget.dons.net.au (midget.dons.net.au [61.245.145.238]) by mx1.freebsd.org (Postfix) with ESMTP id 4Y5X8N08vYz3yv9 for ; Sun, 8 Dec 2024 04:29:40 +0000 (UTC) (envelope-from darius@dons.net.au) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [IPv6:2403:580d:ae98:0:1d3:8d36:7882:e071]) by midget.dons.net.au (Postfix) with ESMTPSA id A4DAE72DD46; Sun, 08 Dec 2024 14:59:27 +1030 (ACDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dons.net.au; s=default; t=1733632169; bh=KapwP7NOfeRyxfPB2bsljzFIwvS3cPC3deako23B7j0=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=vqNcdUxa77a8770VJr1NN92u+46CnYtOgkjUiMGr8CrjTXOmE0NQ86sCjHO8PYEhb c0DAPAGD3oABa8r0eshWFkMWmRERoaQ7B+7GjDlF/0DQ2gVDHBg2ABAx3OJqa1l/S2 IkGVfDVNMNPwk3wpKGoQcHnQ07c3sp5Kl+qeiTCtqfndg2fwbqmckzS8qyyU7a1Ef7 Gv6WKXF1zz3W8AM80VXF3ENznaR4uFt2d517/AQgO2v2UPSHmpuZexPjgisSKNXMHN q2X5OXkH4QoLz/e11sxDgNxlm5FYXbIa128rVOFvhHCfiY1yczX+lQgvlpmBWRI5gG iAQ4mfd7xqSxg== Content-Type: text/plain; charset=utf-8 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.200.121\)) Subject: Re: DS1307 on rpi4B From: Daniel O'Connor In-Reply-To: Date: Sun, 8 Dec 2024 14:59:17 +1030 Cc: FreeBSD ARM List Content-Transfer-Encoding: quoted-printable Message-Id: <9D78A58D-D0C7-4C5C-AF74-F4FABBAEB6C8@dons.net.au> References: <431FB386-F515-4D77-A855-18055A48E432@dons.net.au> To: =?utf-8?B?6aKo5L6G5pWj5Lq6?= X-Mailer: Apple Mail (2.3826.200.121) X-Rspamd-Action: no action X-Rspamd-Server: midget.dons.net.au X-Spam-Status: No, score=-1.10 X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:4764, ipnet:61.245.144.0/22, country:AU] X-Rspamd-Queue-Id: 4Y5X8N08vYz3yv9 X-Spamd-Bar: ---- > On 8 Dec 2024, at 14:42, =E9=A2=A8=E4=BE=86=E6=95=A3=E4=BA=BA = wrote: > I'm using this module = (https://www.electronicwings.com/sensors-modules/real-time-clock-rtc-ds130= 7-module) and there are R2 and R3 for pull-up on the module. The = registers are connected to 5V. This probably harms RPI4B because the = voltage is 3.3V at RPI4B side. So I removed R2 and R3. That's why = internal pull-up is required. Ah that is unfortunate. There is 3.3V on the 40 pin RPi header you could connect to R2/R3 (and = cut the connection to 5V obviously). -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum