Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] LASER / SPINDLE pwm control on teensy 4.1 #25386

Open
GHubensG opened this issue Feb 15, 2023 · 2 comments · May be fixed by #27608
Open

[FR] LASER / SPINDLE pwm control on teensy 4.1 #25386

GHubensG opened this issue Feb 15, 2023 · 2 comments · May be fixed by #27608
Labels
F: CNC / Laser T: Feature Request Features requested by users.

Comments

@GHubensG
Copy link

Is your feature request related to a problem? Please describe.

hi,
I am using marlin 2.1.2 on an SKR 1.4 to control my CO2 laser. I want to upgrade my main board to a Teensy 4.1 to have faster movements because the SKR 1.4 can't handle how much DPI and speed i want.
My problem is the fault message i get;
In file included from Marlin\src\HAL\TEENSY40_41\../../inc/MarlinConfig.h:50:0, from Marlin\src\HAL\TEENSY40_41\HAL.cpp:29: Marlin\src\HAL\TEENSY40_41\../../inc/../HAL/TEENSY40_41/inc/SanityCheck.h:33:4: error: #error "Features requiring Hardware PWM (FAST_PWM_FAN, SPINDLE_LASER_FREQUENCY) are not yet supported on Teensy 4.0/4.1." #error "Features requiring Hardware PWM (FAST_PWM_FAN, SPINDLE_LASER_FREQUENCY) are not yet supported on Teensy 4.0/4.1."

can someone help me to fix this or is this not possible?

Are you looking for hardware support?

Board: Teensy 4.1

Describe the feature you want

Hardware PWM control

Additional context

No response

@GHubensG GHubensG added the T: Feature Request Features requested by users. label Feb 15, 2023
@thisiskeithb
Copy link
Member

can someone help me to fix this or is this not possible?

There's nothing to "fix" since it's not implemented yet:

#error "Features requiring Hardware PWM (FAST_PWM_FAN, SPINDLE_LASER_FREQUENCY) are not yet supported on Teensy 4.0/4.1."

Someone will need to code this feature & submit a PR for it to work on Teensy.

@phizev
Copy link

phizev commented Dec 28, 2024

@GHubensG I've opened a PR which should implement this feature, I do not have a machine with a laser, nor spindle to test with.
I know it's been a while, but if you are still interested in moving forward with changing to a Teensy 4.1 having someone able to test with actual hardware would greatly help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F: CNC / Laser T: Feature Request Features requested by users.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants