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>
index | next in thread | previous in thread | raw e-mail
Hi. FreeBSD SPI support don't have userland interface. You must use device driver for SPI device. But MAX31856 driver isn't exist. Hiroki Mori ----- Original Message ----- > From: Gergely Czuczy <gergely.czuczy@harmless.hu> > To: freebsd-arm@freebsd.org > Cc: > Date: 2017/3/7, Tue 19:31 > Subject: How to use SPI > > Hello, > > I've just got a Raspberry PI3, and I would like to use a couple of Adaruit > MAX31856 breakout boards with it, which are using the SPI bus. I've noticed > that it apparently has kernel level spi drivers: > > # kldstat -v | grep spi > 259 simplebus/bcm2835_spi > 109 spi/spibus > 108 spi/ofw_spibus > > However, I wasn't able to find anything in the userland which would explain > how to use it. > > Currently I'm using a raspbsd image: > > FreeBSD rpi3 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r313109M: Thu Feb 2 16:16:39 > MST 2017 > raspberry@hive.raspbsd.org:/usr/home/brd/rpi3/crochet/work/obj/arm64.aarch64/usr/src/sys/GENERIC > arm64 > > Could you guys please give me a hand on starting using the SPI bus? I've > tried googling around a bit, but unfortunately not much came up. > > Best regards, > Gergely > > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?70974.52425.qm>
