SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
Primary (data) filters can be synchronized with respect to the PWM event (called SDSYNC event). The SDSYNC signal from the PWM module is used to reset the DOSR counter. This feature is by default disabled and can be enabled by setting SDDFPARMx.SDSYNCEN = 1. Each primary filter can be synchronized from any of the available PWMx SOCA/SOCB signals (see Table 28-5). Additionally, PWM11.CMPC/CMPD can be used to reset SDFM1 filter modules and PWM12.CMPC/CMPD can be used to reset SDFM2 filter modules. The SDSYNCx.SDSYNCSEL bits allow the user to configure which PWM signal provides the SDSYNC pulse to the primary filter. Figure 28-10 shows how device PWM signals are connected to the SDFM modules.
SDSYNCx.SYNCSEL | Sync Source |
---|---|
0 | EPWM1_SOCA |
1 | EPWM1_SOCA |
2-3 | Reserved |
4 | EPWM2_SOCA |
5 | EPWM2_SOCA |
6-7 | Reserved |
8 | EPWM3_SOCA |
9 | EPWM3_SOCA |
10-11 | Reserved |
12 | EPWM4_SOCA |
13 | EPWM4_SOCA |
14-15 | Reserved |
16 | EPWM5_SOCA |
17 | EPWM5_SOCA |
18-19 | Reserved |
20 | EPWM6_SOCA |
21 | EPWM6_SOCA |
22-23 | Reserved |
24 | EPWM7_SOCA |
25 | EPWM7_SOCA |
26-27 | Reserved |
28 | EPWM8_SOCA |
29 | EPWM8_SOCA |
30-31 | Reserved |
32 | EPWM9_SOCA |
33 | EPWM9_SOCA |
34-35 | Reserved |
36 | EPWM10_SOCA |
37 | EPWM10_SOCA |
38-39 | Reserved |
40 | EPWM11_SOCA |
41 | EPWM11_SOCA |
42-43 | Reserved |
44 | EPWM12_SOCA |
45 | EPWM12_SOCA |
46-47 | Reserved |
48 | EPWM13_SOCA |
49 | EPWM13_SOCA |
50-51 | Reserved |
52 | EPWM14_SOCA |
53 | EPWM14_SOCA |
54-55 | Reserved |
56 | EPWM15_SOCA |
57 | EPWM15_SOCA |
58-59 | Reserved |
60 | EPWM16_SOCA |
61 | EPWM16_SOCB |
62 | Reserved |
63 | SD1SYNC1-EPWM11_CMPC SD1SYNC2-EPWM11_CMPC SD1SYNC3-EPWM11_CMPD SD1SYNC4-EPWM11_CMPD SD2SYNC1-EPWM12_CMPC SD2SYNC2-EPWM12_CMPC SD2SYNC3-EPWM12_CMPD SD2SYNC4-EPWM12_CMPD |
Because of the inherent architecture of the Sinc filter (Sinc1, Sinc2, Sinc3, SincFast), the first few samples, depending upon filter type, are incorrect. Table 28-6 shows the number of incorrect samples on the following conditions:
Filter Type | Number of Incorrect Samples After the Filter is Enabled and Configured |
---|---|
Sinc1 | No incorrect sample. |
Sinc2 | The first sample of the Sinc2 filter is incorrect. |
SincFast | The first two samples of the SincFast filter are incorrect. |
Sinc3 | The first two samples of the Sinc3 filter are incorrect. |