SPI 1 Issue in Pocket Beagle Bone

528 views
Skip to first unread message

Rohit Karkala

unread,
Jan 11, 2018, 7:41:03 AM1/11/18
to BeagleBoard
Hello All,

I am using Debian Version 9.2.

I am able to read and write SPI 0 (Pin P1.6, P1.8, P1.10, P1.12) in Pocket Beagle Bone .

But facing issue for read , write  function in SPI 1 (Pin P2.24, P2.26, P2.28, P2.30).

In uEnv.txt i had put

optargs=quiet drm.debug=7 capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
capemgr.enable_partno=BB-SPIDEV0,BB-SPIDEV1



debian@beaglebone:/dev$ ls -al spidev*
crw-rw---- 1 root spi 153, 0 Oct 10 12:07 spidev1.0
crw-rw---- 1 root spi 153, 1 Oct 10 12:07 spidev1.1
crw-rw---- 1 root spi 153, 2 Oct 10 12:07 spidev2.0
crw-rw---- 1 root spi 153, 3 Oct 10 12:07 spidev2.1


Please let me know if anyone can help here.


Jason Kridner

unread,
Jan 11, 2018, 9:56:09 AM1/11/18
to beagl...@googlegroups.com
On Thu, Jan 11, 2018 at 6:41 AM Rohit Karkala <Ro...@devtechm2m.com> wrote:
Hello All,

I am using Debian Version 9.2.

 

I am able to read and write SPI 0 (Pin P1.6, P1.8, P1.10, P1.12) in Pocket Beagle Bone .

But facing issue for read , write  function in SPI 1 (Pin P2.24, P2.26, P2.28, P2.30).

In uEnv.txt i had put

optargs=quiet drm.debug=7 capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
capemgr.enable_partno=BB-SPIDEV0,BB-SPIDEV1

capemgr isn't used by PocketBeagle. You can apply overlays in u-boot using the uEnv.txt, but the optargs related to capemgr will be ignored because capemgr isn't loaded using the PocketBeagle Device tree.

SPIDEV should be loaded by default in the device tree config. You can see where it is specified in the device tree today here:
 



debian@beaglebone:/dev$ ls -al spidev*
crw-rw---- 1 root spi 153, 0 Oct 10 12:07 spidev1.0
crw-rw---- 1 root spi 153, 1 Oct 10 12:07 spidev1.1
crw-rw---- 1 root spi 153, 2 Oct 10 12:07 spidev2.0
crw-rw---- 1 root spi 153, 3 Oct 10 12:07 spidev2.1


Please let me know if anyone can help here.

You need to use spidev2.1 because I used CS!.
 


--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/8c22e808-8713-45d5-8e32-3988fee07897%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages