This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3352: PWM driver issue

Part Number: AM3352

Tool/software: Linux

Hi All,

           we made a customized board with AM3352processor, we have connected an Light to the PWM controller.  I have followed the steps provided in the link provided bellow

processors.wiki.ti.com/.../Linux_Core_PWM_User's_Guide.

Still Followed are,

1. cat /sys/class/pwm/pwmchip0

2. echo 0 > /sys/class/pwm/pwmchip0/export

3. echo 1 > /sys/class/pwm/pwmchip0/pwm0/enable

4. echo 1000000000 > /sys /class/pwm/pwmchip0/pwm0/period

5. echo val > /sys/class/pwm/pwmchip0/pwm0/duty_cycle

6.  when we try to set the polarity, we can't able to enable(i.e, echo val > /sys/class/pwm/pwmchip0/pwm0/duty_cycle)

When we probe around the pull up resistor it shows active low. We have enabled the Drivers in the linux. I am new to PWM. How to check the PWM operation in am3352 for the below given circuit.

Thanks in advance,

Regards,

Avinash N