SPRAC77E January 2022 – February 2022 TMS320F28379D , TMS320F28379D-Q1 , TMS320F28379S
The test inputs and the PTO outputs are routed internally as shown in the mapping tables. The code that routes the signals can be found in the functions listed in Table 6-4.
Function | Location | Notes |
---|---|---|
Input Signal Routing: GPIO to CLB | ||
pto_qepdiv_setup_GPIO() |
Example application | Connect input GPIO to an INPUTXBAR. |
pto_qepdiv_initCLBXBAR() |
Library | Route INPUTXBARs to the global CLB AUXSIGx signals. |
pto_qepdiv_setupPeriph() |
Library | Connect tile inputs to the CLB global MUX, CLB local MUX or the tile's GPREG. |
Output Routing: CLB to GPIO | ||
Function | Location | Notes |
pto_qepdiv_initCLBXBAR |
Library | Connect tile's out4 or out5 to OUTPUTXBAR |
pto_qepdiv_startOperation() |
Library | Enable CLB output to override peripheral signals via
setOutputMask() |
pto_qepdiv_setup_GPIO() |
Example application | Connect GPIO output to a peripheral or an OUTPUTXBAR |
QepDiv Input | QepDiv Output | ||||
---|---|---|---|---|---|
Input Signal | Connect to for Demo (1) | Routing to CLB | Output Signal | Routing From the CLB | GPIO Pin |
QEP-A: GPIO10 | EPWM4A/GPIO6 or External Signal |
INPUTXBAR4 → AUXSIG0 → Tile1 in1, in2 and Tile2 in1, in2 |
PTO_QEP-A | Override PWM2A | GPIO2 |
QEP-B: GPIO11 | EPWM5A/GPIO8 or External Signal |
INPUTXBAR5 → AUXSIG1 → Tile1 in4, in5 and Tile2 in4 |
PTO_QEP-B | Override PWM2B | GPIO3 |
QEP-I: GPIO9 | EPWM4B/GPIO7 or External Signal |
INPUTXBAR6 → AUXSIG2 → Tile1 in7 |
PTO_QEP-I | Tile1 out5 → OUTPUTXBAR3 | GPIO5 |
Table 6-6 lists the connections that need to be made to use the EPWMs as inputs to QepDiv.
Board | EPWM4A to QEP-A | EPWM5A to QEP-B | EPWM4B to QEP-I |
---|---|---|---|
LAUNCHXL-F280025C | 78 (IO.6) to 14 (IO.10) | 76 (IO.16) to 15 (IO.11) | 77 (IO.7) to 7 (IO.9) |
LAUNCHXL-F280039C | 78 (IO.6) to 36 (IO.10) | 76 (IO.16) to 35 (IO.11) | 77 (IO.7) to 7 (IO.9) |
LAUNCHXL-F280049C | 78 to 40 | 38 to 39 | 77 to 37 |
LAUNCHXL-F28379D | 80 to 76 | 78 to 75 | 79 to 77 |
TMDSCNCD28388D | 54 to 61 | 57 to 63 | 56 to 59 |