JAJSNS6A december 2022 – april 2023 MCF8315A
PRODUCTION DATA
Table 7-49 lists the memory-mapped registers for the System_Status registers. All register offset addresses not listed in Table 7-49 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 | ALGO_STATUS Register (Offset = E4h) [Reset = 00000000h] |
E6h | MTR_PARAMS | System Status Register | MTR_PARAMS Register (Offset = E6h) [Reset = 00000000h] |
E8h | ALGO_STATUS_MPET | System Status Register | ALGO_STATUS_MPET Register (Offset = E8h) [Reset = 00000000h] |
Complex bit access types are encoded to fit into small table cells. Table 7-50 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 7-85 and described in Table 7-51.
Return to the Summary Table.
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 | SYS_INIT_DONE | 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 voltage magnitude. Voltage magnitude applied = VOLT_MAG * 100 / 32768 % |
15-4 | DUTY_CMD | R | 0h | 12-bit value indicating decoded speed command in PWM/Analog mode DUTY_CMD (%) = DUTY_CMD/4096 * 100%. |
3 | SYS_INIT_DONE | R | 0h | 1 indicates device is ready for GUI control 0 indicates firmware is still copying EEPROM to shadow memory |
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 7-86 and described in Table 7-52.
Return to the Summary Table.
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 measured Motor Resistance |
23-16 | MOTOR_BEMF_CONST | R | 0h | 8-bit value indicating measured BEMF constant |
15-8 | MOTOR_L | R | 0h | 8-bit value indicating measured Motor Inductance |
7-0 | RESERVED | R | 0h | Reserved |
ALGO_STATUS_MPET is shown in Figure 7-87 and described in Table 7-53.
Return to the Summary Table.
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 PWM frequency used during BEMF constant measurement |
23-0 | RESERVED | R | 0h | Reserved |