Other Parts Discussed in Thread: TIDEP0073
Tool/software: Linux
Hi
I am trying to send a PWM signal using PRU on my BeagleBone Black through a GPIO.
Currently I have rpmsg-pru and pruss driver working correctly and I can play with any firmware/hands on lab without issues.
I would like to be able to control the period/duty cycle of my signal over the rpmsg channel created.
For example:
I would like something like :
echo `GPIO:PERIOD:DUTYCYCLE:ENABLE` > /dev/rpmsg-pru31
Then the PRU firmware will parse this command and send the correct PWM signal to the corresponding GPIO.
Currently I can toggle GPIOs (LEDs) using a simple command :
echo `GPIO:ENABLE` > /dev/rpmsg-pru31
I had a look at but I did not understand quite the process. Do you have a simple PRU firmware that can achieve this behavior ?
Thanks.