From owner-freebsd-arm@freebsd.org Thu Apr 1 17:38:06 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 E32CF5B11F3 for ; Thu, 1 Apr 2021 17:38:06 +0000 (UTC) (envelope-from nikolay.kostirya@i11.co) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FB9Pp5C6jz4bL7 for ; Thu, 1 Apr 2021 17:38:06 +0000 (UTC) (envelope-from nikolay.kostirya@i11.co) Received: by mailman.nyi.freebsd.org (Postfix) id B08A45B1251; Thu, 1 Apr 2021 17:38:06 +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 B05425B11F2 for ; Thu, 1 Apr 2021 17:38:06 +0000 (UTC) (envelope-from nikolay.kostirya@i11.co) Received: from mx.i11.co (mx.i11.co [159.69.78.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FB9Pn4ps1z4bHm for ; Thu, 1 Apr 2021 17:38:04 +0000 (UTC) (envelope-from nikolay.kostirya@i11.co) Received: from [91.206.111.188] (helo=localhost) by mx.i11.co with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lS1Gd-0000nz-KV for arm@freebsd.org; Thu, 01 Apr 2021 17:38:03 +0000 Date: Thu, 1 Apr 2021 20:38:01 +0300 From: Nick Kostirya To: arm@freebsd.org Subject: SPI and si4463 radio Message-ID: <20210401173801.5021704d@i11.co> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; i386-portbld-freebsd12.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FB9Pn4ps1z4bHm X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[i11.co:s=omicron]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:159.69.78.69]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[159.69.78.69:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[i11.co:+]; DMARC_POLICY_ALLOW(-0.50)[i11.co,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[159.69.78.69:from]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[arm] 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: Thu, 01 Apr 2021 17:38:06 -0000 Hello. I need help with SPI and si4463 radio. si4463 radio works great on Arduino Pro Mini. FreeBSD 12.2 (armv7 r369379) on NanoPi NEO no not work with it. MISO always has the HIGH state. The logical analyser says that values of CLK, MOSI, CS is identical to Arduino. The only difference is that interval between CS and CLK is much bigger on FreeBSD. By the way BMP280 works fine on FreeBSD. What do you think I can be done for si4463? Maybe there are some additional settings for SPI?