Re: [beagleboard] Debugging Audio Cape configuration

2015-07-05 Thread jrblack
They're sold by a number of vendors (see the wiki for links) but all are out of stock. Looks like it will be months before they get more in. On Sunday, July 5, 2015 at 1:27:14 PM UTC-6, Rick M wrote: > > > > On Jul 5, 2015, at 08:41 , jrb...@colorado.edu wrote: > > > > Or wait 51 more days fo

Re: [beagleboard] Debugging Audio Cape configuration

2015-07-05 Thread jrblack
Thanks Colin! This means that the I2C protocol running on pins P9_19 and P9_20 (19 SCL, 20 SDA) is required to complete before the BBB will send audio data on P9_28 (AUD_DOUT). Without a cape, I don't see how I can get audio data... perhaps I can use an Arduino and the Wire.h library to act as

Re: [beagleboard] Debugging Audio Cape configuration

2015-07-04 Thread jrblack
Just an update on this: I used a scope without a cape (because I don't own one, and estimated backorder on MCM is 52 days). I verified no life on AUD_DOUT P9_28, but I _do_ see life on pins 19 and 20, which are the I2C SDA and SCL lines. As soon as I commence sound output, the SCL goes live w

Re: [beagleboard] Debugging Audio Cape configuration

2015-07-04 Thread jrblack
Colin, That would be phenomenally helpful! Do you have a scope? I'm curious if you see any life on pin 28 of the P9 header with and without a cape. I suspect you will see data with the cape (because the DAC on the cape board is talking to the BBB's processor), but nothing without it. I unfor

Re: [beagleboard] Debugging Audio Cape configuration

2015-07-04 Thread jrblack
Latest thoughts on this: I think perhaps the problem is that I should not expect to see serial data from P9_28 (I2S serial data out) without an actual Audio Cape. There are probably I2C (control) and I2S (audio content) requirements, such as clocks and so forth, that are required before the B

Re: [beagleboard] Debugging Audio Cape configuration

2015-07-04 Thread jrblack
Well, I'm perplexed then. I have bone47 on two different BBB's and both have been configured the same way: compile dts and put the dtbo in /lib/firmware, disable HDMI (and HDMIN), add BB-BONE-AUDI-02 to the capemgr file so it gets added at startup. But I don't see anything coming out of the AU

Re: [beagleboard] Debugging Audio Cape configuration

2015-07-04 Thread jrblack
On Friday, July 3, 2015 at 9:59:05 PM UTC-6, William Hermans wrote: > > There was a change between 3.8.13-bone68, and 3.8.13-bone69 related to I2C > as I recall. That caused his problem. > Thanks William. I read that thread (which has more to do with Audio Cape's conflicts with the LCD Cape)

Re: [beagleboard] Debugging Audio Cape configuration

2015-07-03 Thread jrblack
On Friday, July 3, 2015 at 7:14:16 PM UTC-6, colin@biocharger.com wrote: > > What distro and version are you using? I know on Debian after a certain > build ( I don't know which ) that BB-BONE-AUDI-02 is installed as part of > the kernel - if this is your case then the dts you are looking a

Re: [beagleboard] Debugging Audio Cape configuration

2015-07-02 Thread jrblack
On Thursday, July 2, 2015 at 10:55:40 AM UTC-6, J Evans wrote: > > > I ran all steps as given by the instructions > > (http://elinux.org/CircuitCo:Audio_Cape_RevB) including installing a > new DT overlay, disabling HDMI and adding to the slots file. > > >Then I try speaker-test -D default:EVM

Re: [beagleboard] C Code to Access GPIOs-Getting permission denied when using open() to access /sys/class/gpio/export

2015-07-02 Thread jrblack
On Thursday, July 2, 2015 at 7:37:17 PM UTC-6, William Hermans wrote: > > *The spawned process inherits the real UID (and effective and saved UIDs) >> from the parent. But here he needs root to write to the GPIO file.* >> >> *This is really only a security issue if there are ever other users on

Re: [beagleboard] C Code to Access GPIOs-Getting permission denied when using open() to access /sys/class/gpio/export

2015-07-02 Thread jrblack
On Wednesday, July 1, 2015 at 3:19:27 PM UTC-6, William Hermans wrote: > > debian@beaglebone:~$ *cat /sys/class/gpio/export* > cat: /sys/class/gpio/export: *Permission denied* > debian@beaglebone:~$ sudo *cat /sys/class/gpio/export* > cat: /sys/class/gpio/export: *Permission denied* > debian@beag

[beagleboard] Unable to get DT overlay to drive I2S pin

2015-07-02 Thread jrblack
I'm sincerely sorry if this is a dupe, but I cannot find the note I intended to post an hour ago... I have followed the instructions here: http://elinux.org/CircuitCo:Audio_Cape_RevB I compiled the given dts file to obtain the dtbo. I have disabled HDMI (and HDMIN). And I've added the new de

[beagleboard] Debugging Audio Cape configuration

2015-07-02 Thread jrblack
I don't have an Audio Cape (everywhere is out of stock) but I just want to test the set up as if I did. I ran all steps as given by the instructions (http://elinux.org/CircuitCo:Audio_Cape_RevB) including installing a new DT overlay, disabling HDMI and adding to the slots file. Then I try spea