SLVSH03 December 2023 DRV8234
PRODUCTION DATA
Table 7-43 lists the memory-mapped registers for the DRV8234_CTRL registers. All register offset addresses not listed in Table 7-43 should be considered as reserved locations and the register contents should not be modified.
Offset | Acronym | Register Name | Section |
---|---|---|---|
Eh | REG_CTRL0 | Regulation control registers (1/3). | Section 7.6.3.1 |
Fh | REG_CTRL1 | Regulation control registers (2/3). | Section 7.6.3.2 |
10h | REG_CTRL2 | Regulation control registers (3/3). | Section 7.6.3.3 |
11h | RC_CTRL0 | Ripple Counting Control Registers - (1/9). | Section 7.6.3.4 |
12h | RC_CTRL1 | Ripple Counting Control Registers - (2/9). | Section 7.6.3.5 |
13h | RC_CTRL2 | Ripple Counting Control Registers - (3/9). | Section 7.6.3.6 |
14h | RC_CTRL3 | Ripple Counting Control Registers - (4/9). | Section 7.6.3.7 |
15h | RC_CTRL4 | Ripple Counting Control Registers - (5/9). | Section 7.6.3.8 |
16h | RC_CTRL5 | Ripple Counting Control Registers - (6/9). | Section 7.6.3.9 |
17h | RC_CTRL6 | Ripple Counting Control Registers - (7/9). | Section 7.6.3.10 |
18h | RC_CTRL7 | Ripple Counting Control Registers - (8/9). | Section 7.6.3.11 |
19h | RC_CTRL8 | Ripple Counting Control Registers - (9/9). | Section 7.6.3.12 |
Complex bit access types are encoded to fit into small table cells. Table 7-44 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 |
REG_CTRL0 is shown in Table 7-45.
Return to the Summary Table.
Set features like Soft Start/Stop, speed scaling factor, etc.
REG_CTRL1 is shown in Table 7-46.
Return to the Summary Table.
Set the target motor voltage and speed.
REG_CTRL2 is shown in Table 7-47.
Return to the Summary Table.
Set the duty cycle and cut-off frequency for output voltage filtering.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7-6 | OUT_FLT | R/W | 0h | Programs the cut-off frequency of the output voltage filtering. 00b: 250Hz 01b: 500Hz 10b: 750Hz 11b: 1000Hz For best results, choose a cut-off frequency equal to a value at least 20 times lower than the PWM frequency. Eg, if you PWM at 20kHz, OUT_FLT=11b (1000Hz) is sufficient. |
5-0 | EXT_DUTY | R/W | 0h | Available when using external bridge control (I2C_BC=0b). DUTY_CTRL must be set to 1b. Speed and voltage regulation modes are inactive in this case. User can program the desired duty cycle in the EXT_DUTY bits. The range of duty cycle is 0% (000000b) to 100% (111111b). |
RC_CTRL0 is shown in Table 7-48.
Return to the Summary Table.
Set various functions for RC including enable/disable.
RC_CTRL1 is shown in Table 7-49.
Return to the Summary Table.
Threshold for ripple counting.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7-0 | RC_THR | R/W | FFh | Lower 8 bits of the 10-bit RC_THR Register. Threshold level to compare against the RC_CNT based on the expected time of motor actuation. Ripple counting threshold = RC_THR x RC_THR_SCALE |
RC_CTRL2 is shown in Table 7-50.
Return to the Summary Table.
Set values of various scaling parameters.
RC_CTRL3 is shown in Table 7-51.
Return to the Summary Table.
Set the INV_R parameter.
RC_CTRL4 is shown in Table 7-52.
Return to the Summary Table.
Set the KMC parameter.
RC_CTRL5 is shown in Table 7-53.
Return to the Summary Table.
Set the filter damping constant.
RC_CTRL6 is shown in Table 7-54.
Return to the Summary Table.
Disable the Error Correction pulses for Ripple Counting.
RC_CTRL7 is shown in Table 7-55.
Return to the Summary Table.
Set the proportional constant in PI control loop.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7-5 | KP_DIV | R/W | 1h | Used to select a division value for calculating the actual proportional constant for the PI control loop. Actual proportional constant = KP/KP_DIV. Settings are as follows: 000b: 32 001b: 64 010b: 128 011b: 256 100b: 512 101b: 16 110b: 1 |
4-0 | KP | R/W | 1h | Represents the PI loop KP constant. This is not the actual proportional constant that is fed into the gain block of the PI control loop. Rather, the actual proportional constant can be calculated using this value of the KP register. Actual Proportional Constant = KP/KP_DIV. For example, if actual proportional constant is 0.0625, then KP can be set to 1 (00001b), and KP_DIV can be set to 16 (corresponds to 101b), hence, Actual proportional constant = 1/16 = 0.0625. |
RC_CTRL8 is shown in Table 7-56.
Return to the Summary Table.
Set the integral constant in PI control loop.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7-5 | KI_DIV | R/W | 1h | Used to select a division value for calculating the actual integral constant for the PI control loop. Actual integral constant = KI/KI_DIV. Settings are as follows: 000b: 32 001b: 64 010b: 128 011b: 256 100b: 512 101b: 16 110b: 1 |
4-0 | KI | R/W | 1h | Represents the PI loop KI constant. This is not the actual integral constant that is fed into the gain block of the PI control loop. Rather, the actual integral constant can be calculated using this value of the KI register. Actual Integral Constant = KI/KI_DIV. For example, if actual integral constant is 0.90625, then KI can be set to 29 (11101b), and KI_DIV can be set to 32 (corresponds to 000b), hence, Actual integral constant = 29/32 = 0.90625. |