IN short, use external hardware or do something cleaver like Peter G, and
reverse polarity. *OR* have an external "switch" that switches the PWM line
off, until you tell it to turn on. simples ?

On Tue, Nov 25, 2014 at 7:26 PM, Miguel Aveiro <
[email protected]> wrote:

>  It's not a kernel driver, I believe it's the processor default mode. You
> can check the processor datasheet:
>
> http://www.ti.com/product/AM3359/datasheet/terminal_description?search=pin,default#sprs717824
>
> If you want to change it earlier than linux, you need to set the pin in
> uboot (as far as I can understand). You can check the list because I know
> that I have already read something about change default IO in BBB. Or
> something about u-boot and gpio, like this:
> http://www.crashcourse.ca/wiki/index.php/U-Boot_on_the_BBB
>
> Hopefully, this can help a little....
>
> Miguel Aveiro
>
> On 25-11-2014 22:28, [email protected] wrote:
>
> thanks, unfortunately didn't work for me.
>
> On Wednesday, 26 November 2014 10:02:27 UTC+11, Peter Gregory wrote:
>>
>> I had the same issue driving RBG Leds.
>> They were starting turned on full force since the PWM was driving high on
>> boot.
>> Changing the polarity worked for me.
>>
>> Is it possible the order of overlays is undoing your changes to
>> bone_pwm_P8_13?
>> Instead of:
>>
>> cape_enable=capemgr.enable_partno=BB-UART1,SPI-4SS,bone_
>> eqep2b,bone_pwm_P8_13,am33xx_pwm
>>
>> Maybe try it with your modifications being the last overlay to load:
>>
>> cape_enable=capemgr.enable_partno=BB-UART1,SPI-4SS,bone_
>> eqep2b,am33xx_pwm,bone_pwm_P8_13
>>
>  --
> 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].
> 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].
> 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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to