analogdevicesinc / TMC-API

TRINAMIC's IC API
MIT License
199 stars 86 forks source link

Ramping examples? #40

Open slimcdk opened 1 year ago

slimcdk commented 1 year ago

Hi there!

Is there examples of how to use the ramping implementation? I have been through a few different approaches, but can't seem to make it work correctly.

trinamic-ASU commented 1 year ago

Hello,

Can you please specify which IC or eval-board you want to have the example for?

Furthermore, please also elaborate what kind of ramping implementation you are looking for? Is it about six-point ramp?

Thank you for your interest in our products.

slimcdk commented 1 year ago

Hello! I'm simply trying to understand how to use the linear ramping defined in tmc/ramp. I'm working on ESPHome integrations for the 2209, 2240 and 2300 driver IC and would like to utilize your ramping to create smooth movement. I'm currently only using the UART interface for control.

FYI, you can see my current work for the TMC2209 here https://github.com/slimcdk/esphome-custom-components/tree/master/esphome/components/tmc2209