Repository navigation
Replies: 9 comments 16 replies
|
If you are going to use native USB for the main connection it will be a somewhat faster. Other than that it will be comparable to a plain ESP32.
Only this for now: Note that when compiling for the S3 you will have to replace the sdkconfig file with the sdkconfig.s3 file. It is possible to specify which sdconfig file to use but I have not figured out how yet. And use the 4.4 framework, I use 4.4.3 but 4.4.6 or later may be ok too. |
|
@terjeio and @luc-github thank you.
.Frankly 4 steppers is all plain ESP32 can allow due to pin limits on RMT with some sacrifices of other features. Based on the cpu_map file you posted I suspect this is a better candidate @luc-github does ESP32-TFT work with this board and with grblHAL? Thank you! |
|
@terjeio grbHAL is awesome and I really like the S3. I have had lots of issues with clone CP2102 devices on ESP32 devkits. In fact most are clone Silabs devices. I finally got hardware connected and am seeing some issues. X motor receives the step signal but not X direction signal, it will move but strangely faster than expected, but will not reverse X direction. Y doesn't get step signal and I believe there is some fundamental mismatch between pin names for S3, so I haven't tested further. For build 20240420 attached are my cpu_map (customized bdringv4) and my_machine.h I had to add my board to trinamic_if.c and 2209 UART does work and M122 returns valid information from the drivers, also SD card does work. Also maybe gets resolved with other issues but changing $14 does not work as it seems to reset prior to writing to EPROM, so I had to make changes directly in config.h. For build 20241019, I used the same CPU_Map, my_machine.h, but had to comment out Have you tested the S3 with hardware? We really appreciate your hard work! |
Hi @terjeio, thank you. I'm still looking into this. In the past I've used Hybrid mode and set TMC2209_TPWM_THRS (TPWMTHRS) per the calculator. When TSTEP is > TPWMTHRS it goes to spreadcycle. Also I set TMC2209_COOLSTEP_THRS (TCOOLTHRS) as this controls the lower speed for coolstep and when stallguard diag works even though I don't use sensorless, but the datasheet says coolstep at low speed is not accurate, so I believe a non-zero setting is preferred and higher than TPWMTHRS. So I use 100 for TCOOLTHRS. Another thing is that you added PWM_THRESHOLD_VELOCITY and I suspect it's intended to take place of TPWMTHRS (with units of speed in mm/min instead of step time)? Thank you! |
|
Hey guy! |
|
Hi @terjeio, so I'm still trying to get all of the S3 working. I figured out you changed the serial port for trinamic UART. I am assuming HAS_BOARD_INIT no longer needs to be defined.? My biggest issue is that now I'm having issues with choosing the correct way to select the spindle. My application is laser. I am using PWM with Spindle Enable for laser. I don't have enough pins for a spindle dir signal and it's not needed for laser. In my_machine.h I have tried this line Also $pins does not report Mist pin (probably flood) pin has the same issue. Thank you! |
|
Hi @terjeio it seems with the latest build M913X2000 instead of setting PWM threshold, will set driver current to 2000 temporarily, then M122i sets it back to whatever was set by $140. I observe this behavior only with GRBL_BUILD 20250114. The correct behavior for M913X2000 adjusts PWM threshold for X Axis with GRBL_BUILD 20240420. Same hardware in both cases. M913X2000 Attempting to test sensorless homing, but found this issue first. |

Uh oh!
There was an error while loading. Please reload this page.
Hi, I've been enjoying ESP32, but am interested in seeing if it can get faster with ESP32 S3 such as this.
https://www.amazon.com/LuatOS-Development-Bluetooth-Interfaces-Compatible/dp/B0CDX87YX4
I believe you may have already started the work, do you have an example board file?
I am planning on using SD card which will occupy IO14,16,17,18. 3 axes with PWM for spindle, spindle enable, mist, and limit switches for all 3 axes, and PDN_UART for TMC2209.
All reactions