- Thank you received: 0
linuxcnc-esp32 Software Stepping over Ethernet Using ESP32
- BeagleBrainz
- New Member
-
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
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.
Please Log in to join the conversation.
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)
Please Log in to join the conversation.
so can run in velocity mode with SPI interface
Please Log in to join the conversation.
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.
Please Log in to join the conversation.
The testing branch of Remora firmware for the LPC1768 has the TMC uart driver support.
Please Log in to join the conversation.
Please Log in to join the conversation.
scotta wrote: 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.
No serial feedback from the drivers then?
Please Log in to join the conversation.
