Part Number: AM5728
Other Parts Discussed in Thread: TMDSEVM572X
Tool/software: Linux
we have LED's connected to ehrpwm1a,ehrpwm1b and ehrpwm3a, using pinmux tool generated files, updated the mux_data.h in the respective u boot folder to configure the padconf register, and enabled the corresponding pwm's in dts i.e
&epwmssx {
status = "okay";
};
&ehrpwmx {
status = "okay";
};
where x - 1,2,3
upon boot up 3 folders pwmchip0,pwmchip2 and pwmchip4 were created under /sys/class/pwm
After exporting the corresponding pwm device, when I try to write to any of the files like duty_cycle, period, enable, getting error
-sh: echo: write error: Invalid argument, the backlight which is connected to ehrpwm2a is working without any issues,
how to debug further?