Quote Originally Posted by peteeng View Post
Hi D-M - you say Gcode interpreter and gcode sender. Could you expand what you mean by these? Are you talking about a machine controller? ie the device accepts gcode from a cam system and this is then velocity and motion planned and sent to the motors? Peter
Hi ! PC runs g-code sender - this programs monitors and established USB connection with microcontroller, and sends sends strings of g-code to it. It isnt computing g-code just sending. When microcontroller does it it will be easy to implement other input of g-code like USB stick or SD card. It sends data in no real time fashion.

Microcontroller will to this job in real time fashion, then it will send with only SPI commands (no step/dir) to motor controllers (in this case tmc5160). Standard in other solutions is to configure them by spi but then use step/dir to controll motors.