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
.
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
...@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
] 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
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
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
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