On Fri, Mar 25, 2016 at 10:01 AM, Le Costaouec Vincent
<vincent.lecostao...@gmail.com> wrote:
> 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.

Yeah, double check your wires, it works as-is...

root@beaglebone:~# ./spidev_test -D /dev/spidev2.1
spi mode: 0
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
root@beaglebone:~# ./spidev_test -D /dev/spidev2.0
spi mode: 0
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

root@beaglebone:~# cat /proc/cmdline
console=tty0 console=ttyO0,115200n8
bone_capemgr.enable_partno=BB-SPIDEV1 root=/dev/mmcblk0p1
rootfstype=ext4 rootwait coherent_pool=1M quiet cape_universal=enable
root@beaglebone:~# uname -r
4.1.18-ti-r55

root@beaglebone:~# dmesg | grep bone
[    0.000000] Kernel command line: console=tty0
console=ttyO0,115200n8 bone_capemgr.enable_partno=BB-SPIDEV1
root=/dev/mmcblk0p1 rootfstype=ext4 rootwait coherent_pool=1M quiet
cape_universal=enable
[    3.426727] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT, ,BBG115096609'
[    3.426755] bone_capemgr bone_capemgr:
compatible-baseboard=ti,beaglebone-black - #slots=4
[    3.477193] bone_capemgr bone_capemgr: slot #0: No cape found
[    3.537209] bone_capemgr bone_capemgr: slot #1: No cape found
[    3.597174] bone_capemgr bone_capemgr: slot #2: No cape found
[    3.657179] bone_capemgr bone_capemgr: slot #3: No cape found
[    3.662979] bone_capemgr bone_capemgr: enabled_partno PARTNO
'BB-SPIDEV1' VER 'N/A' PR '0'
[    3.662991] bone_capemgr bone_capemgr: slot #4: override
[    3.663006] bone_capemgr bone_capemgr: Using override eeprom data at slot 4
[    3.663021] bone_capemgr bone_capemgr: slot #4: 'Override Board
Name,00A0,Override Manuf,BB-SPIDEV1'
[    3.663322] bone_capemgr bone_capemgr: initialized OK.
[    3.671575] bone_capemgr bone_capemgr: slot #4: dtbo
'BB-SPIDEV1-00A0.dtbo' loaded; overlay id #0
[   11.231817] LUN: removable file:
/var/cache/doc-beaglebone-getting-started/beaglebone-getting-started-2015-12-04.img

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