Re: [beagleboard] PRUSS and accessing ADC registers on Beaglebone Black

2014-05-26 Thread TJF
This is an old thread, but the answer meight still be helpful: Check out libpruio http://beagleboard.org/project/libpruio/. Find the desired code in file src/pruio/pruio_init.p. It enables devices TSC_ADC_SS and GPIOs (if not up before). -- For more options, visit

Re: [beagleboard] PRUSS and accessing ADC registers on Beaglebone Black

2014-03-25 Thread Sungjin Chun
. Regards, Nhan On Sunday, February 23, 2014 3:05:39 AM UTC+1, john3909 wrote: From: Nhan Nguyen chinh...@gmail.com Reply-To: beagl...@googlegroups.com Date: Saturday, February 22, 2014 at 5:40 PM To: beagl...@googlegroups.com Subject: Re: [beagleboard] PRUSS and accessing ADC registers

Re: [beagleboard] PRUSS and accessing ADC registers on Beaglebone Black

2014-02-26 Thread Nhan Nguyen
...@googlegroups.com javascript: Date: Saturday, February 22, 2014 at 5:40 PM To: beagl...@googlegroups.com javascript: Subject: Re: [beagleboard] PRUSS and accessing ADC registers on Beaglebone Black Hi Charles, Thank you very much for your answer. I manage to access it after enable ADC using 'echo BB

Re: [beagleboard] PRUSS and accessing ADC registers on Beaglebone Black

2014-02-26 Thread Charles Steinkuehler
] PRUSS and accessing ADC registers on Beaglebone Black Hi Charles, Thank you very much for your answer. I manage to access it after enable ADC using 'echo BB-ADC /sys/devices/bone.capemgr.*/slots' . Though I could only do it in kernel 3.8, later kernel (3.12) gives an error saying symbol

Re: [beagleboard] PRUSS and accessing ADC registers on Beaglebone Black

2014-02-26 Thread John Syn
To: beagl...@googlegroups.com javascript: Subject: Re: [beagleboard] PRUSS and accessing ADC registers on Beaglebone Black Hi Charles, Thank you very much for your answer. I manage to access it after enable ADC using 'echo BB-ADC /sys/devices/bone.capemgr.*/slots' . Though I could only do

Re: [beagleboard] PRUSS and accessing ADC registers on Beaglebone Black

2014-02-22 Thread Nhan Nguyen
Hi Charles, Thank you very much for your answer. I manage to access it after enable ADC using 'echo BB-ADC /sys/devices/bone.capemgr.*/slots' . Though I could only do it in kernel 3.8, later kernel (3.12) gives an error saying symbol ocp could not be found. I do not really know how to change

Re: [beagleboard] PRUSS and accessing ADC registers on Beaglebone Black

2014-02-19 Thread Charles Steinkuehler
On 2/19/2014 7:43 AM, Nhan Nguyen wrote: Hi everyone, I have been trying to use PRU to read multiple ADC inputs. Unfornately, I am stuck at accessing to the ADC registers (chapter 12 on AM335x technical reference manual). I set the OCP registers, checked the PMAO registers on PRU to