Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Mar 2017 18:58:17 +0900 (JST)
From:      Mori Hiroki <yamori813@yahoo.co.jp>
To:        Gergely Czuczy <gergely.czuczy@harmless.hu>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: How to use SPI
Message-ID:  <70974.52425.qm@web101714.mail.ssk.yahoo.co.jp>
In-Reply-To: <46d1021c-2ca7-d60b-3548-86f064aa8530@harmless.hu>
References:  <46d1021c-2ca7-d60b-3548-86f064aa8530@harmless.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi.=0A=0AFreeBSD SPI support don't have userland interface.=0A=0AYou must u=
se device driver for SPI device. But=A0MAX31856=0Adriver isn't exist.=0A=0A=
Hiroki Mori=0A=0A=0A----- Original Message -----=0A> From: Gergely Czuczy <=
gergely.czuczy@harmless.hu>=0A> To: freebsd-arm@freebsd.org=0A> Cc: =0A> Da=
te: 2017/3/7, Tue 19:31=0A> Subject: How to use SPI=0A> =0A> Hello,=0A> =0A=
> I've just got a Raspberry PI3, and I would like to use a couple of Adarui=
t =0A> MAX31856 breakout boards with it, which are using the SPI bus. I've =
noticed =0A> that it apparently has kernel level spi drivers:=0A> =0A> # kl=
dstat -v | grep spi=0A> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 259 simplebus/bcm28=
35_spi=0A> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 109 spi/spibus=0A> =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 108 spi/ofw_spibus=0A> =0A> However, I wasn't able to f=
ind anything in the userland which would explain =0A> how to use it.=0A> =
=0A> Currently I'm using a raspbsd image:=0A> =0A> FreeBSD rpi3 12.0-CURREN=
T FreeBSD 12.0-CURRENT #0 r313109M: Thu Feb=A0 2 16:16:39 =0A> MST 2017 =0A=
> raspberry@hive.raspbsd.org:/usr/home/brd/rpi3/crochet/work/obj/arm64.aarc=
h64/usr/src/sys/GENERIC =0A> arm64=0A> =0A> Could you guys please give me a=
 hand on starting using the SPI bus? I've =0A> tried googling around a bit,=
 but unfortunately not much came up.=0A> =0A> Best regards,=0A> Gergely=0A>=
 =0A> =0A> _______________________________________________=0A> freebsd-arm@=
freebsd.org mailing list=0A> https://lists.freebsd.org/mailman/listinfo/fre=
ebsd-arm=0A> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@free=
bsd.org"=0A> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?70974.52425.qm>