Problem with SPI normal state BeagleBone Black

44 views
Skip to first unread message

thots...@gmail.com

unread,
Aug 23, 2018, 8:16:41 AM8/23/18
to BeagleBoard
I have some problem with spi

I use BeagleBone Black to write eprom by using. after it finish writing EPROM and the EPROM is read by other controller there is no problem

but after I reboot controller (BBB still operate) it can not read data from EPROM after i checked with scope 

I saw that some SPI pin act like a ground that make other controller cannot get the data because they always connected together

right now my solution is just setting the pin mode back to gpio 

so is this a normal state pin of SPI?
is there any solution without swapping pin mode?

I'm using kernel 3.8.13-xenomai-r78 with debian version 7.8 and it occured to me too when i was using the newest image debian version 9.4 

evilwulfie

unread,
Aug 23, 2018, 9:17:17 AM8/23/18
to beagl...@googlegroups.com
spi is not really meant to have 2 masters on the same bus.
I am sure you can figure something out using extra gpio pins to tell the beaglebone
when the other master wants access.
--
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/32222182-7273-4b81-9afa-d263b8b488ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages