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: Additional GPIO inputs to CLB

Part Number: TMS320F28379D

Hello,

Could you please tell us whether there are some more digital inputs
for CLB other than the normal GPIO? For example, how about the local inputs (ECAPIN, EQEP{A,B,I,S} ) ?

We don't care about the deglitch and polarity inversion features.

I think there are total six GPIO inputs to the CLB tiles. It is limited by the INPUT signal lines, which is the outputs from the Input X-Bar.

  • Hideaki Nambu said:
    Could you please tell us whether there are some more digital inputs
    for CLB other than the normal GPIO? For example, how about the local inputs (ECAPIN, EQEP{A,B,I,S} ) ?

    CLB inputs can come from a number of sources.  

    Where you start looking depends on what type of signal you want to pass to the CLA.  Below I've summarized the path for each one.  

    In the Technical Reference Manual (TRM) refer to these sections:

    • Crossbar (XBAR) Chapter: Input X-BAR and CLB X-BAR
    • CLB Chapter: CLB Input Selection: CLB GLOBAL, LOCAL and GP MUX  

    1. GPIO: 
      Input X-BAR → CLB X-BAR → AUXSIG0-7 → CLB global signal MUX →  GP MUX → Tile

    2. Internal signals from CMPSS, ADC, SDFM, CLB OUTLUT:
      CLB-X-BAR → AUXSIG0-7 → CLB global signal MUX→ GP MUX → Tile

    3. Internal ePWM signals 
      CLB global signal MUX → GP MUX → Tile

    4. Additional internal ePWM signals, eCAP, and eQEP signals
      CLB local signal MUX → GP MUX → specific Tile

    5. GP Register
      GP MUX → Tile

    Notes:

    Cases (1) (2) and (3) the CLB local signal MUX is set to 0. This allows the selected global signal to pass through.  This is the default value of the local signal MUX.

    Cases (1) (2) (3) and (4) the GP MUX is set to external.  For case (5) GP MUX selects the internal CLB_GP_REG.  This is a general register with in each CLB tile that SW can write to.  Bit 0 goes to input 0, bit 1 goes to input 1 etc.. 

    CLB Global signals are available to all CLB Tiles

    CLB Local Signals are available only on specific CLB Tiles.  For example EQEPA for EQEP1 is only available to CLB Tile 1. Whereas EQEPA for EQEP2 is only available to CLB Tile 2.

  • Lori,
    Thank you for your response.

    I think the #1 in your list is the very typical GPIO inputs. Maximum six inputs.
    We would like to feed more GPIO-like inputs to the CLB.

    Then, can I ask more about #4 (Additional internal ePWM signals, eCAP, and eQEP signals) ?
    Is it possible for ECAPIN and EQEP{A,B,I,S} terminals to simply sense the voltage level (high or low) as the CLB inputs ?

    I listed these signals because they doesn't occupy the Input X-Bar signals "INPUT[1:6]".
    We would like to know more GPIO-like inputs that co-exist with the very typical GPIO inputs.

    The purpose is to absorb as much as external logic components.

  • Hideaki Nambu said:
    Then, can I ask more about #4 (Additional internal ePWM signals, eCAP, and eQEP signals) ?
    Is it possible for ECAPIN and EQEP{A,B,I,S} terminals to simply sense the voltage level (high or low) as the CLB inputs ?

    The other inputs that can be fed from these peripherals are detailed in the Technical Reference Manual. 

    Refer to these sections:

    • Crossbar (XBAR) Chapter: Input X-BAR and CLB X-BAR
    • CLB Chapter: CLB Input Selection: CLB GLOBAL, LOCAL and GP MUX 

    Regards

    Lori