SPI start bit (9 bit) for BBB

SAITOU Toshihide toshi at ruby.ocn.ne.jp
Mon Dec 31 12:47:54 UTC 2018


On Sun, 30 Dec 2018 20:16:26 -0700, Ian Lepore <ian at 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.  The BBB can handle this, so I can use 
>> with
>> the following patch (unskillful and maybe side effects exist).  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


More information about the freebsd-arm mailing list