On Fri, Mar 25, 2016 at 9:29 AM, Le Costaouec Vincent
<[email protected]> wrote:
> Thank for  this quick answer,
>
> So I have remove the line
> cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G
>
> In addition yes I have connected the PIN P9_29 (spi1_d0) and P9_30 (spi_d1)
> And I'm trying to use the derek molloy program :
> https://github.com/derekmolloy/exploringBB/tree/master/chp08/spi/spidev_test
>
> ./spidev_test -D /dev/spidev2.1
>
> and also
>
> ./spidev_test -D /dev/spidev2.0
>
> However I'm alway having the answer :
> spi mode: 0
> bits per word: 8
> max speed: 500000 Hz (500 KHz)
>
> 00 00 00 00 00 00
> 00 00 00 00 00 00
> 00 00 00 00 00 00
> 00 00 00 00 00 00
> 00 00 00 00 00 00
> 00 00 00 00 00 00
> 00 00
>
> And I'm supposed to received
> bits per word: 8
> max speed: 500000 Hz (500 KHz)
>
> FF FF FF FF FF FF
> 40 00 00 00 00 95
> FF FF FF FF FF FF
> FF FF FF FF FF FF
> FF FF FF FF FF FF
> DE AD BE EF BA AD
> F0 0D
> I received this when I do that with SPI0 and connected P9_18(spi0_d0) and
> P9_21(spi0_d1)
>
> So I still don't get where did the problem come.

Compare your cape dts with:

https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-SPIDEV1-00A0.dts

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to