Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-12-09 Thread William Hermans
Clay, a bit of advice for you. Stop worrying about how you perceive someone over the internet, whom by the way doesn't know you, and you do not know them yourself. I'm not here to hand hold anyone, and I do answer question for those who ask questions in a way that makes sense to me. But if you've

Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-12-09 Thread clay . gulick
William, just some feedback here. Since my original post, where I clearly explained that I was a noobie to BBB, I haven't found your responses to be helpful. > This just tells me that either a) the person asking the question isn't willing to look, or doesn't know where to look. > As for the

Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-12-09 Thread William Hermans
On Sat, Dec 9, 2017 at 1:01 PM, Dennis Lee Bieber wrote: > > The following is just my viewpoint, and is not meant to be an > attack on > any person. I've not done enough with the BBB (other than running a nasty > benchmark on it and an RPi3 -- and I think the

Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-12-09 Thread William Hermans
On Fri, Dec 8, 2017 at 10:57 PM, wrote: > So, this is what so (fun?) about the BB ecosystem. > > I'm updating to the most recent image, trying to run code that has been > working great for a good long time now, and it fails utterly with the same > issue Nuno is

Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-12-09 Thread Robert Nelson
On Fri, Dec 8, 2017 at 11:57 PM, wrote: > So, this is what so (fun?) about the BB ecosystem. > > I'm updating to the most recent image, trying to run code that has been > working great for a good long time now, and it fails utterly with the same > issue Nuno is

Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-12-09 Thread clay . gulick
So, this is what so (fun?) about the BB ecosystem. I'm updating to the most recent image, trying to run code that has been working great for a good long time now, and it fails utterly with the same issue Nuno is experiencing. I understand William Herman's point of view - for him, this is

Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-10-25 Thread Robert Nelson
On Wed, Oct 25, 2017 at 12:05 PM, wrote: > Hi, > > Definitely a must read about SPI, however with the IoT image ( Debian 9.2 > 2017-10-10 4GB SD IoT ) as is I was not able to configure the pins. what I > did and what I get: > > $config-pin P9.18 spi > P9_18 pinmux file not

[beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-10-25 Thread nuno . melo . f
Hi, Definitely a must read about SPI, however with the IoT image ( Debian 9.2 2017-10-10 4GB SD IoT ) as is I was not able to configure the pins. what I did and what I get:

[beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-06-22 Thread justin . loundagin
I have configured the pins for SPI 0 using the config-pin using the universal cape overlay, however I do not see any spi devices within my /dev/ folder. How do I access spi after I have muxed these pins at runtime? Thanks -- For more options, visit http://beagleboard.org/discuss --- You

Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-01-02 Thread William Hermans
Yeah, I dont know. For me, it's all a moot point. The biggest hurdle to understanding devices on the beaglebone, is first understanding the hardware period. Then you need to understand the subsystems for each device type - On Linux. After that, device trees, and device tree overlays all start to

Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-01-02 Thread lorrianemayfield via BeagleBoard
On Mon, 1/2/17, Greg <soapy-sm...@comcast.net> wrote: Subject: Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless To: "BeagleBoard" <beagleboard@googlegroups.com> Date: Monday, January 2, 2017,

Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-01-02 Thread Greg
Hi William, great inputs and perhaps we can ask Clayton to push these additional details to the repository. There should be a clear delimiter between the current and experimental improvements. I wonder if there is going to be a distinct cut-over to the revised Uboot process? Maybe too soon to

Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-01-01 Thread William Hermans
Ok so here is the quick skinny( untested ) to setup spidev on kernel 4.x. By untested, I mean I have not actually tested the signal generated, or received by the device. I was reading however, there is a "spidev_test" bit of code you can use to test send / receive by shorting MISO to MOSI( I'm

Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-01-01 Thread William Hermans
So, if you think "ah this is confusing . . ." it does get worse. The new future way( I suspect) to load overlays at boot will likely be through uboot. Robert has recently added this functionality into uboot, I've tested it, and it does seem to work great. But I think this is for 4.1.x kernels and

Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-01-01 Thread William Hermans
I meant to say I've not used SPI on any embedded Linux platform. I do have plenty of experience with SPI on bare metal MCU's. On Sun, Jan 1, 2017 at 3:35 PM, Greg wrote: > Nice! I will add this as a reference to my project documentation. > > Regarding the fact that you

Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-01-01 Thread William Hermans
On Sun, Jan 1, 2017 at 2:08 PM, Greg wrote: > Hi William, if you could point to an easily discoverable source which says > that Universal IO is available in the latest images and encouraged to be > used, then you could be correct. > Being able to successfully manipulate

[beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-01-01 Thread Greg
Nice! I will add this as a reference to my project documentation. Regarding the fact that you have to run config-pin after each boot, you can add a section that the config-pin commands can be added to whatever start-up configuration is most appropriate. The way I am doing this currently is to

[beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-01-01 Thread Clayton Gulick
Ok, here's the first draft: https://github.com/claytongulick/beagle_bone_black_spi/blob/master/README.md Corrections and additions are welcome! On Sunday, January 1, 2017 at 8:43:41 AM UTC-6, Greg wrote: > > Hi Clayton, what you have written is correct and the Device Tree is a > significant

Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-01-01 Thread Clayton Gulick
That's a great idea Greg, I'll do that, thanks! On Sun, Jan 1, 2017 at 8:43 AM, Greg wrote: > Hi Clayton, what you have written is correct and the Device Tree is a > significant barrier to entry. > The Universal IO is a good solution to this, and I've had good luck with

Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-01-01 Thread Greg
Hi William, if you could point to an easily discoverable source which says that Universal IO is available in the latest images and encouraged to be used, then you could be correct. Being able to successfully manipulate the SOC multiplexer is fundamental to getting a Beagleboard project off the

Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-01-01 Thread William Hermans
By the way, for me the key to understanding device tree was not to read any of the garbage on the internet about it. But to actually go into several device tree files, then learning about each subsystem used. Experimenting, and all that. Plus I still don't know everything, but do know enough to at

Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-01-01 Thread William Hermans
Just to be clear . . . The Hadron collider in Genva is the biggest engineering "feat" in the world . . .Involving over 10,000 scientists from over 100 countries, and I'm not sure how many engineers. Passed that, it's not surprising the Beaglebone works at all. For instance, you do realize that

[beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2017-01-01 Thread Greg
Hi Clayton, what you have written is correct and the Device Tree is a significant barrier to entry. The Universal IO is a good solution to this, and I've had good luck with it while keeping in mind my requirements to manipulate the Device Tree have been minimal. The Beagleboard is driven by

Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2016-12-31 Thread Robert Nelson
On Dec 31, 2016 6:07 PM, "Clayton Gulick" wrote: Hi William, I got a weird error on my original post, and I couldn't find it anywhere, so I reposted it. If you can find the original, I'll delete one. Thanks! Switch from threads to list all in the Google groups

Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2016-12-31 Thread Clayton Gulick
Hi William, I got a weird error on my original post, and I couldn't find it anywhere, so I reposted it. If you can find the original, I'll delete one. Thanks! On Dec 31, 2016 2:25 PM, "William Hermans" wrote: > Why the repost ? Wasn't it you who alread posted this exact same

Re: [beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2016-12-31 Thread William Hermans
Why the repost ? Wasn't it you who alread posted this exact same information 2 days ago ? On Sat, Dec 31, 2016 at 12:39 PM, Graham wrote: > Clayton: > Thanks for taking the time to post this summary. > --- Graham > > == > > On Saturday, December 31, 2016 at 1:23:13 PM

[beagleboard] Re: SPI on beagle bone black and beagle bone black wireless

2016-12-31 Thread Graham
Clayton: Thanks for taking the time to post this summary. --- Graham == On Saturday, December 31, 2016 at 1:23:13 PM UTC-6, Clayton Gulick wrote: > > I'm posting this here hoping to save others some frustration/pain that > I've gone through as a noobie trying to get SPI working on the beagle