Giter Site home page Giter Site logo

Teensy40 Unable to connect about imxrt1062 HOT 8 OPEN

grblhal avatar grblhal commented on August 17, 2024
Teensy40 Unable to connect

from imxrt1062.

Comments (8)

terjeio avatar terjeio commented on August 17, 2024

When compiling with Arduino both methods works for me. Something amiss in platformio.ini? default_envs is set for teensy41, have you changed that?

"Unable to connect" is a bit vague - do you mean unable to communicate? If unable to connect then you may have driver issues, are the ports showing up in the device manager? If so, is connection is refused?

I do not have PlatformIO installed and are not familiar with the ini-file structure so I am afraid I am not of much help regarding that.

from imxrt1062.

Bx3mE avatar Bx3mE commented on August 17, 2024

from imxrt1062.

terjeio avatar terjeio commented on August 17, 2024

I tried with putty too and no response to any input.

If estop is asserted (default if all pins left open) only a real-time request, ?, is responded to.

my goal was to achieve steprate of between 600k steps/s and 4M steps/s to driva a galvo

IMO not possible with a microcontroller. IIRC my FPGA based Smoothstepper (for Mach3) tops out at 1M steps/s.
If the g-code contains a lot of small movements max step rate is limited by the planner buffer size, larger -> faster up to a point. 300KHz is possible, and one user reported a 600KHz step rate after modifying limits (min step pulse with is currently 2.5us) - but that was from a move from a single g-code command.

You have step/dir driven galvos? I made an experiment earlier with a 16 bit I2S D/A converter for analog output instead of step/dir signals - but I did not tune anything to find the max frequency possible. This was with a STM32F446 dev. board. Here is a XY plot on my scope I made then:

dac

from imxrt1062.

Bx3mE avatar Bx3mE commented on August 17, 2024

I made my own Galvo controller that takes step/dir and outputs XY2-100. The protocol is 2MHz and sentences are 20bit so 100000 positions per second, but the galvo is much faster with a setting time of 0.4ms. I am currently giving it a try to ignore any planning and just calculate the number of positions I can manage to send in the timeframe of the upcoming move and then divide the travel of the command move with that number of positions and output as many positions along that path as I can manage. so far it looks good as the setting time outperforms any need for correction of mechanical issues normally present as jitter jerk etc.

from imxrt1062.

Bx3mE avatar Bx3mE commented on August 17, 2024

Would you have any interest in helping out in developing this?

from imxrt1062.

terjeio avatar terjeio commented on August 17, 2024

The protocol is 2MHz and sentences are 20bit so 100000 positions per second

Sounds like a job for the Pi Pico to generate the XY2-100 protocol stream - via a PIO program. We've made a driver for grblHAL for it that outputs step/dir signals via PIO code and shift registers with sub microsecond resolution of the step signals...

Would you have any interest in helping out in developing this?

Interesting, but I have far too much on may hands to get involved.

from imxrt1062.

Bx3mE avatar Bx3mE commented on August 17, 2024

ok Tnks, I got my head straight yesterday and got on track to make a implementation. As I dont think it needs the same kind of complexity as a 3d printer firmware maybe I can get away with a minimalistic implementation. I will push it to OpenGalvo when done...

from imxrt1062.

Bx3mE avatar Bx3mE commented on August 17, 2024

So I came around to making a first pre alpha version of my implementation: https://github.com/opengalvo/OPAL

from imxrt1062.

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.