gin66 / FastAccelStepper

A high speed stepper library for Atmega 168/328p (nano), Atmega32u4, Atmega 2560, ESP32, ESP32S2, ESP32S3, ESP32C3 and Atmel SAM Due
MIT License
286 stars 67 forks source link

i need to output a frequency level of 100khz #108

Closed quangbinhhvac closed 2 years ago

quangbinhhvac commented 2 years ago

Hi gin66, i need to output a frequency level of 100khz for stepper to work with 1/16 micro. but the library is only 25khz i didn't see you listed the STM32 chip. Does this library support STM32 programming via arduino?

gin66 commented 2 years ago

The stm32 is not supported from this library unless someone can provide a patch.

ST advertises support for steppers. Anything useful for you ?

quangbinhhvac commented 2 years ago

yes i know about STM32CubeMX. but I'm self-taught and not a programmer so using STM32CubeMX is quite a bit more difficult than Arduino IDE

quangbinhhvac commented 2 years ago

i need to output a frequency level of 100khz for stepper to work with 1/16 micro. but the library is only 25khz

gin66 commented 2 years ago

The stm32 is not supported from this library unless someone can provide a patch.

quangbinhhvac commented 2 years ago

you don't understand what i mean, i mean when i use ATmega328p and want to output pulse with frequency 100khz to control motor with micro 1/16. Because with the current 25khz frequency I can only put 1/4 . micro