Re: [beagleboard] Maxim Codec and BBB a different way.

2016-05-04 Thread Jack Mitchell
audio-card,cpu { +sound-dai = <>; +}; + +sound_master: simple-audio-card,codec { +sound-dai = <>; + system-clock-frequency = <1200>; +}; +}; H

Re: [beagleboard] Using C to access on board LEDs and GPIO Pins for Beagle Bone Black

2015-06-12 Thread Jack Mitchell
On 10/06/2015 16:30, Brendan Merna wrote: I've hooked up my Beagle Bone Black through the micro USB cable to a computer running Windows 7. I was able to follow a project which involves cross compiling and remote connecting to the Beagle Bone through an the Eclipse Luna environment. It tuns a

Re: [beagleboard] Re: Cross-compiling SDL 1.2 for BBB.

2014-11-05 Thread Jack Mitchell
...@googlegroups.com mailto:beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Jack Mitchell (j...@embed.me.uk) Embedded Systems Engineer Cambridgeshire, UK http://www.embed.me.uk -- -- For more options, visit http://beagleboard.org/discuss --- You

Re: [beagleboard] Beaglebone SPI

2014-07-17 Thread Jack Mitchell
have to find the pinctrl register in the TRM and then match the offset 0x150 to the table and double check that it is SPI. Request help for these trivial questions. Thanks -- Jack Mitchell (j...@embed.me.uk) Embedded Systems Engineer Cambridgeshire, UK http://www.embed.me.uk

Re: [beagleboard] Beaglebone Black libraries for GPIO access in C/C++?

2014-06-04 Thread Jack Mitchell
There is also libsoc [1] [1] https://github.com/jackmitch/libsoc On 03/06/2014 22:45, Jacek Radzikowski wrote: shameless plug https://github.com/piranha32/IOoo /shameless plug j. On Tue, Jun 3, 2014 at 5:42 PM, Tony DiCola t...@tonydicola.com wrote: Sorry if this is a common question, but

Re: [beagleboard] Beaglebone Black libraries for GPIO access in C/C++?

2014-06-03 Thread Jack Mitchell
There is also libsoc [1] [1] https://github.com/jackmitch/libsoc On 03/06/2014 22:45, Jacek Radzikowski wrote: shameless plug https://github.com/piranha32/IOoo /shameless plug j. On Tue, Jun 3, 2014 at 5:42 PM, Tony DiCola t...@tonydicola.com wrote: Sorry if this is a common question, but

Re: [beagleboard] Reset a variable from /proc/interrupts on BBB

2014-05-21 Thread Jack Mitchell
? Thank you in advance. If you're happy using C then libsoc[1] can do this for you in a simple C program. If you wish to do it in another language looking at the gpio code in libsoc will show you the basics of how to do it. Cheers, Jack. [1] https://github.com/jackmitch/libsoc -- Jack

Re: [beagleboard] Tutorial Suggestions.

2014-05-18 Thread Jack Mitchell
On 17/05/2014 22:25, David Farning wrote: it can just be a little hard to find or a little out of date. If you find any out of date articles please email the authors and inform them. They can then put a warning on the article with some version information. -- For more options, visit

Re: [beagleboard] Bitbake Postgres to include libxml2

2014-05-09 Thread Jack Mitchell
On 08/05/2014 20:44, David Hirst wrote: I am trying to bitbake postgresql to allow postgres to parse XML, all the information I can find pertains to --with -libxml which appears to be in the makefile. does anyone know how to force the postgresql recipe to build including libxml or libxml2. I

Re: [beagleboard] Bitbake Postgres to include libxml2

2014-05-08 Thread Jack Mitchell
On 08/05/2014 20:44, David Hirst wrote: I am trying to bitbake postgresql to allow postgres to parse XML, all the information I can find pertains to --with -libxml which appears to be in the makefile. does anyone know how to force the postgresql recipe to build including libxml or libxml2. I

Re: [beagleboard] Providing Easy Access to GPIO and Analog for BBB. Arduino like interface.

2014-04-21 Thread Jack Mitchell
On 17/04/2014 18:57, salman khalid wrote: Hi, I got my BBB few days ago and decided to do something to help the BBB community. I found that accessing GPIO and Analog Interface is a real pain when using Linux and accessing them inside a C application, so I decided to write an arduino

