JAJSR16 august 2023 MCF8316C-Q1
PRODUCTION DATA
Table 7-14 lists the memory-mapped registers for the Algorithm_Configuration registers. All register offset addresses not listed in Table 7-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 | Go |
82h | REV_DRIVE_CONFIG | Reverse Drive Configuration | Go |
84h | MOTOR_STARTUP1 | Motor Startup Configuration1 | Go |
86h | MOTOR_STARTUP2 | Motor Startup Configuration2 | Go |
88h | CLOSED_LOOP1 | Close Loop Configuration1 | Go |
8Ah | CLOSED_LOOP2 | Close Loop Configuration2 | Go |
8Ch | CLOSED_LOOP3 | Close Loop Configuration3 | Go |
8Eh | CLOSED_LOOP4 | Close Loop Configuration4 | Go |
94h | REF_PROFILES1 | Reference Profile Configuration1 | Go |
96h | REF_PROFILES2 | Reference Profile Configuration2 | Go |
98h | REF_PROFILES3 | Reference Profile Configuration3 | Go |
9Ah | REF_PROFILES4 | Reference Profile Configuration4 | Go |
9Ch | REF_PROFILES5 | Reference Profile Configuration5 | Go |
9Eh | REF_PROFILES6 | Reference Profile Configuration6 | Go |
Complex bit access types are encoded to fit into small table cells. Table 7-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 7-56 and described in Table 7-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/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 exit Brake state 1h = Brake current threshold and Brake time are used to exit Brake state |
19-17 | BRK_CURR_THR | R/W | 0h | Brake current threshold
0h = 0.1 A 1h = 0.2 A 2h = 0.3 A 3h = 0.5 A 4h = 1.0 A 5h = 2.0 A 6h = 4.0 A 7h = 8.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 drive (% 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 reverse drive
0h = 1.5 A 1h = 2.5 A 2h = 3.5 A 3h = 5.0 A |
REV_DRIVE_CONFIG is shown in Figure 7-57 and described in Table 7-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/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
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 Figure 7-58 and described in Table 7-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/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 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 = Not Applicable 13h = Not Applicable 14h = Not Applicable 15h = Not Applicable 16h = Not Applicable 17h = Not Applicable 18h = Not Applicable 19h = Not Applicable 1Ah = Not Applicable 1Bh = Not Applicable 1Ch = Not Applicable 1Dh = Not Applicable 1Eh = Not Applicable 1Fh = Not Applicable |
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 = 2 times 2h = 3 times 3h = 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 for transition from open loop to closed loop
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 1h = Enable Active Brake |
0 | REV_DRV_CONFIG | R/W | 0h | Choose 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-59 and described in Table 7-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/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
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 closed 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 during 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
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 7-60 and described in Table 7-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/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 | RESERVED | ||
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 | Enable overmodulation
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 setting 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 = 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 = Not Applicable Ch = Not Applicable Dh = Not Applicable Eh = Not Applicable Fh = Not Applicable |
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 motor run after power-up/wake-up 3h = Not Applicable |
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 = Not Applicable 7h = Not Applicable |
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 (or torque mode enable)
0h = Speed loop enable (Torque mode disable) 1h = Speed loop disable (Torque mode enable) |
0 | RESERVED | R/W | 0h | Reserved |
CLOSED_LOOP2 is shown in Figure 7-61 and described in Table 7-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/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 | RESERVED | R/W | 0h | Reserved |
30-28 | MTR_STOP | R/W | 0h | Motor stop options
0h = Hi-Z 1h = Not Applicable 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 | 0h | 8-bit values for motor phase resistance See Table 7-2 for values of phase resistance |
7-0 | MOTOR_IND | R/W | 0h | 8-bit values for motor phase inductance See Table 7-3 for values of phase inductance |
CLOSED_LOOP3 is shown in Figure 7-62 and described in Table 7-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/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 | RESERVED | R/W | 0h | Reserved |
30-23 | MOTOR_BEMF_CONST | R/W | 0h | 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. CURR_LOOP_KP is divided in 2 sections, SCALE(9:8) and VALUE(7:0). Kp = VALUE / 10^SCALE. Please 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. CURR_LOOP_KI is divided in 2 sections, SCALE(9:8) and VALUE(7:0). Ki = 1000 * VALUE / 10^SCALE. Please 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. SPD_LOOP_KP is divided in 2 sections, SCALE(9:8) and VALUE(7:0). Kp = 0.01 * VALUE / 10^SCALE. |
CLOSED_LOOP4 is shown in Figure 7-63 and described in Table 7-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/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-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MAX_SPEED | |||||||
R/W-0h | |||||||
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. SPD_LOOP_KP is divided in 2 sections, SCALE(10:9) and VALUE(8:0). Kp = 0.01 * VALUE / 10^SCALE. |
23-14 | SPD_LOOP_KI | R/W | 0h | 10 bit value for speed loop Ki. SPD_LOOP_KI is divided in 2 sections, SCALE(9:8) and VALUE(7:0). Ki = 0.1 * VALUE / 10^SCALE. |
13-0 | MAX_SPEED | R/W | 0h | 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 |
REF_PROFILES1 is shown in Figure 7-64 and described in Table 7-24.
Return to the Summary Table.
Register to configure reference profile1
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | REF_PROFILE_CONFIG | DUTY_ON1 | |||||
R/W-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/W | 0h | Reserved |
30-29 | REF_PROFILE_CONFIG | R/W | 0h | Configuration for Reference profiles
0h = Reference/Equation 1h = Linear Profile 2h = Staircase Profile 3h = Forward-Reverse Profile |
28-21 | DUTY_ON1 | R/W | 0h | Turn On Duty Cycle (%) = {(DUTY_ON1/255)*100} |
20-13 | DUTY_OFF1 | R/W | 0h | Turn Off Duty Cycle (%) = {(DUTY_OFF1/255)*100} |
12-5 | DUTY_CLAMP1 | R/W | 0h | Duty Cycle for clamping Duty Input (%) = {(DUTY_CLAMP1/255)*100} |
4-0 | DUTY_A | R/W | 0h | 5 MSB bits for Duty Cycle A |
REF_PROFILES2 is shown in Figure 7-65 and described in Table 7-25.
Return to the Summary Table.
Register to configure reference profile2
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | DUTY_A | DUTY_B | |||||
R/W-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/W | 0h | Reserved |
30-28 | DUTY_A | R/W | 0h | 3 LSB bits for Duty Cycle A. Duty Cycle A (%) = {(DUTY_A/255)*100} |
27-20 | DUTY_B | R/W | 0h | Duty Cycle B (%) = {(DUTY_B/255)*100} |
19-12 | DUTY_C | R/W | 0h | Duty Cycle C (%) = {(DUTY_C/255)*100} |
11-4 | DUTY_D | R/W | 0h | Duty Cycle D (%) = {(DUTY_D/255)*100} |
3-0 | DUTY_E | R/W | 0h | 4 MSB bits for Duty Cycle E |
REF_PROFILES3 is shown in Figure 7-66 and described in Table 7-26.
Return to the Summary Table.
Register to configure reference profile3
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | DUTY_E | DUTY_ON2 | |||||
R/W-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/W-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 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 | Turn On Duty Cycle (%) = {(DUTY_ON2/255)*100} |
18-11 | DUTY_OFF2 | R/W | 0h | Turn Off Duty Cycle (%) = {(DUTY_OFF2/255)*100} |
10-3 | DUTY_CLAMP2 | R/W | 0h | Duty Cycle for clamping Duty Input(%) = {(DUTY_CLAMP1/255)*100} |
2-1 | DUTY_HYS | R/W | 0h | Duty hysteresis
0h = 0% 1h = 0.5% 2h = 1% 3h = 2% |
0 | RESERVED | R/W | 0h | Reserved |
REF_PROFILES4 is shown in Figure 7-67 and described in Table 7-27.
Return to the Summary Table.
Register to configure reference profile4
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | REF_OFF1 | ||||||
R/W-0h | R/W-0h | ||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
REF_OFF1 | REF_CLAMP1 | ||||||
R/W-0h | R/W-0h | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
REF_CLAMP1 | REF_A | ||||||
R/W-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
REF_A | REF_B | ||||||
R/W-0h | R/W-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30-23 | REF_OFF1 | R/W | 0h | Turn off reference (% of Maximum Reference) = {(REF_OFF1/255)*100} |
22-15 | REF_CLAMP1 | R/W | 0h | Clamp Ref 1 (% of Maximum Reference) = {(REF_CLAMP1/255)*100} |
14-7 | REF_A | R/W | 0h | Ref A (% of Maximum Reference) = {(REF_A/255)*100} |
6-0 | REF_B | R/W | 0h | 7 MSB of REF_B configuration |
REF_PROFILES5 is shown in Figure 7-68 and described in Table 7-28.
Return to the Summary Table.
Register to configure reference profile5
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | REF_B | REF_C | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
REF_C | REF_D | ||||||
R/W-0h | R/W-0h | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
REF_D | REF_E | ||||||
R/W-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
REF_E | RESERVED | ||||||
R/W-0h | R/W-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30 | REF_B | R/W | 0h | 1 LSB of REF_B configuration. Ref B(% of Maximum Reference) = {(REF_B/255)*100} |
29-22 | REF_C | R/W | 0h | Ref C (% of Maximum Reference) = {(REF_C/255)*100} |
21-14 | REF_D | R/W | 0h | Ref D (% of Maximum Reference) = {(REF_D/255)*100} |
13-6 | REF_E | R/W | 0h | Ref E(% of Maximum Reference) = {(REF_E/255)*100} |
5-0 | RESERVED | R/W | 0h | Reserved |
REF_PROFILES6 is shown in Figure 7-69 and described in Table 7-29.
Return to the Summary Table.
Register to configure reference profile6
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | REF_OFF2 | ||||||
R/W-0h | R/W-0h | ||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
REF_OFF2 | REF_CLAMP2 | ||||||
R/W-0h | R/W-0h | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
REF_CLAMP2 | RESERVED | ||||||
R/W-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | |||||||
R/W-0h | |||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R/W | 0h | Reserved |
30-23 | REF_OFF2 | R/W | 0h | Turn off Ref (% of Maximum Reference)) = {(REF_OFF2/255)*100} |
22-15 | REF_CLAMP2 | R/W | 0h | Clamp Ref 2 (% of Maximum Reference) = {(REF_CLAMP2/255)*100} |
14-0 | RESERVED | R/W | 0h | Reserved |