SPRUIZ1B July 2023 – August 2024 TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1
The Input X-BAR connects the device pins to the module as input. Any GPIO on the device can be configured as an input. The GPIO input qualification can be set to synchronous or asynchronous mode by setting the GPxQSELn register bits. Using synchronized inputs can help with noise immunity but affects the eCAP accuracy by ±2 cycles. The internal pull-ups can be configured in the GPyPUD register. Since the GPIO mode is used, the GPyINV register can invert the signals.
New to the Type 1 eCAP module, a 128:1 input multiplexer must also be configured (see Figure 21-3). This multiplexer can select a variety of inputs detailed in Table 21-1 by configuring ECCTL0.INPUTSEL.
Selection of ECAP Input | ECAP1 INDEX | ECAP2 INDEX | ECAP3 INDEX | ECAP4 INDEX | ECAP5 INDEX | ECAP6 INDEX | ECAP7 INDEX |
---|---|---|---|---|---|---|---|
INPUTXBAR1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
INPUTXBAR2 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
INPUTXBAR3 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
INPUTXBAR4 | 3 | 3 | 3 | 3 | 3 | 3 | 3 |
INPUTXBAR5 | 4 | 4 | 4 | 4 | 4 | 4 | 4 |
INPUTXBAR6 | 5 | 5 | 5 | 5 | 5 | 5 | 5 |
INPUTXBAR7 | 6 | 6 | 6 | 6 | 6 | 6 | 6 |
INPUTXBAR8 | 7 | 7 | 7 | 7 | 7 | 7 | 7 |
INPUTXBAR9 | 8 | 8 | 8 | 8 | 8 | 8 | 8 |
INPUTXBAR10 | 9 | 9 | 9 | 9 | 9 | 9 | 9 |
INPUTXBAR11 | 10 | 10 | 10 | 10 | 10 | 10 | 10 |
INPUTXBAR12 | 11 | 11 | 11 | 11 | 11 | 11 | 11 |
INPUTXBAR13 | 12 | 12 | 12 | 12 | 12 | 12 | 12 |
INPUTXBAR14 | 13 | 13 | 13 | 13 | 13 | 13 | 13 |
INPUTXBAR15 | 14 | 14 | 14 | 14 | 14 | 14 | 14 |
INPUTXBAR16 | 15 | 15 | 15 | 15 | 15 | 15 | 15 |
CLB1_OUT14 | 16 | 16 | Reserved | Reserved | Reserved | Reserved | Reserved |
CLB1_OUT15 | 17 | 17 | Reserved | Reserved | Reserved | Reserved | Reserved |
CLB2_OUT14 | Reserved | Reserved | 16 | 16 | 16 | Reserved | Reserved |
CLB2_OUT15 | Reserved | Reserved | 17 | 17 | 17 | Reserved | Reserved |
CLB3_OUT14 | Reserved | Reserved | Reserved | Reserved | Reserved | 16 | 16 |
CLB3_OUT15 | Reserved | Reserved | Reserved | Reserved | Reserved | 17 | 17 |
CLB4_OUT14 | Reserved | Reserved | Reserved | Reserved | Reserved | 18 | 18 |
CLB4_OUT15 | Reserved | Reserved | Reserved | Reserved | Reserved | 19 | 19 |
CLB5_OUT14 | 18 | 18 | Reserved | Reserved | Reserved | Reserved | Reserved |
CLB5_OUT15 | 19 | 19 | Reserved | Reserved | Reserved | Reserved | Reserved |
CLB6_OUT14 | Reserved | Reserved | 18 | 18 | 18 | Reserved | Reserved |
CLB6_OUT15 | Reserved | Reserved | 19 | 19 | 19 | Reserved | Reserved |
DCANA_INT0 | 20 | 20 | 20 | 20 | 20 | 20 | 20 |
Reserved | 21-23 | 21-23 | 21-23 | 21-23 | 21-23 | 21-22 | 21-22 |
ECAP6_DELAY_CLK | Reserved | Reserved | Reserved | Reserved | Reserved | Reserved | 23 |
ECAP7_DELAY_CLK | Reserved | Reserved | Reserved | Reserved | Reserved | 23 | Reserved |
OUTPUTXBAR1 | 24 | 24 | 24 | 24 | 24 | 24 | 24 |
OUTPUTXBAR2 | 25 | 25 | 25 | 25 | 25 | 25 | 25 |
OUTPUTXBAR3 | 26 | 26 | 26 | 26 | 26 | 26 | 26 |
OUTPUTXBAR4 | 27 | 27 | 27 | 27 | 27 | 27 | 27 |
OUTPUTXBAR5 | 28 | 28 | 28 | 28 | 28 | 28 | 28 |
OUTPUTXBAR6 | 29 | 29 | 29 | 29 | 29 | 29 | 29 |
OUTPUTXBAR7 | 30 | 30 | 30 | 30 | 30 | 30 | 30 |
OUTPUTXBAR8 | 31 | 31 | 31 | 31 | 31 | 31 | 31 |
Reserved | 32-35 | 32-35 | 32-35 | 32-35 | 32-35 | 32-35 | 32-35 |
ADCCEVT1 | 36 | 36 | 36 | 36 | 36 | 36 | 36 |
ADCCEVT2 | 37 | 37 | 37 | 37 | 37 | 37 | 37 |
ADCCEVT3 | 38 | 38 | 38 | 38 | 38 | 38 | 38 |
ADCCEVT4 | 39 | 39 | 39 | 39 | 39 | 39 | 39 |
ADCBEVT1 | 40 | 40 | 40 | 40 | 40 | 40 | 40 |
ADCBEVT2 | 41 | 41 | 41 | 41 | 41 | 41 | 41 |
ADCBEVT3 | 42 | 42 | 42 | 42 | 42 | 42 | 42 |
ADCBEVT4 | 43 | 43 | 43 | 43 | 43 | 43 | 43 |
ADCAEVT1 | 44 | 44 | 44 | 44 | 44 | 44 | 44 |
ADCAEVT2 | 45 | 45 | 45 | 45 | 45 | 45 | 45 |
ADCAEVT3 | 46 | 46 | 46 | 46 | 46 | 46 | 46 |
ADCAEVT4 | 47 | 47 | 47 | 47 | 47 | 47 | 47 |
FSIRXA_MEASURE | 48 | 48 | 48 | 48 | 48 | 48 | 48 |
FSIRXA_MEASURE_RISE | 49 | 49 | 49 | 49 | 49 | 49 | 49 |
FSIRXA_MEASURE_FALL | 50 | 50 | 50 | 50 | 50 | 50 | 50 |
FSIRXB_MEASURE | 51 | 51 | 51 | 51 | 51 | 51 | 51 |
FSIRXB_MEASURE_RISE | 52 | 52 | 52 | 52 | 52 | 52 | 52 |
FSIRXB_MEASURE_FALL | 53 | 53 | 53 | 53 | 53 | 53 | 53 |
FSIRXC_MEASURE | 54 | 54 | 54 | 54 | 54 | 54 | 54 |
FSIRXC_MEASURE_RISE | 55 | 55 | 55 | 55 | 55 | 55 | 55 |
FSIRXC_MEASURE_FALL | 56 | 56 | 56 | 56 | 56 | 56 | 56 |
FSIRXD_MEASURE | 57 | 57 | 57 | 57 | 57 | 57 | 57 |
FSIRXD_MEASURE_RISE | 58 | 58 | 58 | 58 | 58 | 58 | 58 |
FSIRXD_MEASURE_FALL | 59 | 59 | 59 | 59 | 59 | 59 | 59 |
SD2FLT1_COMPL | 60 | 60 | 60 | 60 | 60 | 60 | 60 |
SD2FLT2_COMPL | 61 | 61 | 61 | 61 | 61 | 61 | 61 |
SD2FLT3_COMPL | 62 | 62 | 62 | 62 | 62 | 62 | 62 |
SD2FLT4_COMPL | 63 | 63 | 63 | 63 | 63 | 63 | 63 |
SD1FLT1_COMPL | 64 | 64 | 64 | 64 | 64 | 64 | 64 |
SD1FLT2_COMPL | 65 | 65 | 65 | 65 | 65 | 65 | 65 |
SD1FLT3_COMPL | 66 | 66 | 66 | 66 | 66 | 66 | 66 |
SD1FLT4_COMPL | 67 | 67 | 67 | 67 | 67 | 67 | 67 |
SD2FLT1_COMPZ | 68 | 68 | 68 | 68 | 68 | 68 | 68 |
SD2FLT2_COMPZ | 69 | 69 | 69 | 69 | 69 | 69 | 69 |
SD2FLT3_COMPZ | 70 | 70 | 70 | 70 | 70 | 70 | 70 |
SD2FLT4_COMPZ | 71 | 71 | 71 | 71 | 71 | 71 | 71 |
SD1FLT1_COMPZ | 72 | 72 | 72 | 72 | 72 | 72 | 72 |
SD1FLT2_COMPZ | 73 | 73 | 73 | 73 | 73 | 73 | 73 |
SD1FLT3_COMPZ | 74 | 74 | 74 | 74 | 74 | 74 | 74 |
SD1FLT4_COMPZ | 75 | 75 | 75 | 75 | 75 | 75 | 75 |
SD2FLT1_COMPH | 76 | 76 | 76 | 76 | 76 | 76 | 76 |
SD2FLT2_COMPH | 77 | 77 | 77 | 77 | 77 | 77 | 77 |
SD2FLT3_COMPH | 78 | 78 | 78 | 78 | 78 | 78 | 78 |
SD2FLT4_COMPH | 79 | 79 | 79 | 79 | 79 | 79 | 79 |
SD1FLT1_COMPH | 80 | 80 | 80 | 80 | 80 | 80 | 80 |
SD1FLT2_COMPH | 81 | 81 | 81 | 81 | 81 | 81 | 81 |
SD1FLT3_COMPH | 82 | 82 | 82 | 82 | 82 | 82 | 82 |
SD1FLT4_COMPH | 83 | 83 | 83 | 83 | 83 | 83 | 83 |
SD2FLT1_COMPH_OR_COMPL | 84 | 84 | 84 | 84 | 84 | 84 | 84 |
SD2FLT2_COMPH_OR_COMPL | 85 | 85 | 85 | 85 | 85 | 85 | 85 |
SD2FLT3_COMPH_OR_COMPL | 86 | 86 | 86 | 86 | 86 | 86 | 86 |
SD2FLT4_COMPH_OR_COMPL | 87 | 87 | 87 | 87 | 87 | 87 | 87 |
SD1FLT1_COMPH_OR_COMPL | 88 | 88 | 88 | 88 | 88 | 88 | 88 |
SD1FLT2_COMPH_OR_COMPL | 89 | 89 | 89 | 89 | 89 | 89 | 89 |
SD1FLT3_COMPH_OR_COMPL | 90 | 90 | 90 | 90 | 90 | 90 | 90 |
SD1FLT4_COMPH_OR_COMPL | 91 | 91 | 91 | 91 | 91 | 91 | 91 |
Reserved | 92-93 | 92-93 | 92-93 | 92-93 | 92-93 | 92-93 | 92-93 |
ECAT_SYNC0 | 94 | 94 | 94 | 94 | 94 | 94 | 94 |
ECAT_SYNC1 | 95 | 95 | 95 | 95 | 95 | 95 | 95 |
CMPSS1_CTRIPL | 96 | 96 | 96 | 96 | 96 | 96 | 96 |
CMPSS2_CTRIPL | 97 | 97 | 97 | 97 | 97 | 97 | 97 |
CMPSS3_CTRIPL | 98 | 98 | 98 | 98 | 98 | 98 | 98 |
CMPSS4_CTRIPL | 99 | 99 | 99 | 99 | 99 | 99 | 99 |
CMPSS5_CTRIPL | 100 | 100 | 100 | 100 | 100 | 100 | 100 |
CMPSS6_CTRIPL | 101 | 101 | 101 | 101 | 101 | 101 | 101 |
CMPSS7_CTRIPL | 102 | 102 | 102 | 102 | 102 | 102 | 102 |
CMPSS8_CTRIPL | 103 | 103 | 103 | 103 | 103 | 103 | 103 |
Reserved | 104-106 | 104-106 | 104-106 | 104-106 | 104-106 | 104-106 | 104-106 |
CMPSS1_CTRIPH | 107 | 107 | 107 | 107 | 107 | 107 | 107 |
CMPSS2_CTRIPH | 108 | 108 | 108 | 108 | 108 | 108 | 108 |
CMPSS3_CTRIPH | 109 | 109 | 109 | 109 | 109 | 109 | 109 |
CMPSS4_CTRIPH | 110 | 110 | 110 | 110 | 110 | 110 | 110 |
CMPSS5_CTRIPH | 111 | 111 | 111 | 111 | 111 | 111 | 111 |
CMPSS6_CTRIPH | 112 | 112 | 112 | 112 | 112 | 112 | 112 |
CMPSS7_CTRIPH | 113 | 113 | 113 | 113 | 113 | 113 | 113 |
CMPSS8_CTRIPH | 114 | 114 | 114 | 114 | 114 | 114 | 114 |
GPIO8 | 115 | 115 | 115 | 115 | 115 | 115 | 115 |
GPIO9 | 116 | 116 | 116 | 116 | 116 | 116 | 116 |
GPIO22 | 117 | 117 | 117 | 117 | 117 | 117 | 117 |
GPIO23 | 118 | 118 | 118 | 118 | 118 | 118 | 118 |
CMPSS1_CTRIPH_OR_CTRIPL | 119 | 119 | 119 | 119 | 119 | 119 | 119 |
CMPSS2_CTRIPH_OR_CTRIPL | 120 | 120 | 120 | 120 | 120 | 120 | 120 |
CMPSS3_CTRIPH_OR_CTRIPL | 121 | 121 | 121 | 121 | 121 | 121 | 121 |
CMPSS4_CTRIPH_OR_CTRIPL | 122 | 122 | 122 | 122 | 122 | 122 | 122 |
CMPSS5_CTRIPH_OR_CTRIPL | 123 | 123 | 123 | 123 | 123 | 123 | 123 |
CMPSS6_CTRIPH_OR_CTRIPL | 124 | 124 | 124 | 124 | 124 | 124 | 124 |
CMPSS7_CTRIPH_OR_CTRIPL | 125 | 125 | 125 | 125 | 125 | 125 | 125 |
CMPSS8_CTRIPH_OR_CTRIPL | 126 | 126 | 126 | 126 | 126 | 126 | 126 |
INPUTXBAR7 | 127 | Reserved | Reserved | Reserved | Reserved | Reserved | Reserved |
INPUTXBAR8 | Reserved | 127 | Reserved | Reserved | Reserved | Reserved | Reserved |
INPUTXBAR9 | Reserved | Reserved | 127 | Reserved | Reserved | Reserved | Reserved |
INPUTXBAR10 | Reserved | Reserved | Reserved | 127 | Reserved | Reserved | Reserved |
INPUTXBAR11 | Reserved | Reserved | Reserved | Reserved | 127 | Reserved | Reserved |
INPUTXBAR12 | Reserved | Reserved | Reserved | Reserved | Reserved | 127 | Reserved |
INPUTXBAR13 | Reserved | Reserved | Reserved | Reserved | Reserved | Reserved | 127 |
SD4FLT1_COMPL | 128 | 128 | 128 | 128 | 128 | 128 | 128 |
SD4FLT2_COMPL | 129 | 129 | 129 | 129 | 129 | 129 | 129 |
SD4FLT3_COMPL | 130 | 130 | 130 | 130 | 130 | 130 | 130 |
SD4FLT4_COMPL | 131 | 131 | 131 | 131 | 131 | 131 | 131 |
SD3FLT1_COMPL | 132 | 132 | 132 | 132 | 132 | 132 | 132 |
SD3FLT2_COMPL | 133 | 133 | 133 | 133 | 133 | 133 | 133 |
SD3FLT3_COMPL | 134 | 134 | 134 | 134 | 134 | 134 | 134 |
SD3FLT4_COMPL | 135 | 135 | 135 | 135 | 135 | 135 | 135 |
SD4FLT4_COMPZ | 136 | 136 | 136 | 136 | 136 | 136 | 136 |
SD4FLT4_COMPZ | 137 | 137 | 137 | 137 | 137 | 137 | 137 |
SD4FLT4_COMPZ | 138 | 138 | 138 | 138 | 138 | 138 | 138 |
SD4FLT4_COMPZ | 139 | 139 | 139 | 139 | 139 | 139 | 139 |
SD3FLT4_COMPZ | 140 | 140 | 140 | 140 | 140 | 140 | 140 |
SD3FLT4_COMPZ | 141 | 141 | 141 | 141 | 141 | 141 | 141 |
SD3FLT4_COMPZ | 142 | 142 | 142 | 142 | 142 | 142 | 142 |
SD3FLT4_COMPZ | 143 | 143 | 143 | 143 | 143 | 143 | 143 |
SD4FLT1_COMPH | 144 | 144 | 144 | 144 | 144 | 144 | 144 |
SD4FLT2_COMPH | 145 | 145 | 145 | 145 | 145 | 145 | 145 |
SD4FLT3_COMPH | 146 | 146 | 146 | 146 | 146 | 146 | 146 |
SD4FLT4_COMPH | 147 | 147 | 147 | 147 | 147 | 147 | 147 |
SD3FLT1_COMPH | 148 | 148 | 148 | 148 | 148 | 148 | 148 |
SD3FLT2_COMPH | 149 | 149 | 149 | 149 | 149 | 149 | 149 |
SD3FLT3_COMPH | 150 | 150 | 150 | 150 | 150 | 150 | 150 |
SD3FLT4_COMPH | 151 | 151 | 151 | 151 | 151 | 151 | 151 |
SD4FLT1_COMPH_OR_COMPL | 152 | 152 | 152 | 152 | 152 | 152 | 152 |
SD4FLT2_COMPH_OR_COMPL | 153 | 153 | 153 | 153 | 153 | 153 | 153 |
SD4FLT3_COMPH_OR_COMPL | 154 | 154 | 154 | 154 | 154 | 154 | 154 |
SD4FLT4_COMPH_OR_COMPL | 155 | 155 | 155 | 155 | 155 | 155 | 155 |
SD3FLT1_COMPH_OR_COMPL | 156 | 156 | 156 | 156 | 156 | 156 | 156 |
SD3FLT2_COMPH_OR_COMPL | 157 | 157 | 157 | 157 | 157 | 157 | 157 |
SD3FLT3_COMPH_OR_COMPL | 158 | 158 | 158 | 158 | 158 | 158 | 158 |
SD3FLT4_COMPH_OR_COMPL | 159 | 159 | 159 | 159 | 159 | 159 | 159 |
EPWM18_DE_ACTIVE | 160 | 160 | 160 | 160 | 160 | 160 | 160 |
EPWM17_DE_ACTIVE | 161 | 161 | 161 | 161 | 161 | 161 | 161 |
EPWM16_DE_ACTIVE | 162 | 162 | 162 | 162 | 162 | 162 | 162 |
EPWM15_DE_ACTIVE | 163 | 163 | 163 | 163 | 163 | 163 | 163 |
EPWM14_DE_ACTIVE | 164 | 164 | 164 | 164 | 164 | 164 | 164 |
EPWM13_DE_ACTIVE | 165 | 165 | 165 | 165 | 165 | 165 | 165 |
EPWM12_DE_ACTIVE | 166 | 166 | 166 | 166 | 166 | 166 | 166 |
EPWM11_DE_ACTIVE | 167 | 167 | 167 | 167 | 167 | 167 | 167 |
EPWM10_DE_ACTIVE | 168 | 168 | 168 | 168 | 168 | 168 | 168 |
EPWM9_DE_ACTIVE | 169 | 169 | 169 | 169 | 169 | 169 | 169 |
EPWM8_DE_ACTIVE | 170 | 170 | 170 | 170 | 170 | 170 | 170 |
EPWM7_DE_ACTIVE | 171 | 171 | 171 | 171 | 171 | 171 | 171 |
EPWM6_DE_ACTIVE | 172 | 172 | 172 | 172 | 172 | 172 | 172 |
EPWM5_DE_ACTIVE | 173 | 173 | 173 | 173 | 173 | 173 | 173 |
EPWM4_DE_ACTIVE | 174 | 174 | 174 | 174 | 174 | 174 | 174 |
EPWM3_DE_ACTIVE | 175 | 175 | 175 | 175 | 175 | 175 | 175 |
EPWM2_DE_ACTIVE | 176 | 176 | 176 | 176 | 176 | 176 | 176 |
EPWM1_DE_ACTIVE | 177 | 177 | 177 | 177 | 177 | 177 | 177 |
Reserved | 178-250 | 178-250 | 178-250 | 178-250 | 178-250 | 178-250 | 178-250 |
GPIO11 | 251 | 251 | 251 | 251 | 251 | 251 | 251 |
GPIO12 | 252 | 252 | 252 | 252 | 252 | 252 | 252 |
GPIO13 | 253 | 253 | 253 | 253 | 253 | 253 | 253 |
GPIO14 | 254 | 254 | 254 | 254 | 254 | 254 | 254 |
EPG1_DATAOUT53 | 255 | Reserved | Reserved | Reserved | Reserved | Reserved | Reserved |
EPG1_DATAOUT54 | Reserved | 255 | Reserved | Reserved | Reserved | Reserved | Reserved |
EPG1_DATAOUT55 | Reserved | Reserved | 255 | Reserved | Reserved | Reserved | Reserved |
EPG1_DATAOUT56 | Reserved | Reserved | Reserved | 255 | Reserved | Reserved | Reserved |
EPG1_DATAOUT57 | Reserved | Reserved | Reserved | Reserved | 255 | Reserved | Reserved |
EPG1_DATAOUT58 | Reserved | Reserved | Reserved | Reserved | Reserved | 255 | Reserved |
EPG1_DATAOUT59 | Reserved | Reserved | Reserved | Reserved | Reserved | Reserved | 255 |
The Output X-BAR must be used to connect output signals to the OUTPUTXBARx output locations. The GPIO mux must then be configured to connect the OUTPUTXBARx lines to any of several IO pins with the GPIO mux. To avoid glitches on the pins, the GPyGMUX bits must be configured first (while keeping the corresponding GPyMUX bits at the default of zero), followed by writing the GPyMUX register to the desired value.
See the General-Purpose Input/Output (GPIO) chapter for more details on GPIO mux, GPIO settings, and XBAR configuration.