2025-12-21 6:40 PM
Hi there,
I have a motor support both encoder signals(ABZ) and hall signals(ABC) output.
But I checked the DEV Kit and the examples of MCSDK6. Most examples use only one of the position feedback sensors.
And for the MCSDK6 project, I can only configure the encoder and hall signal as a timer input. However, I DIY board can only support TIMER for the encoder and GPIO for the hall.
I am asking for help on how to configure the project so that I can use both the encoder and the hall sensor in the motor with my DIY board.
(I found a document named "Generation and use of Hall correspondence Table.pdf" by ST in Chinese. But I can't understand some details in this file. Is there anything more that can help me to understand this?)
Thank you for your help!
Solved! Go to Solution.
2025-12-22 3:21 AM
The above is from the MCSDK documentation, see if it is useful, the above information is in the section
2025-12-21 9:19 PM - edited 2025-12-21 9:23 PM
Both encoder and hall sensor will do the same purpose of giving the rotor position, encoder being more accurate compared to hall, what is the main purpose of using both?
2025-12-21 10:26 PM
Thanks for your reply.
I also have some questions about that; however, the motor and the schematic are designed as that.
And according to the attachments I uploaded, it seems both position sensors were required sometimes.
And I asked the AI, it replied as below:
Enhanced Startup Reliability: Hall sensors provide definitive initial rotor position (sector), ensuring robust and reliable startup, especially under high inertia or significant static friction loads, where sensorless or open-loop methods might fail.
Redundancy & Fault Tolerance: In safety-critical applications, Hall sensors serve as a simple, reliable backup. If the high-resolution encoder fails, the system can degrade to a basic Hall-sensor-based commutation mode to maintain essential operation.
Avoiding Startup Movement: For systems using incremental encoders, a homing sequence (requiring motor movement) is needed to establish position after power-up. Hall sensors provide immediate absolute sector information at a standstill, eliminating any unwanted initial movement.
2025-12-22 3:21 AM
The above is from the MCSDK documentation, see if it is useful, the above information is in the section
2025-12-23 10:24 PM
Thanks for your patient help.
According to the document you referenced above, it seems the MCSDK project doesn't support both encoder and hall now.