linuxcnc-esp32 Software Stepping over Ethernet Using ESP32

More
4 years 10 months ago #228836 by eng
You could leave us your ini file and hal file because I'm having errors because you removed the maxvel, maxacc and put the accel.
More
4 years 10 months ago - 4 years 10 months ago #228851 by jzolee
Hi eng, maxvel is not required, it was a remnant of an older code when I tried position tracking mode.
accel = maxacc.
The code is currently running in speed mode, with this acceleration following the speed command. I just renamed it, in fact the code only works with one kind of acceleration.

I'm sorry, but I also renamed the io pins in udp.comp:
udp.in.xx
udp.out.xx

ps.
In the code I took advantage of the following features of esp32:

four hardware timers up to 25 ns / tic -> step generation for 3 (4) axes

two cores: one deals only with step generation, the other with everything else

FPU -> fast floating point calculation

High cpu speed (240Mhz)

I think it's worth implementing the code on another microcontroller if it has these capabilities. You may want to take advantage of other capabilities that aren't in ep32.
Last edit: 4 years 10 months ago by jzolee.
More
4 years 10 months ago #228909 by epineh
What would be required to increase the pulse rate to 100KHz for 3 axis ?
Is it a hardware limitation of the esp32?
Cheers.
Russell.
More
4 years 10 months ago #228993 by Cncninja
Hey jzolee, Thanks for the work my w5500 and esp32 both came in but in not sure how to implement your .comp and UDP files above. does the UDP.comp get loaded on the esp32 and the HAL2UDP on the linux pc? Thanks for the info
More
4 years 10 months ago #228996 by pippin88
Couple multiple ESP32 be used to allow faster step rates?
e.g. 1 per axis?
More
4 years 10 months ago #229646 by taylorcmq
this would be a big problem because I would have to have 1 master to receive the UDP and separate it for the other slaves, so I believe that this would cause a high latency and not bring good results!
Time to create page: 0.404 seconds
Powered by Kunena Forum