- Posts: 639
- Thank you received: 234
linuxcnc-esp32 Software Stepping over Ethernet Using ESP32
- Bari
- Offline
- Platinum Member
-
Less
More
5 years 5 months ago #209000
by Bari
Replied by Bari on topic linuxcnc-esp32 Software Stepping over Ethernet Using ESP32
store.mesanet.com/index.php?route=produc...oduct&product_id=311
shows 19 in stock today of the 7i96, they have quantity pricing.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
5 years 5 months ago #209101
by andypugh
I don't think that you need a second processor. PCW has pointed out previously that there are stepper driver chips that accept SPI.
Trinamic offer stepper driver ICs that can handle up to 2A or 60V (sadly not both at the same time) and that can be controlled by SPI or UART.
www.trinamic.com/products/integrated-circuits/#c2378
A few of those on the board, a Pi compute module and a bunch of sockets and you would have an all-in-one solution for stepper motors.
Replied by andypugh on topic linuxcnc-esp32 Software Stepping over Ethernet Using ESP32
Cncninja wrote: My plan is to make a dedicated PCB for the RPI 4 Compute module with dedicated step gen processer whether its an LPC or STM32 etc
I don't think that you need a second processor. PCW has pointed out previously that there are stepper driver chips that accept SPI.
Trinamic offer stepper driver ICs that can handle up to 2A or 60V (sadly not both at the same time) and that can be controlled by SPI or UART.
www.trinamic.com/products/integrated-circuits/#c2378
A few of those on the board, a Pi compute module and a bunch of sockets and you would have an all-in-one solution for stepper motors.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
5 years 5 months ago #209102
by andypugh
(I am assuming that this means that a step-rate update in the 1kHz servo thread would work, and there would be no need for a base thread)
Replied by andypugh on topic linuxcnc-esp32 Software Stepping over Ethernet Using ESP32
andypugh wrote: I don't think that you need a second processor. PCW has pointed out previously that there are stepper driver chips that accept SPI.
(I am assuming that this means that a step-rate update in the 1kHz servo thread would work, and there would be no need for a base thread)
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
5 years 5 months ago #209148
by PCW
Replied by PCW on topic linuxcnc-esp32 Software Stepping over Ethernet Using ESP32
Yes both the STM PowerStep and Trinamic chips have a profile generator
so can run in velocity mode with SPI interface
so can run in velocity mode with SPI interface
- Bari
- Offline
- Platinum Member
-
Less
More
- Posts: 639
- Thank you received: 234
5 years 5 months ago #209193
by Bari
Replied by Bari on topic linuxcnc-esp32 Software Stepping over Ethernet Using ESP32
The point and feature of using the esp32 is that it connects over UDP so there can be a good distance between the motion controller and the stepgens.
If you want minimal parts count then look at AllwinCNC
forum.linuxcnc.org/18-computer/39037-lin...-orange-pi-allwincnc
It has the LCNC motion controller, GPU for GUI and stepgens all in one device. But you'll still need some output protection like you'll find on the Mesa IO boards.
If you want minimal parts count then look at AllwinCNC
forum.linuxcnc.org/18-computer/39037-lin...-orange-pi-allwincnc
It has the LCNC motion controller, GPU for GUI and stepgens all in one device. But you'll still need some output protection like you'll find on the Mesa IO boards.
- scotta
- Offline
- Platinum Member
-
Less
More
- Posts: 959
- Thank you received: 489
5 years 5 months ago #209304
by scotta
Replied by scotta on topic linuxcnc-esp32 Software Stepping over Ethernet Using ESP32
I've had the Trinamic TMC2209's running in velocity mode over UART. Really neat but lacks the internal feedback of the software step generator. Of course counting step pulses on the diag pin or an encoder to close the loop would be solutions. But then needs software or hardware counting modules.
The testing branch of Remora firmware for the LPC1768 has the TMC uart driver support.
The testing branch of Remora firmware for the LPC1768 has the TMC uart driver support.
Time to create page: 0.138 seconds