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

Update cpu_map.h #677

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update cpu_map.h #677

wants to merge 1 commit into from

Conversation

PNPMICRO
Copy link

No description provided.

@lukasdevilliers
Copy link

Can more choices for the laser PWM frequenccy be included in the CPU_map file please. We are noobs regarding this and only three choices are available. Most of the newer high power lasers stipulate 20 khZ. My new laser state clearly 20khZ to work satisfactory, it will not even fire with the 1.98khz available.

@lukasdevilliers
Copy link

GRBL 1.1f cpu_map.h file as on my system lines 139 to 143. More choices please. I have noticed a version that have a choice for different frequencies via $33, have not tried it, bit wary of it. Only 7,8; 1.96 and 0.98 currently available. Please assist wit 20khz setting

// Prescaled, 8-bit Fast PWM mode.
#define SPINDLE_TCCRA_INIT_MASK ((1<<WGM20) | (1<<WGM21)) // Configures fast PWM mode.
// #define SPINDLE_TCCRB_INIT_MASK (1<<CS20) // Disable prescaler -> 62.5kHz
#define SPINDLE_TCCRB_INIT_MASK (1<<CS21) // 1/8 prescaler -> 7.8kHz (Used in v0.9)
// #define SPINDLE_TCCRB_INIT_MASK ((1<<CS21) | (1<<CS20)) // 1/32 prescaler -> 1.96kHz
// #define SPINDLE_TCCRB_INIT_MASK (1<<CS22) // 1/64 prescaler -> 0.98kHz (J-tech laser)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants