Hi,
Raspberry Pi OS Bookworm Lite 64bit with all available updates installed.
I can't get hardware pwm working with rpi_hardware_pwm library. https://github.com/Pioreactor/rpi_hardware_pwm
I'm using chip=2 as instructed on GitHub. I don't think the problem is in the library at all.
I'm using on config.txt
On start I see error:Command: "lsmod | grep pwm" gives nothing.
Command: "pinctrl get 18" gives:Same code works with Raspberry pi 4.
Raspberry Pi OS Bookworm Lite 64bit with all available updates installed.
I can't get hardware pwm working with rpi_hardware_pwm library. https://github.com/Pioreactor/rpi_hardware_pwm
I'm using chip=2 as instructed on GitHub. I don't think the problem is in the library at all.
I'm using
Code:
dtoverlay=pwm
On start I see error:
Code:
clk: couldn't set clk_pwm0 clk rate to 100000000 (-22), current rate: 30720000
Command: "pinctrl get 18" gives:
Code:
18: a3 pd | lo // PIN12/GPIO18 = PWM0_CHAN2
Statistics: Posted by valtsu23 — Mon Mar 04, 2024 8:23 am