SLDS274A September 2024 – March 2025 DRV81242-Q1
PRODUCTION DATA
The device has two independent integrated PWM generators. Each PWM generator can be assigned to one or more channels, and can be programmed with a different duty cycle and frequency.
Both PWM generators refer to a base frequency fINT generated by an internal oscillator. This base frequency can be adjusted using FPWM bits as described below.
|
FPWM Bits |
Delta to fINT |
|
0000b |
Reserved |
|
0001b |
-37.2% |
|
0010b |
-31.9% |
|
0011b |
-26.9% |
|
0100b |
-21% |
|
0101b |
-15.5% |
|
0110b |
-10.9% |
|
0111b |
-5.8% |
|
1000b |
- |
|
1001b |
+4.3% |
|
1010b |
+8.9% |
|
1011b |
+14% |
|
1100b |
+19.5% |
|
1101b |
+25.6% |
|
1110b |
+32.4% |
|
1111b |
+40% |
For each PWM generator, four parameters can be set:
|
FCTR0 |
FREQ0 |
PWM Frequency |
|
0b |
00b |
fINT/1024 (corresponding to 100Hz) |
|
0b |
01b |
fINT/512 (corresponding to 200Hz) |
|
0b |
10b |
fINT/256 (corresponding to 400Hz) |
|
1b |
00b |
fINT/128 (corresponding to 800Hz) |
|
1b |
01b |
fINT/64 (corresponding to 1600Hz) |
|
1b |
10b |
fINT/51.2 (corresponding to 2000Hz) |
| FCTR1 | FREQ1 | PWM Frequency |
| 0b | 00b | fINT/1024 (corresponding to 100Hz) |
| 0b | 01b | fINT/512 (corresponding to 200Hz) |
| 0b | 10b | fINT/256 (corresponding to 400Hz) |
| 1b | 00b | fINT/128 (corresponding to 800Hz) |
| 1b | 01b | fINT/64 (corresponding to 1600Hz) |
| 1b | 10b | fINT/51.2 (corresponding to 2000Hz) |
Figure 7-12 expands the concept shown in adding the PWM Generators.