Basic Information:
Printer Model:
Custom Trident-based
MCU / Printerboard:
Octopus Pro 1.1 Stm32h7
Host / SBC
Rasppi 4
klippy.log
klippy(4).log (35.6 KB)
Describe your issue:
…
I’m currently trying to use hardware PWM to control a 4-pin fan- it requires a 25khz pwm frequency to work, which is kind of unsuited for software PWM. All available fan ports are in use, so I turned to other ports on the octopus pro.
I identified PE11 as being a good candidate, having a JST header, a pull-up resistor, etc.
PS_ON is directly tied to PE11 on the MCU
However, when I try to use pe11 as a HW pwm port, I get the following error:
MCU 'mcu' shutdown: Not a valid PWM pin
Once the underlying issue is corrected, use the
"FIRMWARE_RESTART" command to reset the firmware, reload the
config, and restart the host software.
Printer is shutdown
I can use PB10 just fine- but it’s on the RGB header which is just a dupont header, I’d rather use a JST header. Also might eventually want RGB.
The source code appears to indicate that PE11 is suitable for use as a PWM port (linked) and it seems to match the datasheet’s timer definitions.
So, what gives?
