JAJSST7 January 2024 MCF8315C-Q1
PRODUCTION DATA
Table 6-14 lists the memory-mapped registers for the Algorithm_Configuration registers. All register offset addresses not listed in Table 6-14 should be considered as reserved locations and the register contents should not be modified.
Offset | Acronym | Register Name | Section |
---|---|---|---|
80h | ISD_CONFIG | ISD Configuration | Section 6.7.1.1 |
82h | REV_DRIVE_CONFIG | Reverse Drive Configuration | Section 6.7.1.2 |
84h | MOTOR_STARTUP1 | Motor Startup Configuration1 | Section 6.7.1.3 |
86h | MOTOR_STARTUP2 | Motor Startup Configuration2 | Section 6.7.1.4 |
88h | CLOSED_LOOP1 | Close Loop Configuration1 | Section 6.7.1.5 |
8Ah | CLOSED_LOOP2 | Close Loop Configuration2 | Section 6.7.1.6 |
8Ch | CLOSED_LOOP3 | Close Loop Configuration3 | Section 6.7.1.7 |
8Eh | CLOSED_LOOP4 | Close Loop Configuration4 | Section 6.7.1.8 |
94h | SPEED_PROFILES1 | Speed Profile Configuration1 | Section 6.7.1.9 |
96h | SPEED_PROFILES2 | Speed Profile Configuration2 | Section 6.7.1.10 |
98h | SPEED_PROFILES3 | Speed Profile Configuration3 | Section 6.7.1.11 |
9Ah | SPEED_PROFILES4 | Speed Profile Configuration4 | Section 6.7.1.12 |
9Ch | SPEED_PROFILES5 | Speed Profile Configuration5 | Section 6.7.1.13 |
9Eh | SPEED_PROFILES6 | Speed Profile Configuration6 | Section 6.7.1.14 |
Complex bit access types are encoded to fit into small table cells. Table 6-15 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 6-58 and described in Table 6-16.
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-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 | 0h | Reserved |
30 | ISD_EN | R/W | 0h | ISD enable
0h = Disable 1h = Enable |
29 | BRAKE_EN | R/W | 0h | ISD brake enable
0h = Disable 1h = Enable |
28 | HIZ_EN | R/W | 0h | ISD 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 = Reserved 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
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 declaration (% 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 = 0.9375 A 1h = 1.5625 A 2h = 2.1875 A 3h = 3.125 A |
REV_DRIVE_CONFIG is shown in Figure 6-59 and described in Table 6-17.
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-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 | 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
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 = 4.375 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 Figure 6-60 and described in Table 6-18.
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-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 | 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
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 = 4.375 A Fh = 5.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.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 = 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 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 6-61 and described in Table 6-19.
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-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 | 0h | Reserved |
30-27 | OL_ILIMIT | R/W | 0h | Open loop current limit
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 = 4.375 A Fh = 5.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 = 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
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 6-62 and described in Table 6-20.
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-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 | RESERVED | ||
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R-0h | ||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R | 0h | Reserved |
30 | OVERMODULATION_ENABLE | R/W | 0h | Overmodulation enable
0h = Disable overmodulation 1h = Enable overmodulation |
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 '0b'
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 = Reserved 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 = Reserved Ch = Reserved Dh = Reserved 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 = Reserved |
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 | RESERVED | R | 0h | Reserved |
CLOSED_LOOP2 is shown in Figure 6-63 and described in Table 6-21.
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-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 | RESERVED | R | 0h | Reserved |
30-28 | MTR_STOP | R/W | 0h | Motor stop mode
0h = Hi-Z 1h = Reserved 2h = Low side braking 3h = Reserved 4h = Active spin down 5h = Reserved 6h = Reserved 7h = Reserved |
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) (% 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 See Table 6-2 for values of phase resistance |
7-0 | MOTOR_IND | R/W | 0h | 8-bit values for motor phase inductance See Table 6-3 for values of phase inductance |
CLOSED_LOOP3 is shown in Figure 6-64 and described in Table 6-22.
Return to the Summary Table.
Register to configure close loop settings3
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | MOTOR_BEMF_CONST | ||||||
R-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 | RESERVED | R | 0h | Reserved |
30-23 | MOTOR_BEMF_CONST | R/W | 0h | 8-bit values for motor BEMF Constant See Table 6-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. Set to 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. Set to 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 6-65 and described in Table 6-23.
Return to the Summary Table.
Register to configure close loop settings4
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | SPD_LOOP_KP | ||||||
R-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 | 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 6-66 and described in Table 6-24.
Return to the Summary Table.
Register to configure speed profile1
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | REF_PROFILE_CONFIG | DUTY_ON1 | |||||
R-0h | R/W-0h | R/W-0h | |||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
DUTY_ON1 | DUTY_OFF1 | ||||||
R/W-0h | R/W-0h | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
DUTY_OFF1 | DUTY_CLAMP1 | ||||||
R/W-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DUTY_CLAMP1 | DUTY_A | ||||||
R/W-0h | R/W-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R | 0h | Reserved |
30-29 | REF_PROFILE_CONFIG | R/W | 0h | Configuration for reference profiles
0h = Speed/current reference mode 1h = Linear profile 2h = Staircase profile 3h = Forward-reverse profile |
28-21 | DUTY_ON1 | R/W | 0h | Duty_ON1 configuration Turn-on duty cycle (%) = {(DUTY_ON1/255)*100} |
20-13 | DUTY_OFF1 | R/W | 0h | Duty_OFF1 configuration Turn-off duty cycle (%) = {(DUTY_OFF1/255)*100} |
12-5 | DUTY_CLAMP1 | R/W | 0h | Duty_CLAMP1 configuration Duty cycle for clamping speed (%) = {(DUTY_CLAMP1/255)*100} |
4-0 | DUTY_A | R/W | 0h | 5 MSB bits for duty cycle A |
SPEED_PROFILES2 is shown in Figure 6-67 and described in Table 6-25.
Return to the Summary Table.
Register to configure speed profile2
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | DUTY_A | DUTY_B | |||||
R-0h | R/W-0h | R/W-0h | |||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
DUTY_B | DUTY_C | ||||||
R/W-0h | R/W-0h | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
DUTY_C | DUTY_D | ||||||
R/W-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DUTY_D | DUTY_E | ||||||
R/W-0h | R/W-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R | 0h | Reserved |
30-28 | DUTY_A | R/W | 0h | 3 LSB bits for duty cycle A Duty_A configuration Duty cycle A (%) = {(DUTY_A/255)*100} |
27-20 | DUTY_B | R/W | 0h | Duty_B configuration Duty cycle B (%) = {(DUTY_B/255)*100} |
19-12 | DUTY_C | R/W | 0h | Duty_C configuration Duty cycle C (%) = {(DUTY_C/255)*100} |
11-4 | DUTY_D | R/W | 0h | 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 6-68 and described in Table 6-26.
Return to the Summary Table.
Register to configure speed profile3
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | DUTY_E | DUTY_ON2 | |||||
R-0h | R/W-0h | R/W-0h | |||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
DUTY_ON2 | DUTY_OFF2 | ||||||
R/W-0h | R/W-0h | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
DUTY_OFF2 | DUTY_CLAMP2 | ||||||
R/W-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DUTY_CLAMP2 | DUTY_HYS | RESERVED | |||||
R/W-0h | R/W-0h | R-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R | 0h | Reserved |
30-27 | DUTY_E | R/W | 0h | 4 LSB bits for Duty cycle E Duty_E configuration Duty cycle E (%) = {(DUTY_E/255)*100} |
26-19 | DUTY_ON2 | R/W | 0h | Duty_ON2 configuration Turn-on duty cycle (%) = {(DUTY_ON2/255)*100} |
18-11 | DUTY_OFF2 | R/W | 0h | Duty_OFF2 configuration Turn-off duty cycle (%) = {(DUTY_OFF2/255)*100} |
10-3 | DUTY_CLAMP2 | R/W | 0h | Duty_CLAMP2 configuration Duty cycle for clamping speed (%) = {(DUTY_CLAMP1/255)*100} |
2-1 | DUTY_HYS | R/W | 0h | Duty hysteresis for speed/current reference mode
0h = 0% 1h = 0.5% 2h = 1% 3h = 2% |
0 | RESERVED | R | 0h | Reserved |
SPEED_PROFILES4 is shown in Figure 6-69 and described in Table 6-27.
Return to the Summary Table.
Register to configure speed profile4
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | SPEED_OFF1 | ||||||
R-0h | R/W-0h | ||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
SPEED_OFF1 | SPEED_CLAMP1 | ||||||
R/W-0h | R/W-0h | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
SPEED_CLAMP1 | SPEED_A | ||||||
R/W-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SPEED_A | SPEED_B | ||||||
R/W-0h | R/W-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R | 0h | Reserved |
30-23 | SPEED_OFF1 | R/W | 0h | Turn off speed configuration Turn off speed (% of MAX_SPEED) = {(SPEED_OFF1/255)*100} |
22-15 | SPEED_CLAMP1 | R/W | 0h | Clamp speed configuration Clamp speed (% of MAX_SPEED) = {(SPEED_CLAMP1/255)*100} |
14-7 | SPEED_A | R/W | 0h | Speed A configuration SPEED A (% of MAX_SPEED) = {(SPEED_A/255)*100} |
6-0 | SPEED_B | R/W | 0h | 7 MSB of SPEED_B configuration |
SPEED_PROFILES5 is shown in Figure 6-70 and described in Table 6-28.
Return to the Summary Table.
Register to configure speed profile5
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | SPEED_B | SPEED_C | |||||
R-0h | R/W-0h | R/W-0h | |||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
SPEED_C | SPEED_D | ||||||
R/W-0h | R/W-0h | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
SPEED_D | SPEED_E | ||||||
R/W-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SPEED_E | RESERVED | ||||||
R/W-0h | R-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R | 0h | Reserved |
30 | SPEED_B | R/W | 0h | 1 LSB of SPEED_B configuration Speed B configuration SPEED B(% of MAX_SPEED) = {(SPEED_B/255)*100} |
29-22 | SPEED_C | R/W | 0h | Speed C configuration SPEED C (% of MAX_SPEED) = {(SPEED_A/255)*100} |
21-14 | SPEED_D | R/W | 0h | Speed D configuration SPEED D (% of MAX_SPEED) = {(SPEED_D/255)*100} |
13-6 | SPEED_E | R/W | 0h | Speed E configuration SPEED E(% of MAX_SPEED) = {(SPEED_E/255)*100} |
5-0 | RESERVED | R | 0h | Reserved |
SPEED_PROFILES6 is shown in Figure 6-71 and described in Table 6-29.
Return to the Summary Table.
Register to configure speed profile6
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | SPEED_OFF2 | ||||||
R-0h | R/W-0h | ||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
SPEED_OFF2 | SPEED_CLAMP2 | ||||||
R/W-0h | R/W-0h | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
SPEED_CLAMP2 | RESERVED | ||||||
R/W-0h | R-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | |||||||
R-0h | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R | 0h | Reserved |
30-23 | SPEED_OFF2 | R/W | 0h | Turn off speed configuration Turn off speed (% of MAX_SPEED) = {(SPEED_OFF2/255)*100} |
22-15 | SPEED_CLAMP2 | R/W | 0h | Clamp speed configuration Clamp Speed (% of MAX_SPEED) = {(SPEED_CLAMP2/255)*100} |
14-0 | RESERVED | R | 0h | Reserved |