The waveform is not displayed when using the STM32F4xx Encoder block

조회 수: 11 (최근 30일)
Dam
Dam 2025년 10월 11일 16:31
답변: Swaroop Gopa Srinivas 2025년 10월 20일 15:05
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!

답변 (1개)

Swaroop Gopa Srinivas
Swaroop Gopa Srinivas 대략 6시간 전
Kindly contact the Technical Support and share the relevant files pertaining to the project like simplified/reduced Simulink model and the IOC file. It will be helpful in reproducing the issue faced by you.
Regards,
Swaroop

카테고리

Help CenterFile Exchange에서 Waveform Generation에 대해 자세히 알아보기

태그

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by