You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to help some people (from the V1Engineering.com forums) find a suitable PWM pin that isn't in use. We thought pin 53 PB14 would work, but it isn't scaling, it is only outputting 3.3V or 0V.
Looking at this variant.cpp file, it looks like it is defined with NOT_ON_PWM. It looks like most of the pins are that way.
But I also noticed that pin 4, which looks like it is for FAN1, is also not defined as a PWM pin (although it says it has a timer).
I can't imagine the sam3x only has 10 PWM outputs. Is it possible for your to enable more PWM outputs on J20 on the Archim (1&2)?
This still appears to be an issue with Archim on Marlin 2.0.7.2.
WIth:
#define SPINDLE_LASER_ENA_PIN 70 // digital pin J20 connector pin22 (PA17 aka digital pin 70)
#define SPINDLE_LASER_PWM_PIN 53 // digital pin - MUST BE HARDWARE PWM J20 connector pin17 (PB14 PWMH2 aka digial pin 53)
Building in release mode
Compiling .pio/build/DUE_archim/src/src/HAL/DUE/DebugMonitor.cpp.o
In file included from Marlin/src/HAL/DUE/../../core/../inc/MarlinConfig.h:49:0,
from Marlin/src/HAL/DUE/../../core/serial.h:24,
from Marlin/src/HAL/DUE/DebugMonitor.cpp:25:
Marlin/src/HAL/DUE/../../core/../inc/SanityCheck.h:3075:8: error: #error "SPINDLE_LASER_PWM_PIN not assigned to a PWM pin."
#error "SPINDLE_LASER_PWM_PIN not assigned to a PWM pin."
^~~~~
In file included from Marlin/src/HAL/DUE/../../core/../inc/MarlinConfig.h:50:0,
from Marlin/src/HAL/DUE/../../core/serial.h:24,
from Marlin/src/HAL/DUE/DebugMonitor.cpp:25:
Marlin/src/HAL/DUE/../../core/../inc/../HAL/DUE/inc/SanityCheck.h:56:4: error: #error "Features requiring Hardware PWM (FAST_PWM_FAN, SPINDLE_LASER_FREQUENCY) are not yet supported on DUE."
#error "Features requiring Hardware PWM (FAST_PWM_FAN, SPINDLE_LASER_FREQUENCY) are not yet supported on DUE."
It's not seeing Pin 53 (aka PB14) as a valid PWM pin...
Ticket is over a year old, can we bump up the priority?
I am trying to help some people (from the V1Engineering.com forums) find a suitable PWM pin that isn't in use. We thought pin 53 PB14 would work, but it isn't scaling, it is only outputting 3.3V or 0V.
Looking at this variant.cpp file, it looks like it is defined with NOT_ON_PWM. It looks like most of the pins are that way.
But I also noticed that pin 4, which looks like it is for FAN1, is also not defined as a PWM pin (although it says it has a timer).
I can't imagine the sam3x only has 10 PWM outputs. Is it possible for your to enable more PWM outputs on J20 on the Archim (1&2)?
@V1EngineeringInc @Allted
The text was updated successfully, but these errors were encountered: