You have not mentioned which kernel you're using.

On Tue, Jul 26, 2016 at 9:34 AM, <[email protected]> wrote:

> Hello Guys,
>
> I am trying to control the PWM Output over a C++ program. However I cannot
> get it to work. It seems like I am unable to activate the PWM output.
>
> Here is what I already tried:
> I loaded the following capes:
>  0: PF----  -1
>  1: PF----  -1
>  2: PF----  -1
>  3: PF----  -1
>  4: P-O-L-   0 Override Board Name,00A0,Override Manuf,BB-UART1
>  5: P-O-L-   1 Override Board Name,00A0,Override Manuf,BB-UART5
>  6: P-O-L-   2 Override Board Name,00A0,Override Manuf,am33xx_pwm
>  8: P-O-L-   4 Override Board Name,00A0,Override Manuf,BB-PWM0
>  9: P-O-L-   5 Override Board Name,00A0,Override Manuf,BB-PWM1
> 10: P-O-L-   6 Override Board Name,00A0,Override Manuf,BB-PWM2
> After that several pwmchip<number> directories appear in /sys/class/pwm.
> All of those contain a export file which I can use to create pwm0 and in
> some pwmchip's also a pwm1 directory.
> Inside these pwm[01] subfolders are files for duty_cycle, period and
> similar but writing duty_cycle=5000, period=10000 and enable=1 into them
> does not cause any output to occur.
> A run file like in some other tutorials does not exist in our case.
>
> I also tried to follow the instructions of the Derek Molloy book, and
> different guides in this google groups forum. However none of these seem to
> apply to my kernel.
>
> What am I missing? It seems like the outputs are not activated, or
> something similiar? Does anybody know how to get the PWMs to work, and how
> to interface them correctly?
>
>
> Best Regards,
> Phil
>
>
>
> --
> 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/25541a5f-3b5c-4a5d-92fe-3b70bfd8cb48%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/25541a5f-3b5c-4a5d-92fe-3b70bfd8cb48%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CALHSORpeKWqxAx1ce9ouR%3DJKt94gLSNwzMEp%2Bk7v1HDa3RE4sw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to