SPRUIZ1B July 2023 – August 2024 TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1
Each CLB module has eight inputs that are applied to the reconfigurable logic cell. Each of these inputs can be selectively driven by a predefined set of signals. A two-level mux structure allows each input of each CLB instance to select a signal.
A set of signals is common to all the CLB instances. These are referred to as global inputs in Figure 8-6. A separate set of signals is unique to each instance of the CLB. These are referred to as local inputs in Figure 8-6.
Registers CLB_LCL_MUX_SEL_1 and CLB_LCL_MUX_SEL_2 control the local mux selection for each of the eight inputs. The mux control registers CLB_GLBL_MUX_SEL_1 and CLB_GLBL_MUX_SEL_2 control the global mux selection for each of the eight inputs.
The local mux select value of 0 causes the selected global mux input signal to be connected to the corresponding CLB Input. For example, setting CLB_LCL_MUX_SEL_IN_0 = 0 and CLB_GLBL_MUX_SEL_IN_0 = 8 causes the global mux input number 8 to be connected to CLB Input 0. The input filter feature can be used to enable edge detection on the CLB inputs. The input filter feature can also synchronize the input with the CLB clock.
The global mux settings are shown in Table 8-2 and Table 8-3. The local input mux settings are shown in Table 8-4 and Table 8-5.
Figure 8-7 shows an example of how to use synchronization for an asynchronous signal, in this case the ePWM signal. Figure 8-8 shows an instance of using input pipelining for a synchronous signal, which here is the ePWM TBCLK signal. Note that these two input configurations are not used simultaneously, and each have a cycle delay that adds to the input path.
If a signal in the following table indicates that synchronization is not required, as the signal is already synchronous, then pipelining is required and must be enabled using the PIPE bit in the CLB_INPUT_FILTER register. This pipelining adds a 1 CLB clock cycle delay to the input. This is not to be mistaken with the PIPELINE_EN bit in the CLB_LOAD_EN register, which controls pipelining of the CLB operations in the HLC and counter blocks. This PIPELINE_EN bit is also used when the device is run above 100MHz. Having synchronization and pipelining both enabled or both disabled is not recommended. Enabling both synchronization and pipelining introduces a delay of more than 2-3 CLB clock cycles on the signal path. Disabling both allows the completely asynchronous signal to be routed as an input.
Select Value | CLB1 Input | CLB2 Input | CLB3 Input | CLB4 Input | Synchronization Requirement |
---|---|---|---|---|---|
0 | EPWM1A | EPWM1A | EPWM1A | EPWM1A | Enable |
1 | EPWM1A_OE | EPWM1A_OE | EPWM1A_OE | EPWM1A_OE | Enable |
2 | EPWM1B | EPWM1B | EPWM1B | EPWM1B | Enable |
3 | EPWM1B_OE | EPWM1B_OE | EPWM1B_OE | EPWM1B_OE | Enable |
4 | EPWM1_CTR_ZERO | EPWM1_CTR_ZERO | EPWM1_CTR_ZERO | EPWM1_CTR_ZERO | Disable |
5 | EPWM1_CTR_PRD | EPWM1_CTR_PRD | EPWM1_CTR_PRD | EPWM1_CTR_PRD | Disable |
6 | EPWM1_CTR_DIR | EPWM1_CTR_DIR | EPWM1_CTR_DIR | EPWM1_CTR_DIR | Disable |
7 | EPWM1_TBCLK | EPWM1_TBCLK | EPWM1_TBCLK | EPWM1_TBCLK | Disable |
8 | EPWM1_CTR_CMPA | EPWM1_CTR_CMPA | EPWM1_CTR_CMPA | EPWM1_CTR_CMPA | Disable |
9 | EPWM1_CTR_CMPB | EPWM1_CTR_CMPB | EPWM1_CTR_CMPB | EPWM1_CTR_CMPB | Disable |
10 | EPWM1_CTR_CMPC | EPWM1_CTR_CMPC | EPWM1_CTR_CMPC | EPWM1_CTR_CMPC | Disable |
11 | EPWM1_CTR_CMPD | EPWM1_CTR_CMPD | EPWM1_CTR_CMPD | EPWM1_CTR_CMPD | Disable |
12 | EPWM1A_AQ | EPWM1A_AQ | EPWM1A_AQ | EPWM1A_AQ | Disable |
13 | EPWM1B_AQ | EPWM1B_AQ | EPWM1B_AQ | EPWM1B_AQ | Disable |
14 | EPWM1A_DB | EPWM1A_DB | EPWM1A_DB | EPWM1A_DB | Enable |
15 | EPWM1B_DB | EPWM1B_DB | EPWM1B_DB | EPWM1B_DB | Enable |
16 | EPWM2A | EPWM2A | EPWM2A | EPWM2A | Enable |
17 | EPWM2A_OE | EPWM2A_OE | EPWM2A_OE | EPWM2A_OE | Enable |
18 | EPWM2B | EPWM2B | EPWM2B | EPWM2B | Enable |
19 | EPWM2B_OE | EPWM2B_OE | EPWM2B_OE | EPWM2B_OE | Enable |
20 | EPWM2_CTR_ZERO | EPWM2_CTR_ZERO | EPWM2_CTR_ZERO | EPWM2_CTR_ZERO | Disable |
21 | EPWM2_CTR_PRD | EPWM2_CTR_PRD | EPWM2_CTR_PRD | EPWM2_CTR_PRD | Disable |
22 | EPWM2_CTR_DIR | EPWM2_CTR_DIR | EPWM2_CTR_DIR | EPWM2_CTR_DIR | Disable |
23 | EPWM2_TBCLK | EPWM2_TBCLK | EPWM2_TBCLK | EPWM2_TBCLK | Disable |
24 | EPWM2_CTR_CMPA | EPWM2_CTR_CMPA | EPWM2_CTR_CMPA | EPWM2_CTR_CMPA | Disable |
25 | EPWM2_CTR_CMPB | EPWM2_CTR_CMPB | EPWM2_CTR_CMPB | EPWM2_CTR_CMPB | Disable |
26 | EPWM2_CTR_CMPC | EPWM2_CTR_CMPC | EPWM2_CTR_CMPC | EPWM2_CTR_CMPC | Disable |
27 | EPWM2_CTR_CMPD | EPWM2_CTR_CMPD | EPWM2_CTR_CMPD | EPWM2_CTR_CMPD | Disable |
28 | EPWM2A_AQ | EPWM2A_AQ | EPWM2A_AQ | EPWM2A_AQ | Disable |
29 | EPWM2B_AQ | EPWM2B_AQ | EPWM2B_AQ | EPWM2B_AQ | Disable |
30 | EPWM2A_DB | EPWM2A_DB | EPWM2A_DB | EPWM2A_DB | Enable |
31 | EPWM2B_DB | EPWM2B_DB | EPWM2B_DB | EPWM2B_DB | Enable |
32 | EPWM3A | EPWM3A | EPWM3A | EPWM3A | Enable |
33 | EPWM3A_OE | EPWM3A_OE | EPWM3A_OE | EPWM3A_OE | Enable |
34 | EPWM3B | EPWM3B | EPWM3B | EPWM3B | Enable |
35 | EPWM3B_OE | EPWM3B_OE | EPWM3B_OE | EPWM3B_OE | Enable |
36 | EPWM3_CTR_ZERO | EPWM3_CTR_ZERO | EPWM3_CTR_ZERO | EPWM3_CTR_ZERO | Disable |
37 | EPWM3_CTR_PRD | EPWM3_CTR_PRD | EPWM3_CTR_PRD | EPWM3_CTR_PRD | Disable |
38 | EPWM3_CTR_DIR | EPWM3_CTR_DIR | EPWM3_CTR_DIR | EPWM3_CTR_DIR | Disable |
39 | EPWM3_TBCLK | EPWM3_TBCLK | EPWM3_TBCLK | EPWM3_TBCLK | Disable |
40 | EPWM3_CTR_CMPA | EPWM3_CTR_CMPA | EPWM3_CTR_CMPA | EPWM3_CTR_CMPA | Disable |
41 | EPWM3_CTR_CMPB | EPWM3_CTR_CMPB | EPWM3_CTR_CMPB | EPWM3_CTR_CMPB | Disable |
42 | EPWM3_CTR_CMPC | EPWM3_CTR_CMPC | EPWM3_CTR_CMPC | EPWM3_CTR_CMPC | Disable |
43 | EPWM3_CTR_CMPD | EPWM3_CTR_CMPD | EPWM3_CTR_CMPD | EPWM3_CTR_CMPD | Disable |
44 | EPWM3A_AQ | EPWM3A_AQ | EPWM3A_AQ | EPWM3A_AQ | Disable |
45 | EPWM3B_AQ | EPWM3B_AQ | EPWM3B_AQ | EPWM3B_AQ | Disable |
46 | EPWM3A_DB | EPWM3A_DB | EPWM3A_DB | EPWM3A_DB | Enable |
47 | EPWM3B_DB | EPWM3B_DB | EPWM3B_DB | EPWM3B_DB | Enable |
48 | EPWM4A | EPWM4A | EPWM4A | EPWM4A | Enable |
49 | EPWM4A_OE | EPWM4A_OE | EPWM4A_OE | EPWM4A_OE | Enable |
50 | EPWM4B | EPWM4B | EPWM4B | EPWM4B | Enable |
51 | EPWM4B_OE | EPWM4B_OE | EPWM4B_OE | EPWM4B_OE | Enable |
52 | EPWM4_CTR_ZERO | EPWM4_CTR_ZERO | EPWM4_CTR_ZERO | EPWM4_CTR_ZERO | Disable |
53 | EPWM4_CTR_PRD | EPWM4_CTR_PRD | EPWM4_CTR_PRD | EPWM4_CTR_PRD | Disable |
54 | EPWM4_CTR_DIR | EPWM4_CTR_DIR | EPWM4_CTR_DIR | EPWM4_CTR_DIR | Disable |
55 | EPWM4_TBCLK | EPWM4_TBCLK | EPWM4_TBCLK | EPWM4_TBCLK | Disable |
56 | EPWM4_CTR_CMPA | EPWM4_CTR_CMPA | EPWM4_CTR_CMPA | EPWM4_CTR_CMPA | Disable |
57 | EPWM4_CTR_CMPB | EPWM4_CTR_CMPB | EPWM4_CTR_CMPB | EPWM4_CTR_CMPB | Disable |
58 | EPWM4_CTR_CMPC | EPWM4_CTR_CMPC | EPWM4_CTR_CMPC | EPWM4_CTR_CMPC | Disable |
59 | EPWM4_CTR_CMPD | EPWM4_CTR_CMPD | EPWM4_CTR_CMPD | EPWM4_CTR_CMPD | Disable |
60 | EPWM4A_AQ | EPWM4A_AQ | EPWM4A_AQ | EPWM4A_AQ | Disable |
61 | EPWM4B_AQ | EPWM4B_AQ | EPWM4B_AQ | EPWM4B_AQ | Disable |
62 | EPWM4A_DB | EPWM4A_DB | EPWM4A_DB | EPWM4A_DB | Enable |
63 | EPWM4B_DB | EPWM4B_DB | EPWM4B_DB | EPWM4B_DB | Enable |
64 | AUXSIG0 | AUXSIG0 | AUXSIG0 | AUXSIG0 | Enable |
65 | AUXSIG1 | AUXSIG1 | AUXSIG1 | AUXSIG1 | Enable |
66 | AUXSIG2 | AUXSIG2 | AUXSIG2 | AUXSIG2 | Enable |
67 | AUXSIG3 | AUXSIG3 | AUXSIG3 | AUXSIG3 | Enable |
68 | AUXSIG4 | AUXSIG4 | AUXSIG4 | AUXSIG4 | Enable |
69 | AUXSIG5 | AUXSIG5 | AUXSIG5 | AUXSIG5 | Enable |
70 | AUXSIG6 | AUXSIG6 | AUXSIG6 | AUXSIG6 | Enable |
71 | AUXSIG7 | AUXSIG7 | AUXSIG7 | AUXSIG7 | Enable |
72 | CLB1_OUT16 | CLB1_OUT16 | CLB1_OUT16 | CLB1_OUT16 | Disable |
73 | CLB1_OUT17 | CLB1_OUT17 | CLB1_OUT17 | CLB1_OUT17 | Disable |
74 | CLB1_OUT18 | CLB1_OUT18 | CLB1_OUT18 | CLB1_OUT18 | Disable |
75 | CLB1_OUT19 | CLB1_OUT19 | CLB1_OUT19 | CLB1_OUT19 | Disable |
76 | CLB1_OUT20 | CLB1_OUT20 | CLB1_OUT20 | CLB1_OUT20 | Disable |
77 | CLB1_OUT21 | CLB1_OUT21 | CLB1_OUT21 | CLB1_OUT21 | Disable |
78 | CLB1_OUT22 | CLB1_OUT22 | CLB1_OUT22 | CLB1_OUT22 | Disable |
79 | CLB1_OUT23 | CLB1_OUT23 | CLB1_OUT23 | CLB1_OUT23 | Disable |
80 | CLB2_OUT16 | CLB2_OUT16 | CLB2_OUT16 | CLB2_OUT16 | Disable |
81 | CLB2_OUT17 | CLB2_OUT17 | CLB2_OUT17 | CLB2_OUT17 | Disable |
82 | CLB2_OUT18 | CLB2_OUT18 | CLB2_OUT18 | CLB2_OUT18 | Disable |
83 | CLB2_OUT19 | CLB2_OUT19 | CLB2_OUT19 | CLB2_OUT19 | Disable |
84 | CLB2_OUT20 | CLB2_OUT20 | CLB2_OUT20 | CLB2_OUT20 | Disable |
85 | CLB2_OUT21 | CLB2_OUT21 | CLB2_OUT21 | CLB2_OUT21 | Disable |
86 | CLB2_OUT22 | CLB2_OUT22 | CLB2_OUT22 | CLB2_OUT22 | Disable |
87 | CLB2_OUT23 | CLB2_OUT23 | CLB2_OUT23 | CLB2_OUT23 | Disable |
88 | CLB3_OUT16 | CLB3_OUT16 | CLB3_OUT16 | CLB3_OUT16 | Disable |
89 | CLB3_OUT17 | CLB3_OUT17 | CLB3_OUT17 | CLB3_OUT17 | Disable |
90 | CLB3_OUT18 | CLB3_OUT18 | CLB3_OUT18 | CLB3_OUT18 | Disable |
91 | CLB3_OUT19 | CLB3_OUT19 | CLB3_OUT19 | CLB3_OUT19 | Disable |
92 | CLB3_OUT20 | CLB3_OUT20 | CLB3_OUT20 | CLB3_OUT20 | Disable |
93 | CLB3_OUT21 | CLB3_OUT21 | CLB3_OUT21 | CLB3_OUT21 | Disable |
94 | CLB3_OUT22 | CLB3_OUT22 | CLB3_OUT22 | CLB3_OUT22 | Disable |
95 | CLB3_OUT23 | CLB3_OUT23 | CLB3_OUT23 | CLB3_OUT23 | Disable |
96 | CLB4_OUT16 | CLB4_OUT16 | CLB4_OUT16 | CLB4_OUT16 | Disable |
97 | CLB4_OUT17 | CLB4_OUT17 | CLB4_OUT17 | CLB4_OUT17 | Disable |
98 | CLB4_OUT18 | CLB4_OUT18 | CLB4_OUT18 | CLB4_OUT18 | Disable |
99 | CLB4_OUT19 | CLB4_OUT19 | CLB4_OUT19 | CLB4_OUT19 | Disable |
100 | CLB4_OUT20 | CLB4_OUT20 | CLB4_OUT20 | CLB4_OUT20 | Disable |
101 | CLB4_OUT21 | CLB4_OUT21 | CLB4_OUT21 | CLB4_OUT21 | Disable |
102 | CLB4_OUT22 | CLB4_OUT22 | CLB4_OUT22 | CLB4_OUT22 | Disable |
103 | CLB4_OUT23 | CLB4_OUT23 | CLB4_OUT23 | CLB4_OUT23 | Disable |
104 | CPU1_ERAD_EVT0 | CPU1_ERAD_EVT0 | CPU1_ERAD_EVT0 | CPU1_ERAD_EVT0 | Disable |
105 | CPU1_ERAD_EVT1 | CPU1_ERAD_EVT1 | CPU1_ERAD_EVT1 | CPU1_ERAD_EVT1 | Disable |
106 | CPU1_ERAD_EVT2 | CPU1_ERAD_EVT2 | CPU1_ERAD_EVT2 | CPU1_ERAD_EVT2 | Disable |
107 | CPU1_ERAD_EVT3 | CPU1_ERAD_EVT3 | CPU1_ERAD_EVT3 | CPU1_ERAD_EVT3 | Disable |
108 | CPU1_ERAD_EVT4 | CPU1_ERAD_EVT4 | CPU1_ERAD_EVT4 | CPU1_ERAD_EVT4 | Disable |
109 | CPU1_ERAD_EVT5 | CPU1_ERAD_EVT5 | CPU1_ERAD_EVT5 | CPU1_ERAD_EVT5 | Disable |
110 | CPU1_ERAD_EVT6 | CPU1_ERAD_EVT6 | CPU1_ERAD_EVT6 | CPU1_ERAD_EVT6 | Disable |
111 | CPU1_ERAD_EVT7 | CPU1_ERAD_EVT7 | CPU1_ERAD_EVT7 | CPU1_ERAD_EVT7 | Disable |
112 | FSIRXA_DATA_PKT_RCVD | FSIRXA_DATA_PKT_RCVD | FSIRXA_DATA_PKT_RCVD | FSIRXA_DATA_PKT_RCVD | Disable |
113 | FSIRXA_ERROR_PKT_RCVD | FSIRXA_ERROR_PKT_RCVD | FSIRXA_ERROR_PKT_RCVD | FSIRXA_ERROR_PKT_RCVD | Disable |
114 | FSIRXA_PING_PKT_RCVD | FSIRXA_PING_PKT_RCVD | FSIRXA_PING_PKT_RCVD | FSIRXA_PING_PKT_RCVD | Disable |
115 | FSIRXA_FRAME_DONE | FSIRXA_FRAME_DONE | FSIRXA_FRAME_DONE | FSIRXA_FRAME_DONE | Disable |
116 | FSIRXA_PING_TAG_MATCH | FSIRXA_PING_TAG_MATCH | FSIRXA_PING_TAG_MATCH | FSIRXA_PING_TAG_MATCH | Disable |
117 | FSIRXA_DATA_TAG_MATCH | FSIRXA_DATA_TAG_MATCH | FSIRXA_DATA_TAG_MATCH | FSIRXA_DATA_TAG_MATCH | Disable |
118 | FSIRXA_ERROR_TAG_MATCH | FSIRXA_ERROR_TAG_MATCH | FSIRXA_ERROR_TAG_MATCH | FSIRXA_ERROR_TAG_MATCH | Disable |
119 | FSIRXA_TRIG2 | FSIRXA_TRIG2 | FSIRXA_TRIG2 | FSIRXA_TRIG2 | Disable |
120 | SPIA_CLK_OUT | SPIA_CLK_OUT | SPIA_CLK_OUT | SPIA_CLK_OUT | Enable |
121 | SPIA_POCI_IN | SPIA_POCI_IN | SPIA_POCI_IN | SPIA_POCI_IN | Enable |
122 | SPIA_PTE_OUT | SPIA_PTE_OUT | SPIA_PTE_OUT | SPIA_PTE_OUT | Enable |
123 | SPIB_CLK_OUT | SPIB_CLK_OUT | SPIB_CLK_OUT | SPIB_CLK_OUT | Enable |
124 | SPIB_POCI_IN | SPIB_POCI_IN | SPIB_POCI_IN | SPIB_POCI_IN | Enable |
125 | SPIB_PTE_OUT | SPIB_PTE_OUT | SPIB_PTE_OUT | SPIB_PTE_OUT | Enable |
126 | CPU2_HALT | CPU2_HALT | CPU2_HALT | CPU2_HALT | Disable |
127 | FSIRXA_TRIG3 | FSIRXA_TRIG3 | FSIRXA_TRIG3 | FSIRXA_TRIG3 | Disable |
Select Value | CLB5 Input | CLB6 Input | Synchronization Requirement |
---|---|---|---|
0 | EPWM5A | EPWM5A | Enable |
1 | EPWM5A_OE | EPWM5A_OE | Enable |
2 | EPWM5B | EPWM5B | Enable |
3 | EPWM5B_OE | EPWM5B_OE | Enable |
4 | EPWM5_CTR_ZERO | EPWM5_CTR_ZERO | Disable |
5 | EPWM5_CTR_PRD | EPWM5_CTR_PRD | Disable |
6 | EPWM5_CTR_DIR | EPWM5_CTR_DIR | Disable |
7 | EPWM5_TBCLK | EPWM5_TBCLK | Disable |
8 | EPWM5_CTR_CMPA | EPWM5_CTR_CMPA | Disable |
9 | EPWM5_CTR_CMPB | EPWM5_CTR_CMPB | Disable |
10 | EPWM5_CTR_CMPC | EPWM5_CTR_CMPC | Disable |
11 | EPWM5_CTR_CMPD | EPWM5_CTR_CMPD | Disable |
12 | EPWM5A_AQ | EPWM5A_AQ | Disable |
13 | EPWM5B_AQ | EPWM5B_AQ | Disable |
14 | EPWM5A_DB | EPWM5A_DB | Enable |
15 | EPWM5B_DB | EPWM5B_DB | Enable |
16 | EPWM6A | EPWM6A | Enable |
17 | EPWM6A_OE | EPWM6A_OE | Enable |
18 | EPWM6B | EPWM6B | Enable |
19 | EPWM6B_OE | EPWM6B_OE | Enable |
20 | EPWM6_CTR_ZERO | EPWM6_CTR_ZERO | Disable |
21 | EPWM6_CTR_PRD | EPWM6_CTR_PRD | Disable |
22 | EPWM6_CTR_DIR | EPWM6_CTR_DIR | Disable |
23 | EPWM6_TBCLK | EPWM6_TBCLK | Disable |
24 | EPWM6_CTR_CMPA | EPWM6_CTR_CMPA | Disable |
25 | EPWM6_CTR_CMPB | EPWM6_CTR_CMPB | Disable |
26 | EPWM6_CTR_CMPC | EPWM6_CTR_CMPC | Disable |
27 | EPWM6_CTR_CMPD | EPWM6_CTR_CMPD | Disable |
28 | EPWM6A_AQ | EPWM6A_AQ | Disable |
29 | EPWM6B_AQ | EPWM6B_AQ | Disable |
30 | EPWM6A_DB | EPWM6A_DB | Enable |
31 | EPWM6B_DB | EPWM6B_DB | Enable |
32 | EPWM7A | EPWM7A | Enable |
33 | EPWM7A_OE | EPWM7A_OE | Enable |
34 | EPWM7B | EPWM7B | Enable |
35 | EPWM7B_OE | EPWM7B_OE | Enable |
36 | EPWM7_CTR_ZERO | EPWM7_CTR_ZERO | Disable |
37 | EPWM7_CTR_PRD | EPWM7_CTR_PRD | Disable |
38 | EPWM7_CTR_DIR | EPWM7_CTR_DIR | Disable |
39 | EPWM7_TBCLK | EPWM7_TBCLK | Disable |
40 | EPWM7_CTR_CMPA | EPWM7_CTR_CMPA | Disable |
41 | EPWM7_CTR_CMPB | EPWM7_CTR_CMPB | Disable |
42 | EPWM7_CTR_CMPC | EPWM7_CTR_CMPC | Disable |
43 | EPWM7_CTR_CMPD | EPWM7_CTR_CMPD | Disable |
44 | EPWM7A_AQ | EPWM7A_AQ | Disable |
45 | EPWM7B_AQ | EPWM7B_AQ | Disable |
46 | EPWM7A_DB | EPWM7A_DB | Enable |
47 | EPWM7B_DB | EPWM7B_DB | Enable |
48 | EPWM8A | EPWM8A | Enable |
49 | EPWM8A_OE | EPWM8A_OE | Enable |
50 | EPWM8B | EPWM8B | Enable |
51 | EPWM8B_OE | EPWM8B_OE | Enable |
52 | EPWM8_CTR_ZERO | EPWM8_CTR_ZERO | Disable |
53 | EPWM8_CTR_PRD | EPWM8_CTR_PRD | Disable |
54 | EPWM8_CTR_DIR | EPWM8_CTR_DIR | Disable |
55 | EPWM8_TBCLK | EPWM8_TBCLK | Disable |
56 | EPWM8_CTR_CMPA | EPWM8_CTR_CMPA | Disable |
57 | EPWM8_CTR_CMPB | EPWM8_CTR_CMPB | Disable |
58 | EPWM8_CTR_CMPC | EPWM8_CTR_CMPC | Disable |
59 | EPWM8_CTR_CMPD | EPWM8_CTR_CMPD | Disable |
60 | EPWM8A_AQ | EPWM8A_AQ | Disable |
61 | EPWM8B_AQ | EPWM8B_AQ | Disable |
62 | EPWM8A_DB | EPWM8A_DB | Enable |
63 | EPWM8B_DB | EPWM8B_DB | Enable |
64 | AUXSIG0 | AUXSIG0 | Enable |
65 | AUXSIG1 | AUXSIG1 | Enable |
66 | AUXSIG2 | AUXSIG2 | Enable |
67 | AUXSIG3 | AUXSIG3 | Enable |
68 | AUXSIG4 | AUXSIG4 | Enable |
69 | AUXSIG5 | AUXSIG5 | Enable |
70 | AUXSIG6 | AUXSIG6 | Enable |
71 | AUXSIG7 | AUXSIG7 | Enable |
72 | CLB5_OUT16 | CLB5_OUT16 | Disable |
73 | CLB5_OUT17 | CLB5_OUT17 | Disable |
74 | CLB5_OUT18 | CLB5_OUT18 | Disable |
75 | CLB5_OUT19 | CLB5_OUT19 | Disable |
76 | CLB5_OUT20 | CLB5_OUT20 | Disable |
77 | CLB5_OUT21 | CLB5_OUT21 | Disable |
78 | CLB5_OUT22 | CLB5_OUT22 | Disable |
79 | CLB5_OUT23 | CLB5_OUT23 | Disable |
80 | CLB6_OUT16 | CLB6_OUT16 | Disable |
81 | CLB6_OUT17 | CLB6_OUT17 | Disable |
82 | CLB6_OUT18 | CLB6_OUT18 | Disable |
83 | CLB6_OUT19 | CLB6_OUT19 | Disable |
84 | CLB6_OUT20 | CLB6_OUT20 | Disable |
85 | CLB6_OUT21 | CLB6_OUT21 | Disable |
86 | CLB6_OUT22 | CLB6_OUT22 | Disable |
87 | CLB6_OUT23 | CLB6_OUT23 | Disable |
88 | CLB3_OUT16 | CLB3_OUT16 | Disable |
89 | CLB3_OUT17 | CLB3_OUT17 | Disable |
90 | CLB3_OUT18 | CLB3_OUT18 | Disable |
91 | CLB3_OUT19 | CLB3_OUT19 | Disable |
92 | CLB3_OUT20 | CLB3_OUT20 | Disable |
93 | CLB3_OUT21 | CLB3_OUT21 | Disable |
94 | CLB3_OUT22 | CLB3_OUT22 | Disable |
95 | CLB3_OUT23 | CLB3_OUT23 | Disable |
96 | CLB4_OUT16 | CLB4_OUT16 | Disable |
97 | CLB4_OUT17 | CLB4_OUT17 | Disable |
98 | CLB4_OUT18 | CLB4_OUT18 | Disable |
99 | CLB4_OUT19 | CLB4_OUT19 | Disable |
100 | CLB4_OUT20 | CLB4_OUT20 | Disable |
101 | CLB4_OUT21 | CLB4_OUT21 | Disable |
102 | CLB4_OUT22 | CLB4_OUT22 | Disable |
103 | CLB4_OUT23 | CLB4_OUT23 | Disable |
104 | CPU2_ERAD_EVT0 | CPU2_ERAD_EVT0 | Disable |
105 | CPU2_ERAD_EVT1 | CPU2_ERAD_EVT1 | Disable |
106 | CPU2_ERAD_EVT2 | CPU2_ERAD_EVT2 | Disable |
107 | CPU2_ERAD_EVT3 | CPU2_ERAD_EVT3 | Disable |
108 | CPU2_ERAD_EVT4 | CPU2_ERAD_EVT4 | Disable |
109 | CPU2_ERAD_EVT5 | CPU2_ERAD_EVT5 | Disable |
110 | CPU2_ERAD_EVT6 | CPU2_ERAD_EVT6 | Disable |
111 | CPU2_ERAD_EVT7 | CPU2_ERAD_EVT7 | Disable |
112 | FSIRXA_PING_TAG_MATCH | FSIRXA_PING_TAG_MATCH | Disable |
113 | FSIRXA_DATA_TAG_MATCH | FSIRXA_DATA_TAG_MATCH | Disable |
114 | FSIRXA_ERROR_TAG_MATCH | FSIRXA_ERROR_TAG_MATCH | Disable |
115 | FSIRXB_PING_TAG_MATCH | FSIRXB_PING_TAG_MATCH | Disable |
116 | FSIRXB_DATA_TAG_MATCH | FSIRXB_DATA_TAG_MATCH | Disable |
117 | FSIRXB_ERROR_TAG_MATCH | FSIRXB_ERROR_TAG_MATCH | Disable |
118 | ECAT_SOF | ECAT_SOF | Enable |
119 | ECAT_EOF | ECAT_EOF | Enable |
120 | SPIC_CLK_OUT | SPIC_CLK_OUT | Enable |
121 | SPIC_POCI_IN | SPIC_POCI_IN | Enable |
122 | SPIC_PTE_OUT | SPIC_PTE_OUT | Enable |
123 | SPID_CLK_OUT | SPID_CLK_OUT | Enable |
124 | SPID_POCI_IN | SPID_POCI_IN | Enable |
125 | SPID_PTE_OUT | SPID_PTE_OUT | Enable |
126 | ECAT_SYNC0 | ECAT_SYNC0 | Enable |
127 | ECAT_SYNC1 | ECAT_SYNC1 | Enable |
EPWMxA_OE and EPWMxB_OE refer to trip outputs from the respective EPWM module.
EPWMxA_AQ and EPWMxB_AQ refer to the output of the AQ submodule in the respective EPWM module.
EPWMxA_DB and EPWMBx_DB refer to the output of the DB submodule in the respective EPWM module.
If a signal in the following table indicates that synchronization is not required, as the signal is already synchronous, then pipelining is required and must be enabled using the PIPE bit in the CLB_INPUT_FILTER register. This pipelining adds a 1 CLB clock cycle delay to the input. This is not to be mistaken with the PIPELINE_EN bit in the CLB_LOAD_EN register, which controls pipelining of the CLB operations in the HLC and counter blocks. Having synchronization and pipelining both enabled or both disabled is not recommended. Enabling both synchronization and pipelining introduces a delay of more than 2-3 CLB clock cycles on the signal path. Disabling both allows the completely asynchronous signal to be routed as an input.
Select Value | CLB1 Input | CLB2 Input | CLB3 Input | CLB4 Input | Synchronization Requirement |
---|---|---|---|---|---|
0 | CLB1_GLB_MUX_OUT | CLB2_GLB_MUX_OUT | CLB3_GLB_MUX_OUT | CLB4_GLB_MUX_OUT | Enable |
1 | EPWM1_DCAEVT1 | EPWM2_DCAEVT1 | EPWM3_DCAEVT1 | EPWM4_DCAEVT1 | Enable |
2 | EPWM1_DCAEVT2 | EPWM2_DCAEVT2 | EPWM3_DCAEVT2 | EPWM4_DCAEVT2 | Enable |
3 | EPWM1_DCBEVT1 | EPWM2_DCBEVT1 | EPWM3_DCBEVT1 | EPWM4_DCBEVT1 | Enable |
4 | EPWM1_DCBEVT2 | EPWM2_DCBEVT2 | EPWM3_DCBEVT2 | EPWM4_DCBEVT2 | Enable |
5 | EPWM1_DCAH | EPWM2_DCAH | EPWM3_DCAH | EPWM4_DCAH | Enable |
6 | EPWM1_DCAL | EPWM2_DCAL | EPWM3_DCAL | EPWM4_DCAL | Enable |
7 | EPWM1_DCBH | EPWM2_DCBH | EPWM3_DCBH | EPWM4_DCBH | Enable |
8 | EPWM1_DCBL | EPWM2_DCBL | EPWM3_DCBL | EPWM4_DCBL | Enable |
9 | EPWM1_OST | EPWM2_OST | EPWM3_OST | EPWM4_OST | Enable |
10 | EPWM1_CBC | EPWM2_CBC | EPWM3_CBC | EPWM4_CBC | Enable |
11 | ECAP1IN0 | ECAP2IN0 | ECAP6IN0 | ECAP7IN0 | Enable |
12 | ECAP1_OUT | ECAP2_OUT | ECAP6_OUT | ECAP7_OUT | Disable |
13 | ECAP1_OUT_EN | ECAP2_OUT_EN | ECAP6_OUT_EN | ECAP7_OUT_EN | Disable |
14 | ECAP1_CEVT1 | ECAP2_CEVT1 | ECAP6_CEVT1 | ECAP7_CEVT1 | Disable |
15 | ECAP1_CEVT2 | ECAP2_CEVT2 | ECAP6_CEVT2 | ECAP7_CEVT2 | Disable |
16 | ECAP1_CEVT3 | ECAP2_CEVT3 | ECAP6_CEVT3 | ECAP7_CEVT3 | Disable |
17 | ECAP1_CEVT4 | ECAP2_CEVT4 | ECAP6_CEVT4 | ECAP7_CEVT4 | Disable |
18 | EQEP1A | EQEP2A | EQEP3A | EQEP4A | Enable |
19 | EQEP1B | EQEP2B | EQEP3B | EQEP4B | Enable |
20 | EQEP1I | EQEP2I | EQEP3I | EQEP4I | Enable |
21 | EQEP1S | EQEP2S | EQEP3S | EQEP4S | Enable |
22 | CPU1_TBCLKSYNC | CPU1_TBCLKSYNC | CPU1_TBCLKSYNC | CPU1_TBCLKSYNC | Enable |
23 | CPU2_TBCLKSYNC | CPU2_TBCLKSYNC | CPU2_TBCLKSYNC | CPU2_TBCLKSYNC | Enable |
24 | CPU1_HALT | CPU1_HALT | CPU1_HALT | CPU1_HALT | Enable |
25 | SPIA_PICO_OUT | SPIB_PICO_OUT | SPIC_PICO_OUT | SPIA_PICO_OUT | Enable |
26 | SPIA_CLK_IN | SPIB_CLK_IN | SPIC_CLK_IN | SPID_CLK_IN | Enable |
27 | SPIA_PICO_IN | SPIB_PICO_IN | SPIC_PICO_IN | SPID_PICO_IN | Enable |
28 | SPIA_PTE_IN | SPIB_PTE_IN | SPIC_PTE_IN | SPID_PTE_IN | Enable |
29 | SCIA_TX | SCIB_TX | SCIA_TX | SCIB_TX | Enable |
30 | SPIA_POCI_OUT | SPIB_POCI_OUT | SPIC_POCI_OUT | SPID_POCI_OUT | Enable |
31 | CLB1_PSCLK | CLB2_PSCLK | CLB3_PSCLK | CLB4_PSCLK | Enable |
32 | EPWM9A | EPWM9A | EPWM9A | EPWM9A | Enable |
33 | EPWM9A_OE | EPWM9A_OE | EPWM9A_OE | EPWM9A_OE | Enable |
34 | EPWM9B | EPWM9B | EPWM9B | EPWM9B | Enable |
35 | EPWM9B_OE | EPWM9B_OE | EPWM9B_OE | EPWM9B_OE | Enable |
36 | EPWM10A | EPWM10A | EPWM10A | EPWM10A | Enable |
37 | EPWM10A_OE | EPWM10A_OE | EPWM10A_OE | EPWM10A_OE | Enable |
38 | EPWM10B | EPWM10B | EPWM10B | EPWM10B | Enable |
39 | EPWM10B_OE | EPWM10B_OE | EPWM10B_OE | EPWM10B_OE | Enable |
40 | EPWM11A | EPWM11A | EPWM11A | EPWM11A | Enable |
41 | EPWM11A_OE | EPWM11A_OE | EPWM11A_OE | EPWM11A_OE | Enable |
42 | EPWM11B | EPWM11B | EPWM11B | EPWM11B | Enable |
43 | EPWM11B_OE | EPWM11B_OE | EPWM11B_OE | EPWM11B_OE | Enable |
44 | EPWM12A | EPWM12A | EPWM12A | EPWM12A | Enable |
45 | EPWM12A_OE | EPWM12A_OE | EPWM12A_OE | EPWM12A_OE | Enable |
46 | EPWM12B | EPWM12B | EPWM12B | EPWM12B | Enable |
47 | EPWM12B_OE | EPWM12B_OE | EPWM12B_OE | EPWM12B_OE | Enable |
48 | CLBINPUTXBAR1 | CLBINPUTXBAR1 | CLBINPUTXBAR1 | CLBINPUTXBAR1 | Enable |
49 | CLBINPUTXBAR2 | CLBINPUTXBAR2 | CLBINPUTXBAR2 | CLBINPUTXBAR2 | Enable |
50 | CLBINPUTXBAR3 | CLBINPUTXBAR3 | CLBINPUTXBAR3 | CLBINPUTXBAR3 | Enable |
51 | CLBINPUTXBAR4 | CLBINPUTXBAR4 | CLBINPUTXBAR4 | CLBINPUTXBAR4 | Enable |
52 | CLBINPUTXBAR5 | CLBINPUTXBAR5 | CLBINPUTXBAR5 | CLBINPUTXBAR5 | Enable |
53 | CLBINPUTXBAR6 | CLBINPUTXBAR6 | CLBINPUTXBAR6 | CLBINPUTXBAR6 | Enable |
54 | CLBINPUTXBAR7 | CLBINPUTXBAR7 | CLBINPUTXBAR7 | CLBINPUTXBAR7 | Enable |
55 | CLBINPUTXBAR8 | CLBINPUTXBAR8 | CLBINPUTXBAR8 | CLBINPUTXBAR8 | Enable |
56 | CLBINPUTXBAR9 | CLBINPUTXBAR9 | CLBINPUTXBAR9 | CLBINPUTXBAR9 | Enable |
57 | CLBINPUTXBAR10 | CLBINPUTXBAR10 | CLBINPUTXBAR10 | CLBINPUTXBAR10 | Enable |
58 | CLBINPUTXBAR11 | CLBINPUTXBAR11 | CLBINPUTXBAR11 | CLBINPUTXBAR11 | Enable |
59 | CLBINPUTXBAR12 | CLBINPUTXBAR12 | CLBINPUTXBAR12 | CLBINPUTXBAR12 | Enable |
60 | CLBINPUTXBAR13 | CLBINPUTXBAR13 | CLBINPUTXBAR13 | CLBINPUTXBAR13 | Enable |
61 | CLBINPUTXBAR14 | CLBINPUTXBAR14 | CLBINPUTXBAR14 | CLBINPUTXBAR14 | Enable |
62 | CLBINPUTXBAR15 | CLBINPUTXBAR15 | CLBINPUTXBAR15 | CLBINPUTXBAR15 | Enable |
63 | CLBINPUTXBAR16 | CLBINPUTXBAR16 | CLBINPUTXBAR16 | CLBINPUTXBAR16 | Enable |
Select Value | CLB5 Input | CLB6 Input | Synchronization Requirement |
---|---|---|---|
0 | CLB5_GLB_MUX_OUT | CLB6_GLB_MUX_OUT | Enable |
1 | EPWM5_DCAEVT1 | EPWM6_DCAEVT1 | Enable |
2 | EPWM5_DCAEVT2 | EPWM6_DCAEVT2 | Enable |
3 | EPWM5_DCBEVT1 | EPWM6_DCBEVT1 | Enable |
4 | EPWM5_DCBEVT2 | EPWM6_DCBEVT2 | Enable |
5 | EPWM5_DCAH | EPWM6_DCAH | Enable |
6 | EPWM5_DCAL | EPWM6_DCAL | Enable |
7 | EPWM5_DCBH | EPWM6_DCBH | Enable |
8 | EPWM5_DCBL | EPWM6_DCBL | Enable |
9 | EPWM5_OST | EPWM6_OST | Enable |
10 | EPWM5_CBC | EPWM6_CBC | Enable |
11 | ECAP3IN0 | ECAP4IN0 | Enable |
12 | ECAP3_OUT | ECAP4_OUT | Disable |
13 | ECAP3_OUT_EN | ECAP4_OUT_EN | Disable |
14 | ECAP3_CEVT1 | ECAP4_CEVT1 | Disable |
15 | ECAP3_CEVT2 | ECAP4_CEVT2 | Disable |
16 | ECAP3_CEVT3 | ECAP4_CEVT3 | Disable |
17 | ECAP3_CEVT4 | ECAP4_CEVT4 | Disable |
18 | FSIRXC_DATA_PKT_RCVD | FSIRXD_DATA_PKT_RCVD | Disable |
19 | FSIRXC_ERROR_PKT_RCVD | FSIRXD_ERROR_PKT_RCVD | Disable |
20 | FSIRXC_PING_PKT_RCVD | FSIRXD_PING_PKT_RCVD | Disable |
21 | CPU2_HALT | CPU2_HALT | Disable |
22 | CPU1_TBCLKSYNC | CPU1_TBCLKSYNC | Enable |
23 | CPU2_TBCLKSYNC | CPU2_TBCLKSYNC | Enable |
24 | CPU1_HALT | CPU1_HALT | Enable |
25 | SPIC_PICO_OUT | SPID_PICO_OUT | Enable |
26 | SPIC_CLK_IN | SPID_CLK_IN | Enable |
27 | SPIC_PICO_IN | SPID_PICO_IN | Enable |
28 | SPIC_PTE_IN | SPID_PTE_IN | Enable |
29 | SCIC_TX | SCID_TX | Enable |
30 | SPIC_POCI_OUT | SPID_POCI_OUT | Enable |
31 | CLB5_PSCLK | CLB6_PSCLK | Enable |
32 | ECAP5IN0 | ECAP5IN1 | Enable |
33 | ECAP5_OUT | ECAP5_OUT | Disable |
34 | ECAP5_OUT_EN | ECAP5_OUT_EN | Disable |
35 | ECAP5_CEVT1 | ECAP5_CEVT1 | Disable |
36 | ECAP5_CEVT2 | ECAP5_CEVT2 | Disable |
37 | ECAP5_CEVT3 | ECAP5_CEVT3 | Disable |
38 | ECAP5_CEVT4 | ECAP5_CEVT4 | Disable |
39 | ECAP5IN0 | ECAP5IN1 | Enable |
40 | EQEP5A | EQEP6A | Enable |
41 | EQEP5B | EQEP6B | Enable |
42 | EQEP5I | EQEP6I | Enable |
43 | EQEP5S | EQEP6S | Enable |
44 | EPWM16A | EPWM16A | Enable |
45 | EPWM16A_OE | EPWM16A_OE | Enable |
46 | EPWM16B | EPWM16B | Enable |
47 | EPWM16B_OE | EPWM16B_OE | Enable |
48 | CLBINPUTXBAR1 | CLBINPUTXBAR1 | Enable |
49 | CLBINPUTXBAR2 | CLBINPUTXBAR2 | Enable |
50 | CLBINPUTXBAR3 | CLBINPUTXBAR3 | Enable |
51 | CLBINPUTXBAR4 | CLBINPUTXBAR4 | Enable |
52 | CLBINPUTXBAR5 | CLBINPUTXBAR5 | Enable |
53 | CLBINPUTXBAR6 | CLBINPUTXBAR6 | Enable |
54 | CLBINPUTXBAR7 | CLBINPUTXBAR7 | Enable |
55 | CLBINPUTXBAR8 | CLBINPUTXBAR8 | Enable |
56 | CLBINPUTXBAR9 | CLBINPUTXBAR9 | Enable |
57 | CLBINPUTXBAR10 | CLBINPUTXBAR10 | Enable |
58 | CLBINPUTXBAR11 | CLBINPUTXBAR11 | Enable |
59 | CLBINPUTXBAR12 | CLBINPUTXBAR12 | Enable |
60 | CLBINPUTXBAR13 | CLBINPUTXBAR13 | Enable |
61 | CLBINPUTXBAR14 | CLBINPUTXBAR14 | Enable |
62 | CLBINPUTXBAR15 | CLBINPUTXBAR15 | Enable |
63 | CLBINPUTXBAR16 | CLBINPUTXBAR16 | Enable |
The GPREG is accessible by the CPU and the bits of this register can be used as BOUNDARY INPUTs for the CLB Tiles. For example, CLB1s GPREG[0] can be used as BOUNDARY IN0 (Cell Input 0) for the corresponding CLB Tile.
To connect multiple tiles to each other, you can use the CLBx OUT4/5 and connect to CLBy BOUNDARY INz through the CLB X-BAR and the Global Signals Mux.
Another option is to connect the CLBx OUT0-7 to a GPIO and then use the INPUT X-BAR to bring the signal back in to the device and connect to the CLBy BOUNDARY INz through the CLB X-BAR and the Global Signals Mux.
To use GPIOs as inputs to the CLB, you must utilize the Input X-BAR and the CLB X-BAR. Figure 8-5 shows how GPIOs can be used as inputs to the CLB tiles.