ZHCSPQ3A december 2022 – april 2023 MCF8315A
PRODUCTION DATA
Table 7-13 lists the memory-mapped registers for the Algorithm_Configuration registers. All register offset addresses not listed in Table 7-13 should be considered as reserved locations and the register contents should not be modified.
Complex bit access types are encoded to fit into small table cells. Table 7-14 shows the codes that are used for access types in this section.
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 |
ISD_CONFIG is shown in Figure 7-59 and described in Table 7-15.
Return to the Summary Table.
Register to configure initial speed detect settings
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | ISD_EN | BRAKE_EN | HIZ_EN | RVS_DR_EN | RESYNC_EN | FW_DRV_RESYN_THR | |
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
FW_DRV_RESYN_THR | BRK_MODE | BRK_CONFIG | BRK_CURR_THR | BRK_TIME | |||
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
BRK_TIME | HIZ_TIME | STAT_DETECT_THR | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STAT_DETECT_THR | REV_DRV_HANDOFF_THR | REV_DRV_OPEN_LOOP_CURRENT | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30 | ISD_EN | R/W | 0h | ISD Enable
0h = Disable 1h = Enable |
29 | BRAKE_EN | R/W | 0h | Brake enable
0h = Disable 1h = Enable |
28 | HIZ_EN | R/W | 0h | Hi-Z enable
0h = Disable 1h = Enable |
27 | RVS_DR_EN | R/W | 0h | Reverse Drive Enable
0h = Disable 1h = Enable |
26 | RESYNC_EN | R/W | 0h | Resynchronization Enable
0h = Disable 1h = Enable |
25-22 | FW_DRV_RESYN_THR | R/W | 0h | Minimum Speed threshold to resynchronize to close loop (% of MAX_SPEED)
0h = 5% 1h = 10% 2h = 15% 3h = 20% 4h = 25% 5h = 30% 6h = 35% 7h = 40% 8h = 45% 9h = 50% Ah = 55% Bh = 60% Ch = 70% Dh = 80% Eh = 90% Fh = 100% |
21 | BRK_MODE | R/W | 0h | Brake mode
0h = All three high side FETs turned ON 1h = All three low side FETs turned ON |
20 | BRK_CONFIG | R/W | 0h | Brake configuration
0h = Brake time is used to come out of Brake state 1h = Brake current threshold and Brake time is used to come out of Brake state |
19-17 | BRK_CURR_THR | R/W | 0h | Brake current threshold (A)
0h = 0.0625 A 1h = 0.125 A 2h = 0.1875 A 3h = 0.3125 A 4h = 0.625 A 5h = 1.25 A 6h = 2.5 A 7h = 5.0 A |
16-13 | BRK_TIME | R/W | 0h | Brake time
0h = 10 ms 1h = 50 ms 2h = 100 ms 3h = 200 ms 4h = 300 ms 5h = 400 ms 6h = 500 ms 7h = 750 ms 8h = 1 S 9h = 2 S Ah = 3 S Bh = 4 S Ch = 5 S Dh = 7.5 S Eh = 10 S Fh = 15 S |
12-9 | HIZ_TIME | R/W | 0h | Hi-Z time
0h = 10 ms 1h = 50 ms 2h = 100 ms 3h = 200 ms 4h = 300 ms 5h = 400 ms 6h = 500 ms 7h = 750 ms 8h = 1 s 9h = 2 s Ah = 3 s Bh = 4 s Ch = 5 s Dh = 7.5 s Eh = 10 s Fh = 15 s |
8-6 | STAT_DETECT_THR | R/W | 0h | BEMF threshold to detect if motor is stationary
0h = 50 mV 1h = 75 mV 2h = 100 mV 3h = 250 mV 4h = 500 mV 5h = 750 mV 6h = 1000 mV 7h = 1500 mV |
5-2 | REV_DRV_HANDOFF_THR | R/W | 0h | Speed threshold used to transition to open loop during reverse deceleration (% of MAX_SPEED)
0h = 2.5% 1h = 5% 2h = 7.5% 3h = 10% 4h = 12.5% 5h = 15% 6h = 20% 7h = 25% 8h = 30% 9h = 40% Ah = 50% Bh = 60% Ch = 70% Dh = 80% Eh = 90% Fh = 100% |
1-0 | REV_DRV_OPEN_LOOP_CURRENT | R/W | 0h | Open loop current limit during speed reversal (A)
0h = 0.9375 A 1h = 1.5625 A 2h = 2.1875 A 3h = 3.125 A |
REV_DRIVE_CONFIG is shown in Figure 7-60 and described in Table 7-16.
Return to the Summary Table.
Register to configure reverse drive settings
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | REV_DRV_OPEN_LOOP_ACCEL_A1 | REV_DRV_OPEN_LOOP_ACCEL_A2 | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
REV_DRV_OPEN_LOOP_ACCEL_A2 | ACTIVE_BRAKE_CURRENT_LIMIT | ACTIVE_BRAKE_KP | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
ACTIVE_BRAKE_KP | ACTIVE_BRAKE_KI | ||||||
R/W-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ACTIVE_BRAKE_KI | |||||||
R/W-0h | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30-27 | REV_DRV_OPEN_LOOP_ACCEL_A1 | R/W | 0h | Open loop acceleration coefficient A1 during reverse drive
0h = 0.01 Hz/s 1h = 0.05 Hz/s 2h = 1 Hz/s 3h = 2.5 Hz/s 4h = 5 Hz/s 5h = 10 Hz/s 6h = 25 Hz/s 7h = 50 Hz/s 8h = 75 Hz/s 9h = 100 Hz/s Ah = 250 Hz/s Bh = 500 Hz/s Ch = 750 Hz/s Dh = 1000 Hz/s Eh = 5000 Hz/s Fh = 10000 Hz/s |
26-23 | REV_DRV_OPEN_LOOP_ACCEL_A2 | R/W | 0h | Open loop acceleration coefficient A2 during reverse drive
0h = 0.0 Hz/s2 1h = 0.05 Hz/s2 2h = 1 Hz/s2 3h = 2.5 Hz/s2 4h = 5 Hz/s2 5h = 10 Hz/s2 6h = 25 Hz/s2 7h = 50 Hz/s2 8h = 75 Hz/s2 9h = 100 Hz/s2 Ah = 250 Hz/s2 Bh = 500 Hz/s2 Ch = 750 Hz/s2 Dh = 1000 Hz/s2 Eh = 5000 Hz/s2 Fh = 10000 Hz/s2 |
22-20 | ACTIVE_BRAKE_CURRENT_LIMIT | R/W | 0h | Bus current limit during active braking (A)
0h = 0.3125 A 1h = 0.625 A 2h = 1.25 A 3h = 1.875 A 4h = 2.5 A 5h = 3.125 A 6h = 3.75 A 7h = Reserved |
19-10 | ACTIVE_BRAKE_KP | R/W | 0h | 10-bit value for active braking loop Kp. Kp = ACTIVE_BRAKE_KP / 27 |
9-0 | ACTIVE_BRAKE_KI | R/W | 0h | 10-bit value for active braking loop Ki. Ki = ACTIVE_BRAKE_KI / 29 |
MOTOR_STARTUP1 is shown in Figure 7-61 and described in Table 7-17.
Return to the Summary Table.
Register to configure motor startup settings1
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | MTR_STARTUP | ALIGN_SLOW_RAMP_RATE | ALIGN_TIME | ||||
R/W-0h | R/W-0h | R/W-0h | R/W-0h | ||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
ALIGN_TIME | ALIGN_OR_SLOW_CURRENT_ILIMIT | IPD_CLK_FREQ | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
IPD_CLK_FREQ | IPD_CURR_THR | IPD_RLS_MODE | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
IPD_ADV_ANGLE | IPD_REPEAT | OL_ILIMIT_CONFIG | IQ_RAMP_EN | ACTIVE_BRAKE_EN | REV_DRV_CONFIG | ||
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | ||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30-29 | MTR_STARTUP | R/W | 0h | Motor start-up options
0h = Align 1h = Double Align 2h = IPD 3h = Slow first cycle |
28-25 | ALIGN_SLOW_RAMP_RATE | R/W | 0h | Align, slow first cycle and open loop current ramp rate
0h = 0.1 A/s 1h = 1 A/s 2h = 5 A/s 3h = 10 A/s 4h = 15 A/s 5h = 25 A/s 6h = 50 A/s 7h = 100 A/s 8h = 150 A/s 9h = 200 A/s Ah = 250 A/s Bh = 500 A/s Ch = 1000 A/s Dh = 2000 A/s Eh = 5000 A/s Fh = No Limit A/s |
24-21 | ALIGN_TIME | R/W | 0h | Align time
0h = 10 ms 1h = 50 ms 2h = 100 ms 3h = 200 ms 4h = 300 ms 5h = 400 ms 6h = 500 ms 7h = 750 ms 8h = 1 S 9h = 1.5 S Ah = 2 S Bh = 3 S Ch = 4 S Dh = 5 S Eh = 7.5 S Fh = 10 S |
20-17 | ALIGN_OR_SLOW_CURRENT_ILIMIT | R/W | 0h | Align or slow first cycle current limit (A)
0h = 0.078125 A 1h = 0.15625 A 2h = 0.3125 A 3h = 0.625 A 4h = 0.9375 A 5h = 1.25 A 6h = 1.5625 A 7h = 1.875 A 8h = 2.1875 A 9h = 2.5 A Ah = 2.8125 A Bh = 3.125 A Ch = 3.4375 A Dh = 3.75 A Eh = Reserved Fh = Reserved |
16-14 | IPD_CLK_FREQ | R/W | 0h | IPD Clock Frequency
0h = 50 Hz 1h = 100 Hz 2h = 250 Hz 3h = 500 Hz 4h = 1000 Hz 5h = 2000 Hz 6h = 5000 Hz 7h = 10000 Hz |
13-9 | IPD_CURR_THR | R/W | 0h | IPD Current Threshold (A)
0h = 0.15625 A 1h = 0.3125 A 2h = 0.468 A 3h = 00.625 A 4h = 0.78125 A 5h = 0.9375 A 6h = 1.25 A 7h = 1.5625 A 8h = 1.875 A 9h = 2.291 A Ah = 2.5 A Bh = 2.916 A Ch = 3.125 A Dh = 3.333 A Eh = 3.75 A Fh = 4.166 A 10h = 4.583 A 11h = 5 A 12h = Reserved 13h = Reserved 14h = Reserved 15h = Reserved 16h = Reserved 17h = Reserved 18h = Reserved 19h = Reserved 1Ah = Reserved 1Bh = Reserved 1Ch = Reserved 1Dh = Reserved 1Eh = Reserved 1Fh = Reserved |
8 | IPD_RLS_MODE | R/W | 0h | IPD release mode
0h = Brake 1h = Tristate |
7-6 | IPD_ADV_ANGLE | R/W | 0h | IPD advance angle
0h = 0 deg 1h = 30 deg 2h = 60 deg 3h = 90 deg |
5-4 | IPD_REPEAT | R/W | 0h | Number of times IPD is executed
0h = 1 time 1h = average of 2 times 2h = average of 3 times 3h = average of 4 times |
3 | OL_ILIMIT_CONFIG | R/W | 0h | Open loop current limit configuration
0h = Open loop current limit defined by OL_ILIMIT 1h = Open loop current limit defined by ILIMIT |
2 | IQ_RAMP_EN | R/W | 0h | Iq ramp down after transition to close loop enable
0h = Disable Iq ramp down 1h = Enable Iq ramp down |
1 | ACTIVE_BRAKE_EN | R/W | 0h | Enables active braking during deceleration
0h = Disable Active Brake Reverse Drive 1h = Enable Active Brake Reverse Drive |
0 | REV_DRV_CONFIG | R/W | 0h | Chooses between forward and reverse drive setting for reverse drive
0h = Open loop current, A1, A2 based on forward drive 1h = Open loop current, A1, A2 based on reverse drive |
MOTOR_STARTUP2 is shown in Figure 7-62 and described in Table 7-18.
Return to the Summary Table.
Register to configure motor startup settings2
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | OL_ILIMIT | OL_ACC_A1 | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
OL_ACC_A1 | OL_ACC_A2 | AUTO_HANDOFF_EN | OPN_CL_HANDOFF_THR | ||||
R/W-0h | R/W-0h | R/W-0h | R/W-0h | ||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
OPN_CL_HANDOFF_THR | ALIGN_ANGLE | ||||||
R/W-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SLOW_FIRST_CYC_FREQ | FIRST_CYCLE_FREQ_SEL | THETA_ERROR_RAMP_RATE | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30-27 | OL_ILIMIT | R/W | 0h | Open Loop current limit (A)
0h = 0.078125 A 1h = 0.15625 A 2h = 0.3125 A 3h = 0.625 A 4h = 0.9375 A 5h = 1.25 A 6h = 1.5625 A 7h = 1.875 A 8h = 2.1875 A 9h = 2.5 A Ah = 2.8125 A Bh = 3.125 A Ch = 3.4375 A Dh = 3.75 A Eh = Reserved Fh = Reserved |
26-23 | OL_ACC_A1 | R/W | 0h | Open loop acceleration coefficient A1
0h = 0.01 Hz/s 1h = 0.05 Hz/s 2h = 1 Hz/s 3h = 2.5 Hz/s 4h = 5 Hz/s 5h = 10 Hz/s 6h = 25 Hz/s 7h = 50 Hz/s 8h = 75 Hz/s 9h = 100 Hz/s Ah = 250 Hz/s Bh = 500 Hz/s Ch = 750 Hz/s Dh = 1000 Hz/s Eh = 5000 Hz/s Fh = 10000 Hz/s |
22-19 | OL_ACC_A2 | R/W | 0h | Open loop acceleration coefficient A2
0h = 0.0 Hz/s2 1h = 0.05 Hz/s2 2h = 1 Hz/s2 3h = 2.5 Hz/s2 4h = 5 Hz/s2 5h = 10 Hz/s2 6h = 25 Hz/s2 7h = 50 Hz/s2 8h = 75 Hz/s2 9h = 100 Hz/s2 Ah = 250 Hz/s2 Bh = 500 Hz/s2 Ch = 750 Hz/s2 Dh = 1000 Hz/s2 Eh = 5000 Hz/s2 Fh = 10000 Hz/s2 |
18 | AUTO_HANDOFF_EN | R/W | 0h | Auto Handoff Enable
0h = Disable Auto Handoff (and use OPN_CL_HANDOFF_THR) 1h = Enable Auto Handoff |
17-13 | OPN_CL_HANDOFF_THR | R/W | 0h | Open to Close loop Handoff Threshold (% of MAX_SPEED)
0h = 1% 1h = 2% 2h = 3% 3h = 4% 4h = 5% 5h = 6% 6h = 7% 7h = 8% 8h = 9% 9h = 10% Ah = 11% Bh = 12% Ch = 13% Dh = 14% Eh = 15% Fh = 16% 10h = 17% 11h = 18% 12h = 19% 13h = 20% 14h = 22.5% 15h = 25% 16h = 27.5% 17h = 30% 18h = 32.5% 19h = 35% 1Ah = 37.5% 1Bh = 40% 1Ch = 42.5% 1Dh = 45% 1Eh = 47.5% 1Fh = 50% |
12-8 | ALIGN_ANGLE | R/W | 0h | Align Angle
0h = 0 deg 1h = 10 deg 2h = 20 deg 3h = 30 deg 4h = 45 deg 5h = 60 deg 6h = 70 deg 7h = 80 deg 8h = 90 deg 9h = 110 deg Ah = 120 deg Bh = 135 deg Ch = 150 deg Dh = 160 deg Eh = 170 deg Fh = 180 deg 10h = 190 deg 11h = 210 deg 12h = 225 deg 13h = 240 deg 14h = 250 deg 15h = 260 deg 16h = 270 deg 17h = 280 deg 18h = 290 deg 19h = 315 deg 1Ah = 330 deg 1Bh = 340 deg 1Ch = 350 deg 1Dh = Reserved 1Eh = Reserved 1Fh = Reserved |
7-4 | SLOW_FIRST_CYC_FREQ | R/W | 0h | Frequency of first cycle in close loop start-up (% of MAX_SPEED)
0h = 1% 1h = 2% 2h = 3% 3h = 5% 4h = 7.5% 5h = 10% 6h = 12.5% 7h = 15% 8h = 17.5% 9h = 20% Ah = 25% Bh = 30% Ch = 35% Dh = 40% Eh = 45% Fh = 50% |
3 | FIRST_CYCLE_FREQ_SEL | R/W | 0h | First cycle frequency in open loop for align, double align and IPD start-up options
0h = 0 Hz 1h = Defined by SLOW_FIRST_CYC_FREQ |
2-0 | THETA_ERROR_RAMP_RATE | R/W | 0h | Ramp rate for reducing difference between estimated theta and open loop theta (deg/ms)
0h = 0.01 deg/ms 1h = 0.05 deg/ms 2h = 0.1 deg/ms 3h = 0.15 deg/ms 4h = 0.2 deg/ms 5h = 0.5 deg/ms 6h = 1 deg/ms 7h = 2 deg/ms |
CLOSED_LOOP1 is shown in Figure 7-63 and described in Table 7-19.
Return to the Summary Table.
Register to configure close loop settings1
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | OVERMODULATION_ENABLE | CL_ACC | CL_DEC_CONFIG | ||||
R/W-0h | R/W-0h | R/W-0h | R/W-0h | ||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
CL_DEC | PWM_FREQ_OUT | ||||||
R/W-0h | R/W-0h | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
PWM_FREQ_OUT | PWM_MODE | FG_SEL | FG_DIV | ||||
R/W-0h | R/W-0h | R/W-0h | R/W-0h | ||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
FG_CONFIG | FG_BEMF_THR | AVS_EN | DEADTIME_COMP_EN | SPEED_LOOP_DIS | LOW_SPEED_RECIRC_BRAKE_EN | ||
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | ||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30 | OVERMODULATION_ENABLE | R/W | 0h | Enables Over modulation
0h = Disable Over Modulation 1h = Enable Over Modulation |
29-25 | CL_ACC | R/W | 0h | Closed loop acceleration ( Hz / sec)
0h = 0.5 Hz/s 1h = 1 Hz/s 2h = 2.5 Hz/s 3h = 5 Hz/s 4h = 7.5 Hz/s 5h = 10 Hz/s 6h = 20 Hz/s 7h = 40 Hz/s 8h = 60 Hz/s 9h = 80 Hz/s Ah = 100 Hz/s Bh = 200 Hz/s Ch = 300 Hz/s Dh = 400 Hz/s Eh = 500 Hz/s Fh = 600 Hz/s 10h = 700 Hz/s 11h = 800 Hz/s 12h = 900 Hz/s 13h = 1000 Hz/s 14h = 2000 Hz/s 15h = 4000 Hz/s 16h = 6000 Hz/s 17h = 8000 Hz/s 18h = 10000 Hz/s 19h = 20000 Hz/s 1Ah = 30000 Hz/s 1Bh = 40000 Hz/s 1Ch = 50000 Hz/s 1Dh = 60000 Hz/s 1Eh = 70000 Hz/s 1Fh = No limit |
24 | CL_DEC_CONFIG | R/W | 0h | Closed loop deceleration configuration
0h = Closed loop deceleration defined by CL_DEC 1h = Closed loop deceleration defined by CL_ACC |
23-19 | CL_DEC | R/W | 0h | Closed loop deceleration.
This register is used only if AVS is disabled and CL_DEC_CONFIG is set to '0'
0h = 0.5 Hz/s 1h = 1 Hz/s 2h = 2.5 Hz/s 3h = 5 Hz/s 4h = 7.5 Hz/s 5h = 10 Hz/s 6h = 20 Hz/s 7h = 40 Hz/s 8h = 60 Hz/s 9h = 80 Hz/s Ah = 100 Hz/s Bh = 200 Hz/s Ch = 300 Hz/s Dh = 400 Hz/s Eh = 500 Hz/s Fh = 600 Hz/s 10h = 700 Hz/s 11h = 800 Hz/s 12h = 900 Hz/s 13h = 1000 Hz/s 14h = 2000 Hz/s 15h = 4000 Hz/s 16h = 6000 Hz/s 17h = 8000 Hz/s 18h = 10000 Hz/s 19h = 20000 Hz/s 1Ah = 30000 Hz/s 1Bh = 40000 Hz/s 1Ch = 50000 Hz/s 1Dh = 60000 Hz/s 1Eh = 70000 Hz/s 1Fh = No limit |
18-15 | PWM_FREQ_OUT | R/W | 0h | PWM output frequency
0h = 10 kHz 1h = 15 kHz 2h = 20 kHz 3h = 25 kHz 4h = 30 kHz 5h = 35 kHz 6h = 40 kHz 7h = 45 kHz 8h = 50 kHz 9h = 55 kHz Ah = 60 kHz Bh = 65 kHz Ch = 70 kHz Dh = 75 kHz Eh = Reserved Fh = Reserved |
14 | PWM_MODE | R/W | 0h | PWM modulation
0h = Continuous Space Vector Modulation 1h = Discontinuous Space Vector Modulation |
13-12 | FG_SEL | R/W | 0h | FG select
0h = Output FG in open loop and closed loop 1h = Output FG in only closed loop 2h = Output FG in open loop for the first try. 3h = Not Defined |
11-8 | FG_DIV | R/W | 0h | FG Division factor
0h = Divide by 1 (2-pole motor mechanical speed) 1h = Divide by 1 (2-pole motor mechanical speed) 2h = Divide by 2 (4-pole motor mechanical speed) 3h = Divide by 3 (6-pole motor mechanical speed) 4h = Divide by 4 (8-pole motor mechanical speed) ... Fh = Divide by 15 (30-pole motor mechanical speed) |
7 | FG_CONFIG | R/W | 0h | FG output configuration
0h = FG active as long as motor is driven 1h = FG active till BEMF drops below BEMF threshold defined by FG_BEMF_THR |
6-4 | FG_BEMF_THR | R/W | 0h | FG output BEMF threshold
0h = +/- 1mV 1h = +/- 2mV 2h = +/- 5mV 3h = +/- 10mV 4h = +/- 20mV 5h = +/- 30mV 6h = Reserved 7h = Reserved |
3 | AVS_EN | R/W | 0h | AVS enable
0h = Disable 1h = Enable |
2 | DEADTIME_COMP_EN | R/W | 0h | Deadtime compensation enable
0h = Disable 1h = Enable |
1 | SPEED_LOOP_DIS | R/W | 0h | Speed Loop Disable
0h = Enable 1h = Disable |
0 | LOW_SPEED_RECIRC_BRAKE_EN | R/W | 0h | Stop mode applied when stop mode is recirculation brake and motor running in align or open loop
0h = Hi-Z 1h = Low Side Brake |
CLOSED_LOOP2 is shown in Figure 7-64 and described in Table 7-20.
Return to the Summary Table.
Register to configure close loop settings2
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | MTR_STOP | MTR_STOP_BRK_TIME | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
ACT_SPIN_THR | BRAKE_SPEED_THRESHOLD | ||||||
R/W-0h | R/W-0h | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
MOTOR_RES | |||||||
R/W-X | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOTOR_IND | |||||||
R/W-X | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30-28 | MTR_STOP | R/W | 0h | Motor stop options
0h = Hi-z 1h = Reserved 2h = Low side braking 3h = High side braking 4h = Active spin down 5h = Align braking 6h = Not Defined 7h = Not Defined |
27-24 | MTR_STOP_BRK_TIME | R/W | 0h | Brake time during motor stop
0h = 1 ms 1h = 1 ms 2h = 1 ms 3h = 1 ms 4h = 1 ms 5h = 5 ms 6h = 10 ms 7h = 50 ms 8h = 100 ms 9h = 250 ms Ah = 500 ms Bh = 1000 ms Ch = 2500 ms Dh = 5000 ms Eh = 10000 ms Fh = 15000 ms |
23-20 | ACT_SPIN_THR | R/W | 0h | Speed threshold for active spin down (% of MAX_SPEED)
0h = 100 % 1h = 90 % 2h = 80 % 3h = 70 % 4h = 60% 5h = 50 % 6h = 45 % 7h = 40 % 8h = 35 % 9h = 30 % Ah = 25 % Bh = 20 % Ch = 15 % Dh = 10 % Eh = 5 % Fh = 2.5 % |
19-16 | BRAKE_SPEED_THRESHOLD | R/W | 0h | Speed threshold for BRAKE pin and Motor stop options (Low side Braking or High Side Braking or Align Braking) (% of MAX_SPEED)
0h = 100 % 1h = 90 % 2h = 80 % 3h = 70 % 4h = 60% 5h = 50 % 6h = 45 % 7h = 40 % 8h = 35 % 9h = 30 % Ah = 25 % Bh = 20 % Ch = 15 % Dh = 10 % Eh = 5 % Fh = 2.5 % |
15-8 | MOTOR_RES | R/W | X | 8-bit values for motor phase resistance. See Table 7-2 for values of phase resistance |
7-0 | MOTOR_IND | R/W | X | 8-bit values for motor phase inductance. See Table 7-3 for values of phase inductance |
CLOSED_LOOP3 is shown in Figure 7-65 and described in Table 7-21.
Return to the Summary Table.
Register to configure close loop settings3
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | MOTOR_BEMF_CONST | ||||||
R/W-0h | R/W-X | ||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
MOTOR_BEMF_CONST | CURR_LOOP_KP | ||||||
R/W-X | R/W-0h | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
CURR_LOOP_KP | CURR_LOOP_KI | ||||||
R/W-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CURR_LOOP_KI | SPD_LOOP_KP | ||||||
R/W-0h | R/W-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30-23 | MOTOR_BEMF_CONST | R/W | X | 8-bit values for motor BEMF Constant. See Table 7-4 for values of BEMF constant |
22-13 | CURR_LOOP_KP | R/W | 0h | 10-bit value for current Iq and Id loop Kp. Kp = 8LSB of CURR_LOOP_KP / 10^2MSB of CURR_LOOP_KP. Please make 0 for auto calculation of current Kp and Ki |
12-3 | CURR_LOOP_KI | R/W | 0h | 10-bit value for current Iq and Id loop Ki. Ki = 1000 * 8LSB of CURR_LOOP_KI / 10^2MSB of CURR_LOOP_KI. Please make 0 for auto calculation of current Kp and Ki |
2-0 | SPD_LOOP_KP | R/W | 0h | 3 MSB bits for speed loop Kp. Kp = 0.01 * 8LSB of SPD_LOOP_KP / 10^2MSB of SPD_LOOP_KP |
CLOSED_LOOP4 is shown in Figure 7-66 and described in Table 7-22.
Return to the Summary Table.
Register to configure close loop settings4
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | SPD_LOOP_KP | ||||||
R/W-0h | R/W-0h | ||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
SPD_LOOP_KI | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
SPD_LOOP_KI | MAX_SPEED | ||||||
R/W-0h | R/W-X | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MAX_SPEED | |||||||
R/W-X | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30-24 | SPD_LOOP_KP | R/W | 0h | 7 LSB bits for speed loop Kp. Kp = 0.01 * 8LSB of SPD_LOOP_KP / 10^2MSB of SPD_LOOP_KP |
23-14 | SPD_LOOP_KI | R/W | 0h | 10 bit value for speed loop Ki. Ki = 0.1 * 8LSB of SPD_LOOP_KI / 10^2MSB of SPD_LOOP_KI |
13-0 | MAX_SPEED | R/W | X | 14-bit value for setting maximum value of Speed in electrical Hz Maximum motor electrical speed (Hz): {MOTOR_SPEED/6} For example: if MOTOR_SPEED is 0x2710, then maximum motor speed (Hz) = 10000(0x2710)/6 = 1666 Hz |
SPEED_PROFILES1 is shown in Figure 7-67 and described in Table 7-23.
Return to the Summary Table.
Register to configure speed profile1
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | SPEED_PROFILE_CONFIG | DUTY_ON1 | |||||
R/W-0h | R/W-0h | R/W-X | |||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
DUTY_ON1 | DUTY_OFF1 | ||||||
R/W-X | R/W-X | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
DUTY_OFF1 | DUTY_CLAMP1 | ||||||
R/W-X | R/W-X | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DUTY_CLAMP1 | DUTY_A | ||||||
R/W-X | R/W-X | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30-29 | SPEED_PROFILE_CONFIG | R/W | 0h | Configuration for speed profiles
0h = Speed Reference Mode 1h = Linear Mode 2h = Staircase Mode 3h = Forward Reverse Mode |
28-21 | DUTY_ON1 | R/W | X | Duty_ON1 Configuration Turn On Duty Cycle (%) = {(DUTY_ON1/255)*100} |
20-13 | DUTY_OFF1 | R/W | X | Duty_OFF1 Configuration Turn Off Duty Cycle (%) = {(DUTY_OFF1/255)*100} |
12-5 | DUTY_CLAMP1 | R/W | X | Duty_CLAMP1 Configuration Duty Cycle for clamping speed (%) = {(DUTY_CLAMP1/255)*100} |
4-0 | DUTY_A | R/W | X | 5 MSB bits for Duty Cycle A |
SPEED_PROFILES2 is shown in Figure 7-68 and described in Table 7-24.
Return to the Summary Table.
Register to configure speed profile2
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | DUTY_A | DUTY_B | |||||
R/W-0h | R/W-X | R/W-X | |||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
DUTY_B | DUTY_C | ||||||
R/W-X | R/W-X | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
DUTY_C | DUTY_D | ||||||
R/W-X | R/W-X | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DUTY_D | DUTY_E | ||||||
R/W-X | R/W-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30-28 | DUTY_A | R/W | X | 3 LSB bits for Duty Cycle A Duty_A Configuration Duty Cycle A (%) = {(DUTY_A/255)*100} |
27-20 | DUTY_B | R/W | X | Duty_B Configuration Duty Cycle B (%) = {(DUTY_B/255)*100} |
19-12 | DUTY_C | R/W | X | Duty_C Configuration Duty Cycle C (%) = {(DUTY_C/255)*100} |
11-4 | DUTY_D | R/W | X | Duty_D Configuration Duty Cycle D (%) = {(DUTY_D/255)*100} |
3-0 | DUTY_E | R/W | 0h | 4 MSB bits for Duty Cycle E |
SPEED_PROFILES3 is shown in Figure 7-69 and described in Table 7-25.
Return to the Summary Table.
Register to configure speed profile3
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | DUTY_E | DUTY_ON2 | |||||
R/W-0h | R/W-X | R/W-X | |||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
DUTY_ON2 | DUTY_OFF2 | ||||||
R/W-X | R/W-X | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
DUTY_OFF2 | DUTY_CLAMP2 | ||||||
R/W-X | R/W-X | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DUTY_CLAMP2 | DUTY_HYST | RESERVED | |||||
R/W-X | R/W-0h | R/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30-27 | DUTY_E | R/W | X | 4 LSB bits for Duty Cycle E Duty_E Configuration Duty Cycle E (%) = {(DUTY_E/255)*100} |
26-19 | DUTY_ON2 | R/W | X | Duty_ON2 Configuration Turn On Duty Cycle (%) = {(DUTY_ON2/255)*100} |
18-11 | DUTY_OFF2 | R/W | X | Duty_OFF2 Configuration Turn Off Duty Cycle (%) = {(DUTY_OFF2/255)*100} |
10-3 | DUTY_CLAMP2 | R/W | X | Duty_CLAMP2 Configuration Duty Cycle for clamping speed (%) = {(DUTY_CLAMP1/255)*100} |
2-1 | DUTY_HYST | R/W | 0h | Duty hysteresis for speed reference mode
0h = 0% 1h = 0.5% 2h = 1% 3h = 2% |
0 | RESERVED | R/W | 0h | Reserved |
SPEED_PROFILES4 is shown in Figure 7-70 and described in Table 7-26.
Return to the Summary Table.
Register to configure speed profile4
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | SPEED_OFF1 | ||||||
R/W-0h | R/W-X | ||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
SPEED_OFF1 | SPEED_CLAMP1 | ||||||
R/W-X | R/W-X | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
SPEED_CLAMP1 | SPEED_A | ||||||
R/W-X | R/W-X | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SPEED_A | SPEED_B | ||||||
R/W-X | R/W-X | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30-23 | SPEED_OFF1 | R/W | X | Turn off speed Configuration Turn off speed (% of MAX_SPEED) = {(SPEED_OFF1/255)*100} |
22-15 | SPEED_CLAMP1 | R/W | X | Clamp Speed Configuration Clamp Speed (% of MAX_SPEED) = {(SPEED_CLAMP1/255)*100} |
14-7 | SPEED_A | R/W | X | Speed A configuration SPEED A (% of MAX_SPEED) = {(SPEED_A/255)*100} |
6-0 | SPEED_B | R/W | X | 7 MSB of SPEED_B configuration |
SPEED_PROFILES5 is shown in Figure 7-71 and described in Table 7-27.
Return to the Summary Table.
Register to configure speed profile5
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | SPEED_B | SPEED_C | |||||
R/W-0h | R/W-X | R/W-X | |||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
SPEED_C | SPEED_D | ||||||
R/W-X | R/W-X | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
SPEED_D | SPEED_E | ||||||
R/W-X | R/W-X | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SPEED_E | RESERVED | ||||||
R/W-X | R/W-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30 | SPEED_B | R/W | X | 1 LSB of SPEED_B configuration Speed B Configuration SPEED B(% of MAX_SPEED) = {(SPEED_B/255)*100} |
29-22 | SPEED_C | R/W | X | Speed C configuration SPEED C (% of MAX_SPEED) = {(SPEED_A/255)*100} |
21-14 | SPEED_D | R/W | X | Speed D configuration SPEED D (% of MAX_SPEED) = {(SPEED_D/255)*100} |
13-6 | SPEED_E | R/W | X | Speed E Configuration SPEED E(% of MAX_SPEED) = {(SPEED_E/255)*100} |
5-0 | RESERVED | R/W | 0h | Reserved |
SPEED_PROFILES6 is shown in Figure 7-72 and described in Table 7-28.
Return to the Summary Table.
Register to configure speed profile6
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | SPEED_OFF2 | ||||||
R/W-0h | R/W-X | ||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
SPEED_OFF2 | SPEED_CLAMP2 | ||||||
R/W-X | R/W-X | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
SPEED_CLAMP2 | RESERVED | ||||||
R/W-X | R/W-X | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | |||||||
R/W-X | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30-23 | SPEED_OFF2 | R/W | X | Turn off speed Configuration Turn off speed (% of MAX_SPEED) = {(SPEED_OFF2/255)*100} |
22-15 | SPEED_CLAMP2 | R/W | X | Clamp Speed Configuration Clamp Speed (% of MAX_SPEED) = {(SPEED_CLAMP2/255)*100} |
14-0 | RESERVED | R/W | X | Reserved |