ZHCSOS0C august 2021 – june 2023 MCF8316A
PRODUCTION DATA
ALGORITHM_CONFIGURATION Registers lists the memory-mapped registers for the Algorithm_Configuration registers. All register offset addresses not listed in ALGORITHM_CONFIGURATION Registers 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. Algorithm_Configuration Access Type Codes 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 ISD_CONFIG Register and described in ISD_CONFIG Register Field Descriptions.
Return to the Summary Table.
Register to configure initial speed detect settings
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
PARITY | 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 | RESERVED | RESERVED | 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 | PARITY | R/W | 0h | Parity bit |
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 | RESERVED | R/W | 0h | Reserved |
19-17 | RESERVED | R/W | 0h | Reserved |
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
0h = 1.5 A 1h = 2.5 A 2h = 3.5 A 3h = 5.0 A |
REV_DRIVE_CONFIG is shown in REV_DRIVE_CONFIG Register and described in REV_DRIVE_CONFIG Register Field Descriptions.
Return to the Summary Table.
Register to configure reverse drive settings
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
PARITY | 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 | PARITY | R/W | 0h | Parity bit |
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
0h = 0.5 A 1h = 1 A 2h = 2 A 3h = 3 A 4h = 4 A 5h = 5 A 6h = 6 A 7h = 7 A |
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 MOTOR_STARTUP1 Register and described in MOTOR_STARTUP1 Register Field Descriptions.
Return to the Summary Table.
Register to configure motor startup settings1
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
PARITY | 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 | PARITY | R/W | 0h | Parity bit |
30-29 | MTR_STARTUP | R/W | 0h | Motor start-up method
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
0h = 0.125 A 1h = 0.25 A 2h = 0.5 A 3h = 1.0 A 4h = 1.5 A 5h = 2.0 A 6h = 2.5 A 7h = 3.0 A 8h = 3.5 A 9h = 4.0 A Ah = 4.5 A Bh = 5.0 A Ch = 5.5 A Dh = 6.0 A Eh = 7.0 A Fh = 8.0 A |
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
0h = 0.25 A 1h = 0.5 A 2h = 0.75 A 3h = 1.0 A 4h = 1.25 A 5h = 1.5 A 6h = 2.0 A 7h = 2.5 A 8h = 3.0 A 9h = 3.667 A Ah = 4.0 A Bh = 4.667 A Ch = 5.0 A Dh = 5.333 A Eh = 6.0 A Fh = 6.667 A 10h = 7.333 A 11h = 8.0 A 12h = NA 13h = NA 14h = NA 15h = NA 16h = NA 17h = NA 18h = NA 19h = NA 1Ah = NA 1Bh = NA 1Ch = NA 1Dh = NA 1Eh = NA 1Fh = NA |
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° 1h = 30° 2h = 60° 3h = 90° |
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 before transition to close loop
0h = Disable Iq ramp down 1h = Enable Iq ramp down |
1 | ACTIVE_BRAKE_EN | R/W | 0h | Active braking enable
0h = Disable Active Brake 1h = Enable Active Brake |
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 MOTOR_STARTUP2 Register and described in MOTOR_STARTUP2 Register Field Descriptions.
Return to the Summary Table.
Register to configure motor startup settings2
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
PARITY | 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 | PARITY | R/W | 0h | Parity bit |
30-27 | OL_ILIMIT | R/W | 0h | Open loop current limit
0h = 0.125 A 1h = 0.25 A 2h = 0.5 A 3h = 1.0 A 4h = 1.5 A 5h = 2.0 A 6h = 2.5 A 7h = 3.0 A 8h = 3.5 A 9h = 4.0 A Ah = 4.5 A Bh = 5.0 A Ch = 5.5 A Dh = 6.0 A Eh = 7.0 A Fh = 8.0 A |
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° 1h = 10° 2h = 20° 3h = 30° 4h = 45° 5h = 60° 6h = 70° 7h = 80° 8h = 90° 9h = 110° Ah = 120° Bh = 135° Ch = 150° Dh = 160° Eh = 170° Fh = 180° 10h = 190° 11h = 210° 12h = 225° 13h = 240° 14h = 250° 15h = 260° 16h = 270° 17h = 280° 18h = 290° 19h = 315° 1Ah = 330° 1Bh = 340° 1Ch = 350° 1Dh = N/A 1Eh = N/A 1Fh = N/A |
7-4 | SLOW_FIRST_CYC_FREQ | R/W | 0h | Frequency of first cycle in close loop startup (% 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 startup options
0h = Defined by SLOW_FIRST_CYC_FREQ 1h = 0 Hz |
2-0 | THETA_ERROR_RAMP_RATE | R/W | 0h | Ramp rate for reducing difference between estimated theta and open loop theta
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 CLOSED_LOOP1 Register and described in CLOSED_LOOP1 Register Field Descriptions.
Return to the Summary Table.
Register to configure close loop settings1
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
PARITY | 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 | PARITY | R/W | 0h | Parity bit |
30 | OVERMODULATION_ENABLE | R/W | 0h | Overmodulation enable
0h = Disable Over Modulation 1h = Enable Over Modulation |
29-25 | CL_ACC | R/W | 0h | Closed loop acceleration
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 | Output PWM switching 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 = N/A Fh = N/A |
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 = N/A |
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 = N/A 7h = N/A |
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 CLOSED_LOOP2 Register and described in CLOSED_LOOP2 Register Field Descriptions.
Return to the Summary Table.
Register to configure close loop settings2
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
PARITY | 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-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOTOR_IND | |||||||
R/W-0h | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | PARITY | R/W | 0h | Parity bit |
30-28 | MTR_STOP | R/W | 0h | Motor stop method
0h = Hi-z 1h = Recirculation Mode 2h = Low side braking 3h = High side braking 4h = Active spin down 5h = Align braking 6h = N/A 7h = N/A |
27-24 | MTR_STOP_BRK_TIME | R/W | 0h | Brake time during motor stop
0h = 0.1 ms 1h = 0.1 ms 2h = 0.25 ms 3h = 0.5 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 | 0h | 8-bit values for motor phase resistance |
7-0 | MOTOR_IND | R/W | 0h | 8-bit values for motor phase inductance |
CLOSED_LOOP3 is shown in CLOSED_LOOP3 Register and described in CLOSED_LOOP3 Register Field Descriptions.
Return to the Summary Table.
Register to configure close loop settings3
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
PARITY | MOTOR_BEMF_CONST | ||||||
R/W-0h | R/W-0h | ||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
MOTOR_BEMF_CONST | CURR_LOOP_KP | ||||||
R/W-0h | 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 | PARITY | R/W | 0h | Parity bit |
30-23 | MOTOR_BEMF_CONST | R/W | 0h | 8-bit values for motor 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. Set to 0 for auto calculation of current loop Kp. |
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. Set to 0 for auto calculation of current loop 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 CLOSED_LOOP4 Register and described in CLOSED_LOOP4 Register Field Descriptions.
Return to the Summary Table.
Register to configure close loop settings4
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
PARITY | 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 | PARITY | R/W | 0h | Parity bit |
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. Set to 0 for auto calculation of speed 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. Set to 0 for auto calculation of speed 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 SPEED_PROFILES1 Register and described in SPEED_PROFILES1 Register Field Descriptions.
Return to the Summary Table.
Register to configure speed profile1
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
PARITY | 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 | PARITY | R/W | 0h | Parity bit |
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 (%) = {(DUTY_ON1/255)*100} |
20-13 | DUTY_OFF1 | R/W | X | Duty_OFF1 Configuration (%) = {(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 SPEED_PROFILES2 Register and described in SPEED_PROFILES2 Register Field Descriptions.
Return to the Summary Table.
Register to configure speed profile2
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
PARITY | 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 | PARITY | R/W | 0h | Parity bit |
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 SPEED_PROFILES3 Register and described in SPEED_PROFILES3 Register Field Descriptions.
Return to the Summary Table.
Register to configure speed profile3
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
PARITY | 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 | RESERVED | ||||||
R/W-X | R/W-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | PARITY | R/W | 0h | Parity bit |
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 (%) = {(DUTY_ON2/255)*100} |
18-11 | DUTY_OFF2 | R/W | X | Duty_OFF2 Configuration (%) = {(DUTY_OFF2/255)*100} |
10-3 | DUTY_CLAMP2 | R/W | X | Duty_CLAMP2 Configuration Duty Cycle for clamping speed (%) = {(DUTY_CLAMP1/255)*100} |
2-0 | RESERVED | R/W | 0h | Reserved |
SPEED_PROFILES4 is shown in SPEED_PROFILES4 Register and described in SPEED_PROFILES4 Register Field Descriptions.
Return to the Summary Table.
Register to configure speed profile4
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
PARITY | 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 | PARITY | R/W | 0h | Parity bit |
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 SPEED_PROFILES5 Register and described in SPEED_PROFILES5 Register Field Descriptions.
Return to the Summary Table.
Register to configure speed profile5
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
PARITY | 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 | PARITY | R/W | 0h | Parity bit |
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 SPEED_PROFILES6 Register and described in SPEED_PROFILES6 Register Field Descriptions.
Return to the Summary Table.
Register to configure speed profile6
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
PARITY | 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 | PARITY | R/W | 0h | Parity bit |
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 |