Thanks Peter, 

 I have exercised that option already before posting and somehow it didn't 
work.

Changing the parameters (and recompiling) didn't change the default values, 
so my conclusion is that they might be
 
somehow hard-coded in a kernel driver.
Jan

On Monday, 24 November 2014 09:58:19 UTC+11, [email protected] wrote:
>
> Hi,
>
> I'm trying to use pwm on BBB
> Linux beaglebone 3.8.13-bone50 #1 SMP Tue May 13 13:24:52 UTC 2014 armv7l 
> GNU/Linux
> I have modified uEnv.tx
> ...
>
> cape_enable=capemgr.enable_partno=BB-UART1,SPI-4SS,bone_eqep2b,bone_pwm_P8_13,am33xx_pwm
> ...
> and /etc/default/capemgr
> ...
> # Options to pass to capemgr
> CAPE=SPI-4SS,bone_eqep2b,bone_pwm_P8_13,am33xx_pwm
> ...
>
> after booting I have correctly in slots
>  0: 54:PF--- 
>  1: 55:PF--- 
>  2: 56:PF--- 
>  3: 57:PF--- 
>  4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
>  5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
>  7: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-UART1
> 10: ff:P-O-L Override Board Name,00A0,Override Manuf,bone_pwm_P8_13
> 11: ff:P-O-L Override Board Name,00A0,Override Manuf,am33xx_pwm
> 12: ff:P-O-L Override Board Name,00A0,Override Manuf,SPI-4SS
> 13: ff:P-O-L Override Board Name,00A0,Override Manuf,bone_eqep2b
>
> and pwm works, but,
>
> - after power on the logic level on P8_13 is low (as I want it to be)
> - after that (loading dtc overlay) the logic level on P8_13 become high (I 
> dont want it)
>
> My attempt to modify  /lib/firmware/bone_pwm_P8_13-00A0.dts and then 
> recompiling doesn't effect any of:
> /sys/devices/ocp.3/pwm_test_P8_13.11/ duty, period, polarity, run, ....
>
> As I don't want the motor connected to PWM to run, before the applications 
> takes over the control,
> can anyone help me to achieve it?
>
> Jan
>
>
>
>

-- 
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