Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2018 21:47:25 +0900 (JST)
From:      SAITOU Toshihide <toshi@ruby.ocn.ne.jp>
To:        ian@freebsd.org
Cc:        freebsd-arm@freebsd.org
Subject:   Re: SPI start bit (9 bit) for BBB
Message-ID:  <20181231.214725.1482321641373486643.toshi@ruby.ocn.ne.jp>
In-Reply-To: <1546226186.78877.97.camel@freebsd.org>
References:  <20181231.003356.1147810385398844555.toshi@ruby.ocn.ne.jp> <1546226186.78877.97.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 30 Dec 2018 20:16:26 -0700, Ian Lepore <ian@freebsd.org> =

wrote:
> On Mon, 2018-12-31 at 00:33 +0900, SAITOU Toshihide wrote:
>> In 3-line serial protcol, there is a type using additional 1-bit to
>> specify command or data.=A0=A0The BBB can handle this, so I can use =

>> with
>> the following patch (unskillful and maybe side effects exist).=A0=A0=
I
>> hope this will attract someones interest to implement this and also
>> SPI frequency and mode.
>>
>
> Since you are already set up for testing spi on BBB, could you =

> please
> try the attached patch for handling bus speed and mode? If it works
> I'll get it committed.
>
> -- Ian

I confirm that the spi(8) command is functional on BBB now.

     spi -f spigen0.0 -s 1000000 -m 0

I wish that the start bit enable and polarity will be implemented in =

the same way.

--
SAITOU Toshihide



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