SLAU958A January 2025 – March 2025 MSPM0G3507
User Control Registers are set of user configurable parameters to control the Motor in real time.
These set of registers can be modified in the application code using pointer variable pUserCtrlRegs. Figure 5-3 shows the set of user Control registers as imported in CSS expression window.
Figure 5-3 User Control Registers in CCS
Debug Mode| Offset | Acronym | Register Name | Section |
|---|---|---|---|
| 0h | SPEED_CTRL | Speed Control Register | Section 5.2.1 |
| 4h | ALGO_DEBUG_CTRL1 | Algorithm Debug Control 1 register | Section 5.2.2 |
| 8h | ALGO_DEBUG_CTRL2 | Algorithm Debug Control 2 register | Section 5.2.3 |
| Ch | ALGO_DEBUG_CTRL3 | Algorithm Debug Control 3 register | Section 5.2.4 |
| 10h | DAC_CTRL | DAC Configuration and Control register | Section 5.2.5 |
Complex bit access types are encoded to fit into small table cells as shown in Table 5-2.
| Access Type | Code | Description |
|---|---|---|
| Read Type | ||
| R | R | Read |
| Write Type | ||
| W | W | Write |
| Reset or Default Value | ||
| -n | Value after reset or the default value | |