SLLSFU1A December 2023 – July 2024 MCF8315C
PRODMIX
Table 8-5 lists the memory-mapped registers for the System_Status registers. All register offset addresses not listed in Table 8-5 should be considered as reserved locations and the register contents should not be modified.
| Offset | Acronym | Register Name | Section |
|---|---|---|---|
| E4h | ALGO_STATUS | System Status Register | Section 8.2.1 |
| E6h | MTR_PARAMS | System Status Register | Section 8.2.2 |
| E8h | ALGO_STATUS_MPET | System Status Register | Section 8.2.3 |
Complex bit access types are encoded to fit into small table cells. Table 8-6 shows the codes that are used for access types in this section.
| Access Type | Code | Description |
|---|---|---|
| Read Type | ||
| R | R | Read |
| Reset or Default Value | ||
| -n | Value after reset or the default value | |
ALGO_STATUS is shown in Figure 8-3 and described in Table 8-7.
Return to the Table 8-5.
Status of various system and algorithm parameters
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| VOLT_MAG | |||||||
| R-0h | |||||||
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| VOLT_MAG | |||||||
| R-0h | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| DUTY_CMD | |||||||
| R-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DUTY_CMD | RESERVED | SYS_ENABLE_FLAG | RESERVED | ||||
| R-0h | R-0h | R-0h | R-0h | ||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-16 | VOLT_MAG | R | 0h | 16-bit value indicating applied modulation index. Modulation index (%) = (VOLT_MAG/32768 * 100) % |
| 15-4 | DUTY_CMD | R | 0h | 12-bit value indicating decoded duty command in PWM/freq./analog mode DUTY_CMD (%) = (DUTY_CMD/4096 * 100)%. |
| 3 | RESERVED | R | 0h | Reserved |
| 2 | SYS_ENABLE_FLAG | R | 0h | 1 indicates GUI can control the register 0 indicates GUI is still copying default parameters from shadow memory |
| 1-0 | RESERVED | R | 0h | Reserved |
MTR_PARAMS is shown in Figure 8-4 and described in Table 8-8.
Return to the Table 8-5.
Status of various motor parameters
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| MOTOR_R | MOTOR_BEMF_CONST | ||||||||||||||
| R-0h | R-0h | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| MOTOR_L | RESERVED | ||||||||||||||
| R-0h | R-0h | ||||||||||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-24 | MOTOR_R | R | 0h | 8-bit value indicating MPET measured motor resistance |
| 23-16 | MOTOR_BEMF_CONST | R | 0h | 8-bit value indicating MPET measured BEMF constant |
| 15-8 | MOTOR_L | R | 0h | 8-bit value indicating MPET measured motor inductance |
| 7-0 | RESERVED | R | 0h | Reserved |
ALGO_STATUS_MPET is shown in Figure 8-5 and described in Table 8-9.
Return to the Table 8-5.
Status of various MPET parameters
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| MPET_R_STATUS | MPET_L_STATUS | MPET_KE_STATUS | MPET_MECH_STATUS | MPET_PWM_FREQ | |||
| R-0h | R-0h | R-0h | R-0h | R-0h | |||
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | |||||||
| R-0h | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | |||||||
| R-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | |||||||
| R-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31 | MPET_R_STATUS | R | 0h | Indicates status of resistance measurement |
| 30 | MPET_L_STATUS | R | 0h | Indicates status of inductance measurement |
| 29 | MPET_KE_STATUS | R | 0h | Indicates status of BEMF constant measurement |
| 28 | MPET_MECH_STATUS | R | 0h | Indicates status of mechanical parameter measurement |
| 27-24 | MPET_PWM_FREQ | R | 0h | 4-bit value indicating MPET recommended PWM switching frequency based on electrical time constant |
| 23-0 | RESERVED | R | 0h | Reserved |