Please share your uEnv and code. An output of the console during boot would 
be helpful as well. I am struggling with the same problem on the Octavo Red 
development board (a PocketBeagle with more stuff). Oscilloscope hooked up 
to SPI_CS1. No pulses when doing a transfer and the signal is low...should 
be high with no activity. I don't believe the pins are mux'd correctly. Or, 
clocks are not being provided to the peripheral. I am used to working with 
QNX using register level operations to mux the pins, turn on the clocks and 
control the SPI bus. That works. Trying out Linux at the moment as an 
experiment.

On Tuesday, February 26, 2019 at 8:16:38 AM UTC-7, Lee wrote:
>
> Hello,
>
> I have been attempting to write C code for using SPI with the BBB. I am 
> manipulating spidev (in my case spidev1.0) with ioctl() however I am unable 
> to get SPI working. All of the libraries I have tried to use with a similar 
> method also don't seem to work (e.g. 
> https://github.com/deeplyembeddedWP/BeagleBone-SPI-Library, 
> https://github.com/photomankc/BeagleBone-Black-Robot-Library/blob/master/motors/l6470.h).
>  
> When I hook up the BBB SPI1 pins to the scope, there is no output.
>
> I have disabled the HDMI boot overlays (audio and video) and enabled the 
> SPI1 overlay. I am able to see signals on the scope with the 
> Python Adafruit_BBIO.SPI library but with this method I have been 
> unsuccessful. Is there something else to setup?
>
> uname -r:
> 4.14.71-ti-r80
>
> Thanks!
>
>
>
>
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/a4d2d14e-a3f9-4b33-a399-2b6f1bf0d56a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to