I want to use for PWM generation to control servo motor. The problem i m
facing is :
To enable libpruio i m using this dts file
https://github.com/jadonk/cape-firmware/blob/master/arch/arm/boot/dts/BB-BONE-PRU-01-00A0.dts
To enable the pwm pin i m using cape-universaln
>
> Hi Montag,
>
> Why an external controller when you have a BBB? Anyway, this library seems
> to be compatible with libpruio.
>
> It is a very good velocity controller just give the input from encoders
and tune it once , it will rotate the wheel in many different
ways(fast,slow,rising
>
> Hi Montag, Thanks for your reply :
>
>
> looks like they use both PRUSS for CAP (and PWM) features, so no PRUSS
> left for libpruio. Also it uses beaglebone-universal-io for pinmuxing,
> which is more resource consuming, unflexible and unsave than libpruio
> pinmuxing (and therefor
In my project i want very fast ADC reading method for my distance sensor's
Analog value readings so i read about mmap and tried to implement it and
yeah it was quiet easy for GPIO controlling but i could not find some good
resource for ADC so tried to look up on the web for already written
>
>
>> I am facing some issues in the project you suggested :
> https://github.com/ehayon/BeagleBone-GPIO/blob/master/src/gpio.c
>
in the last function analogRead(PIN p) it always reads the last 12 bits
from the FIFO0DATA register
I am using this code and value is got from reading from this
I want to use quadrature encoders for my project. I m able to get the ticks
counts.
What is currently know is to read the value from the file named "Position"
from the path described in this library
https://github.com/Teknoman117/beaglebot/tree/master/encoders
It uses fstream library to read
For getting the position of my rotatory encoders path given on a github
library(https://github.com/Teknoman117/beaglebot/tree/master/encoders) is :
"/sys/devices/ocp.2/48302000.epwmss/48302180.eqep"
but in my beaglebone there is no such path and i can rahter access this file
using this path