On Wed, Nov 8, 2017 at 5:23 AM,  <[email protected]> wrote:
> Hello Samuel
>
> I too faced came issues in 4.4 and managed to get PWM working.
>
> Now, I need to implement this in C++. The pwmchipX number keeps on changing
> for my desired PWM channel.
>
> Could you please suggest me a way to overcome this?

Easy:

don't use /sys/pwm/pwmchipX, instead use the /sys/devices directory:

/sys/devices/platform/ocp/48300000.epwmss/48300200.pwm/pwm/pwmchip*/

and ignore the "X"...

https://github.com/beagleboard/pocketbeagle/wiki/Peripherals

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYjyeg16%3D_dK7Nkh2-R2gOEgE4x-hzEEzKT4i7FZW%2BPszw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to