Cameron Davidson-Pilon
Cameron Davidson-Pilon
Another thing I've measured is the 5V rail during heavy CPU load. Ex: when I start up a bunch of jobs quickly (i.e. busy), my 5V rail drops to ~4.9V...
Thank you @abravalheri I will try that. > I am supposing that here you mean ...rc0 instead of ...r0 Ah yes, I did mean `rc0`.
I haven't seen this problem since, so I suspect it was something odd unique to my setup. I feel this issue can be closed.
FYI this works on older Pis: ``` adapter driver linuxgpiod adapter gpio swclk 20 -chip 0 adapter gpio swdio 21 -chip 0 ```
This is an interesting issue, and I want to agree with your `expected` case. However, I'm also inclined to reject the case `birth_time==death_time` as pathological to lifelines. Based on that...
Hi @schech1, are you using the latest version (0.2.1, check with `pip list`). If not, please upgrade. The RPi5 is supported by adding `chip=2`, ex: `HardwarePWM(..., chip=2)`
Testing on my Rpi5, no, I don't see `lsmod | grep pwm` return anything
hm, try the following in `boot/config.txt` (this is from my RPi5): ``` dtoverlay=pwm-2chan,pin=12,func=4,pin2=13,func2=4 ``` then try the same code, but targeting pin 12. Maybe something is different with the other...
Okay, interesting, something must be different with RPi5 for the original pins. I'll have to investigate later though.
@wayneOS1337 not sure - did you do a reboot? Can you paste here your entire config.txt file?