SDAA116 October 2025 CC2340R5
This BDC motor design implements an external Hall-effect latch to enable precise tracking of the rotational position of the BDC motor. Correct positioning of the TMAG5213 relative to the BDC motor is essential to accurately monitor the motor rotation. As highlighted in the following image, the magnet within the BDC motor must spin such that the poles flip around a center or rotation above the defined Z-axis. Within the CCS project, a GPIO input interrupt is set to increment a counter every time the Hall-effect latch is set to high. Additionally, the Hall-effect latch is powered by a GPIO output, allowing one to disable it when the motor is not actively spinning to minimize power consumption. This Hall-effect based motor position tracking enables more precise motor position tracking than a time-based design. Use of configurable endpoints can be enabled to start and stop motor operation by either setting variables in the code at compile time or though button presses in real time. The window covering project can be configured to operate with other motor position tracking methods by removing the USE_HALL definition.
Figure 4-2 Hall-Effect Latch Magnetic Sensing
Orientation