I tried directly by copying and past this one, and I had still the same 
answer. In addition I have tried to monitor the different signal on the 
scope, nothing.
Moreover, nothing new appears on the dmesg.

# dmesg |tail
[   18.828229] using random self ethernet address
[   18.832790] using random host ethernet address
[   18.837256] using host ethernet address: D0:39:72:31:1D:3B
[   18.842633] using self ethernet address: D0:39:72:31:1D:30
[   18.886570] usb0: HOST MAC d0:39:72:31:1d:3b
[   18.909174] usb0: MAC d0:39:72:31:1d:30
[   18.921832] using random self ethernet address
[   18.926391] using random host ethernet address
[   18.983303] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[   18.990066] g_ether gadget: g_ether ready
root@beagle01:~/labs/exploringBB/chp08/spi/spidev_test# dmesg | grep SPI
[    0.000000] Kernel command line: console=ttyO0,115200n8 bone_capemgr.
enable_partno=BB-SPIDEV1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait
[    4.608333] bone_capemgr bone_capemgr: enabled_partno PARTNO 'BB-SPIDEV1' 
VER 'N/A' PR '0'
[    4.628986] bone_capemgr bone_capemgr: slot #4: 'Override Board 
Name,00A0,Override Manuf,BB-SPIDEV1'
[    4.645313] bone_capemgr bone_capemgr: slot #4: dtbo 
'BB-SPIDEV1-00A0.dtbo' loaded; overlay id #0



Le vendredi 25 mars 2016 15:36:22 UTC+1, RobertCNelson a écrit :
>
> On Fri, Mar 25, 2016 at 9:29 AM, Le Costaouec Vincent 
> <vincent.l...@gmail.com <javascript:>> 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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to