The waveform is not displayed when using the STM32F4xx Encoder block

5 vues (au cours des 30 derniers jours)
Dam
Dam le 11 Oct 2025 à 16:31
Hello everyone,
I’m currently working on a project to control the speed of a DC motor by embedding code from MATLAB into an STM32F4xx. However, when I started using the Encoder block, it didn’t display any waveform or value during execution — it only shows a constant level of 0.
I’ve already checked the wiring connections and verified that the timer configured for the encoder function is working properly.
I would really appreciate any help or suggestions to solve this issue.
Thank you!

Réponses (0)

Tags

Produits


Version

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by