Giter Site home page Giter Site logo

Missing step pulse behavior about grbl_esp32 HOT 8 CLOSED

bdring avatar bdring commented on June 17, 2024
Missing step pulse behavior

from grbl_esp32.

Comments (8)

bdring avatar bdring commented on June 17, 2024

Are you using the lastest master branch and the default settings? How long is the drop out.

I can try to reproduce your problem. While experimenting with new features I have seen some of the peripheral APIs appear to block interrupts during function calls. I have not seen that in the current code, but I will look for it.

I am out of town until late next week to take my kids to college (both Colorado State ... go Rams). I will not be able to try anything until I return.

from grbl_esp32.

jimfong1 avatar jimfong1 commented on June 17, 2024

from grbl_esp32.

bdring avatar bdring commented on June 17, 2024

@jimfong1

I am unable to reproduce your problem. I used the same settings and gcode you provided. I can run a stepper motor well past 80KHz before the motor cannot go any faster. I can still hear the steps though.

If I push the speed above what it can handle (100kHz+) I will hear a behavior like what you describe, but will hear/see an occasional pulse.

I should probably figure out a safe MAX_STEP_RATE_HZ, via math from F_STEPPER_TIMER and turn that on.

I only had a little time to look at this. I want to write a gcode torture test I'll take your input into account when writing it. I might also write a $I like command to dump ESP32 setting to make sure those are right.

from grbl_esp32.

jimfong1 avatar jimfong1 commented on June 17, 2024

from grbl_esp32.

bdring avatar bdring commented on June 17, 2024

@jimfong1 I can't see the video, but I was able to reproduce some similar issues. No need to post the video.

I get problems when I use the default of $2=1. That is a step pulse invert. Try changing to $2=0. I don't know how that became the default. It seems like most people would want 0 or 7. 0 is the default in AVR Grbl. I must have typo'd that.

I don't know why it causes that behavior. There is a likely a problem in the code.

Thanks for your help finding this.

from grbl_esp32.

jimfong1 avatar jimfong1 commented on June 17, 2024

from grbl_esp32.

bdring avatar bdring commented on June 17, 2024

Great to hear. I will leave this issue open until I get a chance to update the code.

It is hard to dial in those other times to exact values.

from grbl_esp32.

bdring avatar bdring commented on June 17, 2024

The default file has changed and a note about step pulse invert was added to the readme.md

from grbl_esp32.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.