This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28379D: TMS320F28379D: Position Manager - GPIO Pins

Part Number: TMS320F28379D

Hi,

 Question regarding GPIO pins assignment in Position Manager (PM) library for serial encoder i.e. EnDat 2.2, BiSS-C and T-Format.

EnDat 2.2:     sprui35.pdf   -> See Figure 2 on Page 6 and Table 6 on Page 33

BiSS-C:           sprui37.pdf   -> See Figure 3 on Page 6 and Table 9 Page 18

T-Format:     sprui71.pdf   -> See Figure 2 on Page 6 and Table 6 on Page 20

 1. Can I use any other GPIO, other than GPIO 6 and 7 for ENDAT_CLK and SPICLK?

 2.  Is EPWM4 fix for encoder PM Lib and can output of the EPWM4 can be configure to other GPIO for position manager?

 3. Also instead of GPIO 34, can any other GPIO be assigned and map to OUTPUTXBAR1?

 4. Does SinCos PM Lib (see sprui54.pdf)  uses CLB?

Thanks

PJ

  • Hi PJ,

    Thanks for your interest in PositionManager. You are referring to the right table (Resource requirements) for determining this.
    GPIOs designated as "IO dedicated for xxx" can not be changed. Hence,
    1. No - these IOs are fixed.
    2. Yes - it's fixed in the library
    3. Yes - as indicated in the table
    4. No - Sincos doesn't use CLB.

    -Bharathi.
  • Hi Bharathi,

    According to Serial Encoder PM app notes GPIO27 i.e. SPISTEB pin is Grounded (sprui35.pdf -> See Figure 2 on Page 6 ).
    Does GPIO27 needs to be grounded if we want to use PM lib? or can GPIO27 be assigned to any other GPIO function?

    Thanks
    PJ
  • Hi PJ,

    GPIO27 is SPISTEB and needs to be grounded. That's correct - can't reuse for another function.

    -Bharathi.