SPRAC77E January 2022 – February 2022 TMS320F28379D , TMS320F28379D-Q1 , TMS320F28379S
In this example, EPWMs are generated by the device and are meant to simulate test QEP signals. These EPWM signals need to be externally routed to both the CLB INPUTXBARs and the on-board eQEP peripheral. The following two tables describe the necessary pin connections that need to be made depending on the device being used.
The EPWM signals serve as test inputs to showcase the functionality of the QepOnClb example. If desired, users can instead route external QEP-A and QEP-B signals to the INPUTXBARs and eQEP peripheral.
The CLB-based QEP decoder module is configured to accept three inputs corresponding to QEP-A, QEP-B, and QEP-I. The QEP-A signal should be routed into INPUTXBAR2, the QEP-B signal should be routed into INPUTXBAR1, and the QEP-I signal should be routed into INPUTXBAR3.
Table 6-13 lists the connections that need to be made to route the EPWM signals to the CLB X-BARs.
Board | EPWMA to INPUTXBAR2 (QEP-A) | EPWMB to INPUTXBAR1 (QEP-B) | GPIO to INPUTXBAR3 (QEP-I) |
---|---|---|---|
LAUNCHXL-F280025C | GPIO0 (J4-40) to GPIO8 (J2-12) | GPIO1 (J4-39) to GPIO9 (J1-7) | GPIO2 (J4-38) to GPIO27 (J2-11) |
LAUNCHXL-F280039C | GPIO0 (J4-40) to GPIO8 (J2-15) | GPIO1 (J4-39) to GPIO9 (J1-7) | GPIO2 (J4-38) to GPIO27 (J6-59) |
LAUNCHXL-F280049C | GPIO10 (J4-40) to GPIO39 (J2-13) | GPIO11 (J4-39) to GPIO40 (J1-4) | GPIO8 (J4-38) to GPIO27 (J6-59) |
LAUNCHXL-F28379D | GPIO0 (J4-40) to GPIO18 (J1-4) | GPIO1 (J4-39) to GPIO40 (J5-50) | GPIO2 (J4-38) to GPIO27 (J6-52) |
TMDSCNCD28388D | GPIO0 (Pin 49) to GPIO18 (Pin 71) | GPIO1 (Pin 51) to GPIO40 (Pin 89) | GPIO2 (Pin 53) to GPIO27 (Pin 81) |
Table 6-13 lists the connections that need to be made to route the EPWM signals to the eQEP peripheral.
Board | EPWMA to eQEP-A | EPWMB to eQEP-B | GPIO to eQEP-I |
---|---|---|---|
LAUNCHXL-F280025C | GPIO0 (J4-40) to GPIO25 (J4-31) | GPIO1 (J4-39) to GPIO29 (J1-4/5) | GPIO2 (J4-38) to GPIO23 (J2-13) |
LAUNCHXL-F280039C | GPIO0 (J4-40) to GPIO25 (J6-51) | GPIO1 (J4-39) to GPIO29 (J1-4/5) | GPIO2 (J4-38) to GPIO23 (J2-11) |
LAUNCHXL-F280049C | GPIO10 (J4-40) to GPIO35 (J1-10) | GPIO11 (J4-39) to GPIO37 (J1-9) | GPIO8 (J4-38) to GPIO59 (J2-11) |
LAUNCHXL-F28379D | GPIO0 (J4-40) to GPIO20 (QEP1A) | GPIO1 (J4-39) to GPIO21 (QEP1B) | GPIO2 (J4-38) to GPIO23 (QEP1I) |
TMDSCNCD28388D | GPIO0 (Pin 49) to GPIO20 (Pin 68) | GPIO1 (Pin 51) to GPIO21 (Pin 70) | GPIO2 (Pin 53) to GPIO23 (Pin 74) |