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.

am5718的ehrpwm时钟



TI工程师您好!

        使用ehrpwm中dts如下

ehrpwm2: pwm@48442200 {
compatible = "ti,pwm-tiehrpwm",
"ti,pwm-tiehrpwm";
#pwm-cells = <3>;

reg = <0x48442200 0x80>;

clocks = <&ehrpwm2_tbclk>, <&l4_root_clk_div>;

clock-names = "tbclk", "fck";
interrupt-parent = <&gic>;
interrupt-name = "ti_pwm_interrupt"; 

interrupt-controller;

interrupts = <209>;
ti,hwmods = "ehrpwm2";

status = "okay";
};

可以正常挂载驱动,执行echo 1 > /sys/class/pwm/pwmchip1/export正常,再执行

echo 2000000 > /sys/class/pwm/pwmchip1/pwm1/period时内核打印错误提示

[  167.655265] 44000000.ocp:L3 Custom Error: MASTER MPU TARGET L4_PER2_P3 (Read): Data Access in Use User mode during Functional access

请问如何处理?谢谢!