pigpio icon indicating copy to clipboard operation
pigpio copied to clipboard

Pi 4B and CM4 no PWM on GPIO40

Open floatingloud opened this issue 2 years ago • 3 comments

Hi, On the RPi model 4B and CM4 I get the following. Works okay on Pi 3 / CM3.

root@icx00000d:~# pigs hp 40 100 800000
-41
ERROR: no permission to update GPIO

Thank you in anticipation.

floatingloud avatar Sep 26 '22 11:09 floatingloud

Same result on my pi400. Have you played with the gpio mask option? At least for the pi4b it should default to 'no permission'.

guymcswain avatar Oct 16 '22 15:10 guymcswain

sudo pigpiod -x -1 No longer get this error on pi400.

guymcswain avatar Oct 16 '22 15:10 guymcswain

Raspberry Pi CM4S hardware PWM on GPIO 40 fails silently, i.e. command is accepted, but no PWM created.

floatingloud avatar Nov 16 '22 09:11 floatingloud