Re: [beagleboard] Re: [Q] How can I use P9 14 as PWM?

2014-04-02 Thread Cody Lacey
Check pinmux cat /sys/kernel/debug/pwm and post it here. Also cat /sys/kernel/debug/pinctrl/44e10800.pinmux/pins and post it here. On Tue, Apr 1, 2014 at 8:07 PM, Sungjin Chun chu...@castlesoft.co.krwrote: Thank you for your help. pwmchip0 and pwmchip1 2 files are there. Weird thing is

Re: [beagleboard] Re: [Q] How can I use P9 14 as PWM?

2014-04-02 Thread Sungjin Chun
Thanks, first cat /sys/kernel/debug/pwm -- platform/48304100.ecap, 1 PWM device pwm-0 ((null) ): platform/48304200.ehrpwm, 2 PWM devices pwm-0 ((null) ): pwm-1 (PWM_P8_13 ): requested enabled platform/48302200.ehrpwm, 2 PWM devices

[beagleboard] Re: [Q] How can I use P9 14 as PWM?

2014-04-01 Thread Sungjin Chun
Ah, I'm using 3.8.13 kernel on BeagleBone Black On Tuesday, April 1, 2014 6:07:50 PM UTC+9, Sungjin Chun wrote: echo am33x-pwm ...slots echo pwm-test-P9_14 ...slots (yes, I'm not rewrite those file names correctly here) Above does not make PWM work for P9_14 pin. Though there are

Re: [beagleboard] Re: [Q] How can I use P9 14 as PWM?

2014-04-01 Thread Cody Lacey
what are the contents of /sys/class/pwm On Tue, Apr 1, 2014 at 4:25 AM, Sungjin Chun chu...@gmail.com wrote: Ah, I'm using 3.8.13 kernel on BeagleBone Black On Tuesday, April 1, 2014 6:07:50 PM UTC+9, Sungjin Chun wrote: echo am33x-pwm ...slots echo pwm-test-P9_14 ...slots (yes, I'm

Re: [beagleboard] Re: [Q] How can I use P9 14 as PWM?

2014-04-01 Thread Sungjin Chun
Thank you for your help. pwmchip0 and pwmchip1 2 files are there. Weird thing is that after echo pwm-test-P9.. and echo pwm-test-P8..., though there are pwm-test-P9_14 and pwm-test-P8_13, and contents of the directores are same, only P8_13 does show result in oscilloscope but P9_14 does not