Replies: 6 comments 13 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. |
Beta Was this translation helpful? Give feedback.
-
@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! |
Beta Was this translation helpful? Give feedback.
-
@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! |
Beta Was this translation helpful? Give feedback.
-
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! |
Beta Was this translation helpful? Give feedback.
-
Hi @terjeio, when setting PWM_THRESHOLD_VELOCITY you need to add member "float steps_per_mm" to motor_settings_t here . |
Beta Was this translation helpful? Give feedback.
-
Hey guy! |
Beta Was this translation helpful? Give feedback.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions