SLLSFQ7 November 2023 MCF8329A
PRODUCTION DATA
Table 7-34 lists the memory-mapped registers for the Hardware_Configuration registers. All register offset addresses not listed in Table 7-34 should be considered as reserved locations and the register contents should not be modified.
Offset | Acronym | Register Name | Section |
---|---|---|---|
A4h | PIN_CONFIG | Hardware Pin Configuration | Section 7.7.3.1 |
A6h | DEVICE_CONFIG1 | Device configuration1 | Section 7.7.3.2 |
A8h | DEVICE_CONFIG2 | Device configuration2 | Section 7.7.3.3 |
AAh | PERI_CONFIG1 | Peripheral Configuration1 | Section 7.7.3.4 |
ACh | GD_CONFIG1 | Gate Driver Configuration1 | Section 7.7.3.5 |
AEh | GD_CONFIG2 | Gate Driver Configuration2 | Section 7.7.3.6 |
Complex bit access types are encoded to fit into small table cells. Table 7-35 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 |
PIN_CONFIG is shown in Table 7-36.
Return to the Summary Table.
Register to configure hardware pins
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | PARITY | R/W | 0h | Parity bit |
30-28 | FLUX_WEAKENING_CURRENT_RATIO | R/W | 0h | Max value of Flux Weakening Current Reference as % of ILIMIT
0h = Only circular limit in place 1h = 80% 2h = 70% 3h = 60% 4h = 50% 5h = 40% 6h = 30% 7h = 20% |
27 | VdcFilterDisable | R/W | 0h | Vdc filter disable
0h = Vdc filter Enable 1h = Vdc filter Disable |
26-22 | LEAD_ANGLE | R/W | 0h | Lead Angle (deg) 0- 15 = 1 × Bit Value 15 - 31 = 2 × (Bit Value -15) + 15 |
21-11 | MAX_POWER | R/W | 0h | Maximum power (Watts) 0- 1023 = 1 × Bit Value 1024 - 2047 = 2 × (Bit Value -1024) + 1024 |
10-9 | FG_IDLE_CONFIG | R/W | 0h | FG Configuration During Stop
0h = FG continues and end state not defined, provided FG_CONFIG (defining FG during coasting) 1h = FG is Hi-Z (Externally Pulled up) 2h = FG is pulled to Low 3h = FG is Hi-Z (Externally Pulled up) |
8-7 | FG_FAULT_CONFIG | R/W | 0h | FG signal behavior during fault
0h = FG is Hi-Z (Externally Pulled up) 1h = FG is Hi-Z (Externally Pulled up) 2h = FG is pulled to Low 3h = FG active till BEMF drops below BEMF threshold defined by FG_BEMF_THR if FG_CONFIG is1 |
6 | RESERVED | R/W | 0h | Reserved |
5 | BRAKE_PIN_MODE | R/W | 0h | Brake Pin Mode
0h = Low side Brake 1h = Reserved |
4 | RESERVED | R/W | 0h | Reserved |
3-2 | BRAKE_INPUT | R/W | 0h | Brake pin override
0h = Hardware Pin BRAKE 1h = Override pin and brake according to BRAKE_PIN_MODE 2h = Override pin and do not brake / align 3h = Hardware Pin BRAKE |
1-0 | SPEED_MODE | R/W | 0h | Configure Reference Command mode from Speed pin
0h = Analog Mode 1h = Controlled by Duty Cycle of SPEED Input Pin 2h = Register Override mode 3h = Controlled by Frequency of SPEED Input Pin |
DEVICE_CONFIG1 is shown in Table 7-37.
Return to the Summary Table.
Register to configure device
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | PARITY | R/W | 0h | Parity bit |
30 | MTPA_EN | R/W | 0h | Enable Maximum Torque Per Ampere Operation
0h = MTPA disabled 1h = MTPA enabled |
29-28 | DAC_SOX_ANA_CONFIG | R/W | 0h | Pin 33 configuration
0h = DACOUT 1h = CSA_OUT 2h = ANA_ON_PIN 3h = CSA_OUT |
27 | RESERVED | R/W | 0h | Reserved |
26-20 | I2C_SLAVE_ADDR | R/W | 0h | I2C slave address |
19-5 | RESERVED | R/W | 0h | Reserved |
4-3 | SLEW_RATE_I2C_PINS | R/W | 0h | Slew Rate Control for I2C Pins
0h = 4.8 mA 1h = 3.9 mA 2h = 1.86 mA 3h = 30.8 mA |
2 | PULLUP_ENABLE | R/W | 0h | Internal Pull up Enable for nFault and FG Pins
0h = Disable 1h = Enable |
1-0 | BUS_VOLT | R/W | 0h | Maximum DC Bus Voltage Configuration (V)
0h = 15 V 1h = 30 V 2h = 60 V 3h = Not defined |
DEVICE_CONFIG2 is shown in Table 7-38.
Return to the Summary Table.
Register to configure device
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | PARITY | R/W | 0h | Parity bit |
30-16 | INPUT_MAXIMUM_FREQ | R/W | 0h | Input frequency on speed pin for control mode as "controlled by frequency speed pin input" that corresponds to 100% duty cycle Input duty cycle = Input frequency / INPUT_MAXIMUM_FREQ |
15-14 | SLEEP_ENTRY_TIME | R/W | 0h | Device enters sleep mode when input source is held at or below the sleep entry threshold for SLEEP_ENTRY_TIME
0h = Sleep entry when SPEED pin remains low for 50µs 1h = Sleep entry when SPEED pin remains low for 200µs 2h = Sleep entry when SPEED pin remains low for 20ms 3h = Sleep entry when SPEED pin remains low for 200ms |
13 | RESERVED | R/W | 0h | Reserved |
12 | DYNAMIC_VOLTAGE_GAIN_EN | R/W | 0h | Adjust voltage gain at 1ms rate for optimal voltage resolution at all voltage levels
0h = Dynamic Voltage Gain is Disabled 1h = Dynamic Voltage Gain is Enabled |
11 | DEV_MODE | R/W | 0h | Device mode select
0h = Standby Mode 1h = Sleep Mode |
10-9 | CLK_SEL | R/W | 0h | Clock Source
0h = Internal Oscillator 1h = N/A 2h = NA 3h = External Clock input |
8 | EXT_CLK_EN | R/W | 0h | Enable External Clock mode
0h = Disable 1h = Enable |
7-5 | EXT_CLK_CONFIG | R/W | 0h | External Clock Configuration
0h = 8KHz 1h = 16KHz 2h = 32KHz 3h = 64KHz 4h = 128 KHz 5h = 256 KHz 6h = 512KHz 7h = 1024 KHz |
4 | EXT_WD_EN | R/W | 0h | Enable external Watch Dog
0h = Disable 1h = Enable |
3-2 | EXT_WD_CONFIG | R/W | 0h | External Watchdog Configuration in I2C mode
0h = 1s 1h = 2s 2h = 5s 3h = 10s |
1 | RESERVED | R/W | 0h | Reserved |
0 | EXT_WD_FAULT_MODE | R/W | 0h | External Watchdog Fault Mode
0h = Report Only 1h = Latch with Hi-z |
PERI_CONFIG1 is shown in Table 7-39.
Return to the Summary Table.
Register to peripheral1
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | PARITY | R/W | 0h | Parity bit |
30 | SPREAD_SPECTRUM_MODULATION_DIS | R/W | 1h | Spread Spectrum Modulation Disable
0h = SSM is Enabled 1h = SSM is Disabled |
29-26 | DIG_DEAD_TIME | R/W | 0h | Dead time
0h = 0 1h = 50 ns 2h = 100 ns 3h = 150 ns 4h = 200 ns 5h = 250 ns 6h = 300 ns 7h = 350 ns 8h = 400 ns 9h = 450 ns Ah = 500 ns Bh = 600 ns Ch = 700 ns Dh = 800 ns Eh = 900 ns Fh = 1000 ns |
25-22 | BUS_CURRENT_LIMIT | R/W | 0h | Bus Current Limit (% of BASE_CURRENT)
0h = 5 % 1h = 10 % 2h = 15 % 3h = 20 % 4h = 25 % 5h = 30 % 6h = 40 % 7h = 50 % 8h = 60 % 9h = 65 % Ah = 70 % Bh = 75 % Ch = 80 % Dh = 85 % Eh = 90 % Fh = 95 % |
21 | BUS_CURRENT_LIMIT_ENABLE | R/W | 0h | Bus Current Limit Enable
0h = Disable 1h = Enable |
20-19 | DIR_INPUT | R/W | 0h | DIR pin override
0h = Hardware Pin DIR 1h = Override DIR pin with clockwise rotation OUTA-OUTB-OUTC 2h = Override DIR pin with counter clockwise rotation OUTA-OUTC-OUTB 3h = Hardware Pin DIR |
18 | DIR_CHANGE_MODE | R/W | 0h | Response to change of DIR pin status
0h = Follow motor stop options and ISD routine on detecting DIR change 1h = Change the direction through Reverse Drive while continuously driving the motor |
17 | RESERVED | R/W | 0h | Reserved |
16-13 | ACTIVE_BRAKE_SPEED_DELTA_LIMIT_ENTRY | R/W | 0h | Speed Reference difference(% of MAX_SPEED) to enter Active Brake state
0h = 2.5% 1h = 5% 2h = 10% 3h = 15% 4h = 20% 5h = 25% 6h = 30% 7h = 35% 8h = 40% 9h = 45% Ah = 50% Bh = 60% Ch = 70% Dh = 80% Eh = 90% Fh = 100% |
12-10 | ACTIVE_BRAKE_MOD_INDEX_LIMIT | R/W | 0h | Modulation Index limit below which active braking will be applied
0h = 0% 1h = 40% 2h = 50% 3h = 60% 4h = 70% 5h = 80% 6h = 90% 7h = 100% |
9 | SPD_RANGE_SELECT | R/W | 0h | SPEED/WAKE pin PWM input frequency selection
0h = 325Hz to 100KHz speed PWM input 1h = 10Hz to 325Hz speed PWM input |
8 | RESERVED | R/W | 0h | Reserved |
7-6 | FLUX_WEAKENING_REFERENCE | R/W | 0h | Modulation Index Reference to be tracked in Flux Weakening mode
0h = 70% 1h = 80% 2h = 90% 3h = 95% |
5-4 | CTRL_MODE | R/W | 0h | Control mode
0h = Speed Control 1h = Power Control 2h = Current Control 3h = Modulation index Control |
3-0 | SALIENCY_PERCENTAGE | R/W | 0h | Saliency Percentage calculated as ((Lq-Ld) × 100)/(4 × (Lq+Ld)) |
GD_CONFIG1 is shown in Table 7-40.
Return to the Summary Table.
Register to configure gated driver settings1
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | PARITY | R/W | 0h | Parity bit |
30-26 | RESERVED | R/W | 0h | Reserved |
25-24 | BST_CHRG_TIME | R/W | 0h | Bootstrap Capacitor Charging Time
0h = 0 ms 1h = 3 ms 2h = 6 ms 3h = 12 ms |
23 | SNS_FLT_MODE | R/W | 0h | Sense Over Current Fault Mode
0h = Latch Mode 1h = Retry after tLCK_RETRY |
22 | VDS_FLT_MODE | R/W | 0h | VDS Over Current Fault Mode
0h = Latch Mode 1h = Retry after tLCK_RETRY |
21 | BST_UV_MODE | R/W | 0h | BST Under Voltage Fault Mode
0h = Latch Mode 1h = Retry after tLCK_RETRY |
20 | GVDD_UV_MODE | R/W | 0h | GVDD Under Voltage Fault Mode
0h = Latch Mode 1h = Retry after tLCK_RETRY |
19 | RESERVED | R/W | 0h | Reserved |
18 | RESERVED | R/W | 0h | Reserved |
17 | RESERVED | R/W | 0h | Reserved |
16 | DIS_BST_FLT | R/W | 0h | Disable BST Fault
0h = Enable BST Fault 1h = Disable BST Fault |
15 | OTS_AUTO_RECOVERY | R/W | 0h | OTS Auto recovery
0h = OTS Latched Fault 1h = OTS Auto Recovery |
14-10 | RESERVED | R/W | 0h | Reserved |
9 | DIS_SNS_FLT | R/W | 0h | Disable Sense Fault
0h = Enable SNS OCP Fault 1h = Disable SNS OCP Fault |
8 | DIS_VDS_FLT | R/W | 0h | Disable VDS Fault
0h = Enable VDS Fault 1h = Disable VDS Fault |
7 | RESERVED | R/W | 0h | Reserved |
6-3 | SEL_VDS_LVL | R/W | 0h | Select the VDS_OCP Levels
0h = 0.06 V 1h = 0.12 V 2h = 0.18 V 3h = 0.24 V 4h = 0.3 V 5h = 0.36 V 6h = 0.42 V 7h = 0.48 V 8h = 0.6 V 9h = 0.8 V Ah = 1.0 V Bh = 1.2 V Ch = 1.4 V Dh = 1.6 V Eh = 1.8 V Fh = 2.0 V |
2 | RESERVED | R/W | 0h | Reserved |
1-0 | CSA_GAIN | R/W | 0h | Current Sense Amplifier (CSA) Gain
0h = 5 V/V 1h = 10 V/V 2h = 20 V/V 3h = 40 V/V |
GD_CONFIG2 is shown in Table 7-41.
Return to the Summary Table.
Register to configure gated driver settings2
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | PARITY | R/W | 0h | Parity bit |
30-15 | RESERVED | R/W | 0h | Reserved |
14-0 | BASE_CURRENT | R/W | 0h | Base current (15 bit value) calculated based on gain settings Base Current in Ampere = 1.5/(RSENSE × CSA_GAIN) BASE_CURRENT = Base Current in Ampere × 32768/1200 Example: for 15A, enter 15 × 32768 / 1200 |