SPI problem

24 views
Skip to first unread message

Morteza Jaliloghli

unread,
Nov 17, 2020, 10:20:31 AM11/17/20
to BeagleBoard
Dear All,
Last year I bought two beaglebone black and I used them in my project, I wrote my program in python language in cloud 9. I used spi protocol for communication between BBB and DAC(Digital to analog converter).
recently I have bought 5 beaglebone and I copied the same code. At first, It did not recognize spi part, later I reflash with the latest version, After reflashing the beaglebone I found that now beaglebone recognize the SPI part but it is not working and whatever data I send as the input, it is showing zero for the output.
, I saw on the internet, there were several questions related to this problem and I could not find any answer for them. 
Before reflashing, I tried with PUTTY as well. For the test that I did with Putty, it did not recognize the SPI part like Cloud9. The interesting part is that after reflashing, I checked the blink Led with putty, and It did not recognize the GPIO this time.
Thanks for devoting your time, please let me know if you have any idea. 

Best regards,
Mehrdad

Morteza Jaliloghli

unread,
Nov 17, 2020, 10:52:40 AM11/17/20
to BeagleBoard
https://pastebin.com/N70wijbt
before reflashing, I have sent this code. and I had that error, 
After that, the output is just [0]
Thanks for your help.

Morteza Jaliloghli

unread,
Nov 17, 2020, 10:54:30 AM11/17/20
to BeagleBoard
https://pastebin.com/FdNqz7VQ
this is the details of my beaglebone black

On Tuesday, 17 November 2020 at 15:20:31 UTC Morteza Jaliloghli wrote:
Reply all
Reply to author
Forward
0 new messages