Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

Interfacing (DSI, CSI, I2C, etc.) • Re: Using PIO-PWM on RPi5

$
0
0
Are you sure you are using the correct pwm "chip"?

Code:

$ ls -l /sys/class/pwmtotal 0lrwxrwxrwx 1 root root 0 Aug  7 13:50 pwmchip0 -> ../../devices/platform/axi/1000120000.pcie/1f0009c000.pwm/pwm/pwmchip0lrwxrwxrwx 1 root root 0 Aug  7 13:50 pwmchip1 -> ../../devices/platform/pwm_pio@12/pwm/pwmchip1
I have a fan fitted, and that accounts for pwmchip0.
Thanks for your help PhilE! You were absolutely right. I was on the wrong chip, should've been on pwmchip1.

Statistics: Posted by dannyboi — Thu Aug 07, 2025 2:33 pm



Viewing all articles
Browse latest Browse all 8041

Trending Articles