Re: [beagleboard] spi-omap2-mcspi hangs when DMA and PIO are used simultaneously

2014-04-14 Thread Jack Mitchell
. I know TI are shouting from the rooftops about using the mainline kernel at the moment so you might be able to leverage that to get some help. Good luck! Cheers, -- Jack Mitchell (j...@embed.me.uk) Embedded Systems Engineer Cambridgeshire, UK http://www.embed.me.uk -- -- For more

Re: [beagleboard] Phantom Button Presses on Beaglebone White

2014-03-24 Thread Jack Mitchell
Walter, I am afraid PU/PD settings are controlled by device tree, so you will have to use them! You will be able to easily edit your current device tree to change it, assuming you aren't using the default pin state. If you are using the default pin state, then I would strongly recommend

Re: [beagleboard] Debugging Remote C/C++ application with Eclipse and Beaglebone black

2014-03-09 Thread Jack Mitchell
On 09/03/2014 15:41, Gibson Justian wrote: Hi, I am new in using the Eclipse IDE and the Beaglebone Black. I run a debian distribution in the beaglebone black (built from Robert C Nelson's git )and the host machine is the debian gnu linux in Vmware , apparently the application is

Re: [beagleboard] Watching boot without HDMI

2014-03-06 Thread Jack Mitchell
need. A serial cable will do this. A TTL to USB cable will probably be most appropriate for you. -- Jack Mitchell (j...@embed.me.uk) Embedded Systems Engineer Cambridgeshire, UK http://www.embed.me.uk -- -- For more options, visit http://beagleboard.org/discuss --- You received

Re: [beagleboard] GPIO Edge

2014-03-05 Thread Jack Mitchell
BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com mailto:beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Jack Mitchell (j...@embed.me.uk

Re: [beagleboard] Libraries that should be included

2014-02-16 Thread Jack Mitchell
specifically want. If you are interested in programming in C then I can recommend libsoc which supports I2C and GPIO. If you are using Robert Nelsons new debain based images, then this library is already available to you. https://github.com/jackmitch/libsoc Cheers, -- Jack Mitchell (j

Re: [beagleboard] Control hardware from webserver

2014-02-11 Thread Jack Mitchell
interface. The issue isn't really with _who_ turns the LED on and off, that is a application specific decision. The issue is with the ability to control and execute a setuid binary from a possibly insecure, maybe even on the open web application. Cheers, -- Jack Mitchell (j...@embed.me.uk

Re: [beagleboard] Control hardware from webserver

2014-02-10 Thread Jack Mitchell
to the program telling it turn on/off an LED. The C program runs as root and as such has control of the hardware and your webapge never calls the C program, but only sends data on the message bus, so as such it's a bit harder for anyone to do anything untoward. -- Jack Mitchell (j...@embed.me.uk

Re: [beagleboard] using beaglebone black to control an valve

2014-02-07 Thread Jack Mitchell
and executed in a real time deterministic manner. You could also use a bare-metal implementation to gain real-time functionality, or try Xenomai. So the answer is Yes, and No. More research on your behalf is needed into the requirements of your specification. -- Jack Mitchell (j...@embed.me.uk

[beagleboard] libsoc 0.6 - from FOSDEM with love

2014-02-05 Thread Jack Mitchell
--disable-debug) Any comments or questions just let me know. -- Jack Mitchell (j...@embed.me.uk) Embedded Systems Engineer Cambridgeshire, UK http://www.embed.me.uk -- -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed

Re: [beagleboard] Re: BeagleBone Black Audio Cape Buffer Overruns

2014-01-16 Thread Jack Mitchell
On 13/01/14 19:04, Jack Mitchell wrote: On 13/01/2014 18:40, eze_rg wrote: The best temporary solution that worked for me was using SoX for recording audio (instead of the arecord command). I get just a few buffer overruns, once in a while But, definitely, this is not a solution. It would

Re: [beagleboard] Re: BeagleBone Black Audio Cape Buffer Overruns

2014-01-16 Thread Jack Mitchell
get a few hundreds miliseconds of lost audio due to the overruns (per minute), isn't much but it could be better. What files of the source code are you checking? Regards 2014/1/16 Jack Mitchell m...@communistcode.co.uk mailto:m...@communistcode.co.uk On 13/01/14 19:04, Jack Mitchell wrote

[beagleboard] Re: BeagleBone Black Audio Cape Buffer Overruns

2014-01-13 Thread Jack Mitchell
this issue. Regards, Ezequiel Thanks Ezequiel, I'm currently chasing this down at a kernel driver level so will update if I manage to get anywhere. Good (?) to hear that I'm not the only one with problems. -- Jack Mitchell (j...@embed.me.uk) Embedded Systems Engineer http://www.embed.me.uk

[beagleboard] BeagleBone Black Audio Cape Buffer Overruns

2014-01-10 Thread Jack Mitchell
the ALSA buffer is being missed. Does anyone have any input? Cheers, -- Jack Mitchell (j...@embed.me.uk) Embedded Systems Engineer Cambridgeshire, UK http://www.embed.me.uk -- -- For more options, visit http://beagleboard.org/discuss --- You received this message because you

Re: [beagleboard] SPI1.1 not reading data as master

2014-01-09 Thread Jack Mitchell
On 09/01/14 04:39, Peter wrote: Yep you're correct. I found this info in a previous post you may have answered, and it does the job. cheers Peter You should email the blog maintainer asking them to update and/or remove the offending article. Cheers, -- Jack Mitchell (j

Re: [beagleboard] SPI1.1 not reading data as master

2014-01-08 Thread Jack Mitchell
but I know that libsoc works well for interfacing with the SPI bus. https://github.com/jackmitch/libsoc Cheers, -- Jack Mitchell (j...@embed.me.uk) Embedded Systems Engineer Cambridgeshire, UK http://www.embed.me.uk -- -- For more options, visit http://beagleboard.org/discuss

Re: [beagleboard] TFTP from u-boot: slow and buggy

2014-01-08 Thread Jack Mitchell
...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. Which version of u-boot are you using? Could it not also be the ethernet drivers? I would try updating to the latest u-boot version and see if you're still having issues. Cheers, -- Jack Mitchell (j...@embed.me.uk

Re: [beagleboard] How much current can be sourced from BeagleBoneBlack 3.3V pin

2013-12-22 Thread Jack Mitchell
will be your best friend if you're building a cape. -- Jack Mitchell (j...@embed.me.uk) Embedded Systems Engineer http://www.embed.me.uk -- -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group

Re: [beagleboard] non blocking delayed counter

2013-12-19 Thread Jack Mitchell
already attempted. Previous coding attempts are a good start. -- Jack Mitchell (j...@embed.me.uk) Embedded Systems Engineer Cambridgeshire, UK http://www.embed.me.uk -- -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed

[beagleboard] libsoc 0.5: i2c support

2013-12-19 Thread Jack Mitchell
to include_header in configure.ac Cheers, -- Jack Mitchell (j...@embed.me.uk) Embedded Systems Engineer Cambridgeshire, UK http://www.embed.me.uk -- -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups

Re: [beagleboard] non blocking delayed counter

2013-12-19 Thread Jack Mitchell
On 19/12/2013 17:05, Pietro Luigi Carotenuto wrote: BeagleBoard XM, Linux, Narcissus, any counter, any delay. Thank you Il giorno giovedì 19 dicembre 2013 11:06:28 UTC+1, Jack Mitchell ha scritto: On 19/12/13 08:48, Pietro Luigi Carotenuto wrote: Hi, I need to delay

Re: [beagleboard] HMC6352 interface to beaglebone, I2C interface

2013-12-18 Thread Jack Mitchell
://groups.google.com/groups/opt_out. -- Jack Mitchell (j...@embed.me.uk) Embedded Systems Engineer Cambridgeshire, UK http://www.embed.me.uk -- -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group

Re: [beagleboard] Re: Any nice solution ot power 10x BeagleBone Black boards?

2013-12-04 Thread Jack Mitchell
the headers. -- Jack Mitchell (j...@embed.me.uk) Embedded Systems Engineer Cambridgeshire, UK http://www.embed.me.uk -- -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group

Re: [beagleboard] BeagleBone(White) - PWR LED Blinks Once - USB Power - Works fine with Power adapter

2013-11-27 Thread Jack Mitchell
receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Jack Mitchell (j...@embed.me.uk) Embedded Systems Engineer Cambridgeshire, UK http://www.embed.me.uk -- -- For more options, visit http

Re: [beagleboard] SPI1_D0 and SPI1_D1... what's MISO, whats MOSI?

2013-11-27 Thread Jack Mitchell
, INPUT_PULLUP | MODE3 */ 0x198 0x13 /* mcasp0_axr0.spi1_d1, OUTPUT_PULLUP | MODE3 */ 0x19c 0x13 /* mcasp0_ahclkr.spi1_cs0, OUTPUT_PULLUP | MODE3 */ ; }; spi1_d0 is INPUT, hence MISO, spi_d1 is output hence MOSI. Cheers, -- Jack Mitchell (j...@embed.me.uk) Embedded Systems Engineer

Re: [beagleboard] what is the 'd' variable in bitbake recipes?

2013-11-12 Thread Jack Mitchell
from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Jack Mitchell (j...@embed.me.uk) Embedded Systems Engineer Cambridgeshire, UK http://www.embed.me.uk -- -- For more options, visit http

Re: [beagleboard] what is the 'd' variable in bitbake recipes?

2013-11-12 Thread Jack Mitchell
from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Jack Mitchell (j...@embed.me.uk) Embedded Systems Engineer Cambridgeshire, UK http://www.embed.me.uk -- -- For more options, visit http

Re: [beagleboard] BeagleBone Black SPI receive rx fail using the ioctl

2013-11-07 Thread Jack Mitchell
--- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Jack

Re: [beagleboard] Re: BeagleBone userspace SPI interface (spidev) patch

2013-11-06 Thread Jack Mitchell
and table 24-4. It appears that D0/D1 are configurable. I do not care to configure it. I want it to just work the way I wire it, so I want the default. Is D0 MISO or MOSI by default? Cheers, Joe On Wednesday, March 21, 2012 5:09:39 AM UTC-4, Jack Mitchell wrote: Pins 18 and 21

Re: [beagleboard] poll() on a pin returns constantly even though there is no input

2013-10-30 Thread Jack Mitchell
losing any edges. Thanks, sudhir. On Monday, 21 October 2013 17:31:47 UTC-4, Jack Mitchell wrote: Hi Sudhir, If you are not well versed in Linux and C then the speed of your own code will be no faster than using my library with debugging disabled I imagine

Re: [beagleboard] Can't change permissions to make file executable on USB stick

2013-10-24 Thread Jack Mitchell
On 10/24/13 02:49, Alan Condit wrote: I have an 4gb usb stick with the files to be written to my 16gb uSD card. I have a rcn-ee script setup_sdcard.sh to format the sdcard, expand and copy the files to the uSD card. The script is supposed to be executable is not and chmod ugo+x filename

Re: [beagleboard] poll() on a pin returns constantly even though there is no input

2013-10-21 Thread Jack Mitchell
be trivial but I am missing something. I am using POLLIN and it continuously outputs GPIO 117 interrupt occurred even though I have not connected any signals to GPIO 117. More details/analysis done in the original post. Thank you! sudhir. On Friday, 18 October 2013 13:25:09 UTC-4, Jack Mitchell wrote

Re: [beagleboard] poll() on a pin returns constantly even though there is no input

2013-10-18 Thread Jack Mitchell
are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Jack Mitchell (j...@embed.me.uk) Embedded

Re: [beagleboard] Anyone interested in writing or helping with a media playback app?

2013-09-30 Thread Jack Mitchell
On 26/09/13 07:24, Mike Langensiepen wrote: Apologies in advance if this is in the wrong area Is there an app or does anyone fancy giving me a price for writing an app do to the following: Play an ambient audio/video track (whatever format needed) On receiving a trigger input switch to

Re: [beagleboard] How can I improve processing time on BB?

2013-09-26 Thread Jack Mitchell
On 26/09/13 09:47, 서재필 wrote: I'm trying to use Beagle Board for real-time audio-processing. I bought this one because of these clock speed(1Ghz). My algorithm running time is about 0.6 ms for one frame in my computer(window7, 2.6Ghz Quad-core). But when I run my algorithm on