From owner-freebsd-arm@freebsd.org Mon May 7 09:11:24 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 37D0CFAC05E for ; Mon, 7 May 2018 09:11:24 +0000 (UTC) (envelope-from freebsd@viruzzz.org) Received: from mail.viruzzz.org (mail.viruzzz.org [IPv6:2001:67c:360:111::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B656272AB7 for ; Mon, 7 May 2018 09:11:23 +0000 (UTC) (envelope-from freebsd@viruzzz.org) Received: from [2001:67c:380:34:8a51:fbff:fe48:d23e] (helo=knuth.cleverfox.ru) by mail.viruzzz.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87 (FreeBSD)) (envelope-from ) id 1fFcAx-000E08-8r for freebsd-arm@freebsd.org; Mon, 07 May 2018 12:11:19 +0300 Subject: Re: SPI slave support To: freebsd-arm@freebsd.org References: <41453b6d-8627-9a22-1b19-1da9c2db4396@viruzzz.org> From: Vladimir Goncharov Message-ID: Date: Mon, 7 May 2018 12:11:19 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 May 2018 09:11:24 -0000 Hello, Daniel. I have a lot of different boards. And I can choose. I have raspberry pi (few versions), Banana PI, Orange pi ONE/PC, BeagleBone Black. As for now, I looking BeagleBone's PRU. Seems to be I will be able to receive data into PRU and then somehow feed it to OS. On 05.05.2018 08:06, O'Connor, Daniel wrote: > >> On 5 May 2018, at 01:06, Vladimir Goncharov wrote: >> Does anybody know is it possible to run SPI in slave mode under FreeBSD? >> I grepped kernel sources but have not found anyHello, Daniel. >> >> I have a lot of different boards. And I can choose. I have raspberry pi >> (few versions), Banana PI, Orange pi ONE/PC, BeagleBone Black. >> >> As for now, I looking BeagleBone's PRU. Seems to be I will be able to >> receive data into PRU and then somehow feed it to OS. >> thing about slave in >> SPI's files. >> >> I need to feed 13MBit/s into userspace process, but it's important to >> use external clock. > What receive hardware do you have? (and what platform) > > That would mostly dictate what your driver solution might be. > > -- > Daniel O'Connor > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C >