Stepper: Callbacks not called when not using a dedicated timer #88821
Labels
area: Stepper
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Describe the bug
When using the stepper API for DRV84xx (and possible others) without the use of a dedicated timer, the callback is not called when the stepper motor has finished turning
To Reproduce
In file
tests/drivers/stepper/drv84xx/api/boards/native_sim.overlay
Remove or comment out the following line:
Run the test:
The test will fail on the callbacks
Expected behavior
Callbacks called in the same manner as when using a dedicated timer.
Impact
ESP32 does not have a suitable timer for the stepper API, so on that platform there is no way to make the stepper motor work with the current API
Logs and console output
handler.log
Environment (please complete the following information):
OS: Manjaro
Toolchain: Zephyr SDK
Main branch @ 0648e49
Additional context
The text was updated successfully, but these errors were encountered: