The output from the PTO is internally
routed to GPIOs via the OUTPUTXBARs and by overriding PWM1-B. The code that routes the
signals can be found in the functions listed in Table 6-7.
Table 6-7 Abs2Qep Output Signal
Routing
Function |
Location |
Notes |
pto_abs2qep_initCLBXBAR |
Library |
Tie Tile out4/5 to OUTPUTXBARs |
pto_abs2qep_setupPeriph |
Library |
Enable output to override peripheral. |
pto_setupGPIO |
Example application |
Connect OUTPUTXBARs to GPIO outputs |
Table 6-8 F2838xD Abs2Qep Output GPIO
Mapping
Abs2Qep Output |
Test Connections |
Abs2Qep Signal |
Routing From CLB to GPIO |
GPIO / TMDSHSECDOCK Pin |
Connect Abs2Qep Output to: |
PTO-QEP-A |
Tile1 out4 to OUTPUTXBAR7 |
GPIO16 / Pin 67 |
GPIO20_EQEP1A / Pin 68 |
PTO-QEP-B |
Tile1 out5 to OUTPUTXBAR2 |
GPIO3 / Pin 55 |
GPIO21_EQEP1B / Pin 70 |
PTO-QEP-I |
Tile1 out2, override PWM1-B |
GPIO1 / Pin 51 |
GPIO99_EQEP1I / Pin 96 |
Test signal 1: System PWM ISR / Direction |
None |
GPIO32 / Pin 85 |
Monitor with Oscilloscope |
Test signal 2: Internal HALT/RUN |
Tile1 out0, override PWM1-A |
GPIO0 / Pin 49 |
Monitor with Oscilloscope |
Table 6-9 F2837xD Abs2Qep Output GPIO Mapping
Abs2Qep Output |
Test Connections |
Abs2Qep Signal |
Routing From CLB to GPIO |
GPIO / LAUNCHXL-F28379D Pin |
Connect Abs2Qep Output to: |
PTO-QEP-A |
Tile1 OUT4 to OUTPUTXBAR7 |
GPIO16 / J4-33 |
GPIO20_EQEP1A / J14-1 |
PTO-QEP-B |
Tile1 OUT5 to OUTPUTXBAR2 |
GPIO3 / J4-37 |
GPIO21_EQEP1B / J14-2 |
PTO-QEP-I |
Tile1 OUT2, override PWM1-B |
GPIO1 / J4-39 |
GPIO99_EQEP1I / J14-3 |
Test signal 1: System PWM ISR / Direction |
None |
GPIO32 / J1-2 |
Monitor with Oscilloscope |
Test signal 2: Internal HALT/RUN |
Tile1 OUT0, override PWM1-A |
GPIO0 / J4-40 |
Monitor with Oscilloscope |
Table 6-10 F280049C Abs2Qep Output GPIO
Mapping
Abs2Qep Output |
Test Connections |
Abs2Qep Signal |
Routing From CLB to GPIO |
GPIO / LAUNCHXL-F280049C Pin (1) |
Connect Abs2Qep Output to: |
PTO-QEP-A |
Tile1 OUT4 to OUTPUTXBAR1 |
GPIO24 / J8-55 |
GPIO10_EQEP1A / J4-40 |
PTO-QEP-B |
Tile1 OUT5 to OUTPUTXBAR2 |
GPIO3 / J6-75 |
GPIO11_EQEP1A / J4-39 |
PTO-QEP-I |
Tile1 OUT2, override PWM1-B |
GPIO1 / J6-79 |
GPIO9_EQEPI / J4-37 |
Test signal 1: PWM ISR / Direction |
- |
GPIO13 / J1-3 |
Monitor with Oscilloscope. |
Test signal 2: HALT/RUN |
Tile1 OUT0, override PWM1-A |
GPIO0 / J6-80 |
Monitor with Oscilloscope. |
(1) J8 and J6 are
swapped on the silkscreen of RevA F28004x LaunchPad. J8 and J6 Pin numbers in this
table refer to the silkscreen on Rev A. To confirm whether this applies to your
board, see the "known issues" in the revision section of
C2000™ Piccolo™ F28004x
Series LaunchPad™ Development Kit.
Table 6-11 F280025C Abs2Qep Output GPIO
Mapping
Abs2Qep Output |
Test Connections |
Abs2Qep Signal |
Routing From CLB to GPIO |
GPIO / LAUNCHXL-F280025C Pin |
Connect Abs2Qep Output to: |
PTO-QEP-A |
Tile1 OUT4 to OUTPUTXBAR1 |
GPIO24 / J5-44/45 |
GPIO10_EQEP1A / J2-14 |
PTO-QEP-B |
Tile1 OUT5 to OUTPUTXBAR2 |
GPIO3 / J4-37 |
GPIO11_EQEP1A / J2-15 |
PTO-QEP-I |
Tile1 OUT2, override PWM1-B |
GPIO1 / J4-39 |
GPIO9_EQEPI / J1-7 |
Test signal 1: PWM ISR / Direction |
- |
GPIO13 / J8-79 |
Monitor with Oscilloscope. |
Test signal 2: HALT/RUN |
Tile1 OUT0, override PWM1-A |
GPIO0 / J4-40 |
Monitor with Oscilloscope. |
Table 6-12 F280039C Abs2Qep Output GPIO
Mapping
Abs2Qep Output |
Test Connections |
Abs2Qep Signal |
Routing From CLB to GPIO |
GPIO / LAUNCHXL-F280039C Pin |
Connect Abs2Qep Output to: |
PTO-QEP-A |
Tile1 OUT4 to OUTPUTXBAR1 |
GPIO24 / J1-8 |
GPIO10_EQEP1A / J4-36 |
PTO-QEP-B |
Tile1 OUT5 to OUTPUTXBAR2 |
GPIO3 / J4-37 |
GPIO11_EQEP1A / J4-35 |
PTO-QEP-I |
Tile1 OUT2, override PWM1-B |
GPIO1 / J4-39 |
GPIO9_EQEPI / J1-7 |
Test signal 1: PWM ISR / Direction |
- |
GPIO13 / J8-79 |
Monitor with Oscilloscope. |
Test signal 2: HALT/RUN |
Tile1 OUT0, override PWM1-A |
GPIO0 / J4-40 |
Monitor with Oscilloscope. |