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.

TMS570LS31 HDK



Hi!

I'm in a project where we are using the TMS570LS31 HDK. However, I have a hard time finding out how the expansion connectors are connected to the MCU. There are some pins that seem to be unconnected? They are called NC in the datasheet for the development kit. Although, in the schematics the pins seem to be connected.

Also, it says in the data sheet for the MCU, that some of the EMIF and N2HET pins can be used as GIOs, but I'm not sure whether or not this is also applicable when using the development kit? That is, are the pins on the expansion connectors directly connected to the MCU pins? Or may there be hardware in between the exp. connectors and the MCU for application specific purposes? I ahve a really hard time finding out that using the data sheets alone.

Thank you!

  • Hello Andreas,

    All the NHET pins and most of EMIF signals are routed to the expansion connectors. Most of the signals go to the connectors directly except those signals which are pinmuxed with USB/MII/RMII signals. To use those pinmuxed signals as NHET, please push the dip switch (S2) to the left side to de-select USB/Ethernet function. All NC signals (In schematics, I may use other labels, and will correct them) are not routed to the expansion connectors in the schematics. Which pins are you going to use as GIO?

    Regards,

    QJ

  • Thank you!

    We aim to extend as many GIOs as possible. I've made a list of all the expansion pins and verified whether or not they can be used as GIOs, but I'm not entirely sure since I can't verify whether or not the MCU pins are directly connected to the expansion connectors.

    In the MCU datasheet, I can find the pins which are connected to the expansion connectors. In that same datasheet it is stated whether or not the pins can be used as GIOs. Although, I cannot be sure if the pins are directly connected to the expansion connectors, or if there may be additional hardware in between. Hardware that are meant to ease the use of certain functionality in the MCU.

    Below is the list I've made. Is it correct? "Can be GIO" and "GIO" means that it is possible to use it as GIO. All others state that GIO is not applicable for that expansion connector pin.

     

    EXP_P2, J10
    Signal name Description MCU   Pin Ext.   Pin Ext.   Pin MCU   Pin Description Signal   name
    EXP_12V 12VDC - 1 2 - GND GND
    EXP_12V 12VDC - 3 4 - GND GND
    MibSPI1NENA Can   be GIO G19 5 6 F18 Can   be GIO MibSPI1CLK
    MibSPI1NCS[1] Can   be GIO F3 7 8 R2 Can   be GIO MibSPI1NCS[0]
    MibSPI1NCS[3] Can   be GIO J3 9 10 G3 Can   be GIO MibSPI1NCS[2]
    MibSPI1SIMO Can   be GIO F19 11 12 G18 Can   be GIO MibSPI1SOMI
    GND GND - 13 14 - GND GND
    MibSPI5NENA Can   be GIO H18 15 16 H19 Can   be GIO MibSPI5CLK
    MibSPI5NCS[1] Can   be GIO B6 17 18 E19 Can   be GIO MibSPI5NCS[0]
    MibSPI5NCS[3] Can   be GIO T12 19 20 W6 Can   be GIO MibSPI5NCS[2]
    MibSPI5SIMO[0] Can   be GIO J19 21 22 J18 Can   be GIO MibSPI5SOMI[0]
    MibSPI5SIMO[1] Can   be GIO E16 23 24 E17 Can   be GIO MibSPI5SOMI[1]
    MibSPI5SIMO[2] Can   be GIO H17 25 26 H16 Can   be GIO MibSPI5SOMI[2]
    MibSPI5SIMO[3] Can   be GIO G17 27 28 G16 Can   be GIO MibSPI5SOMI[3]
    GND GND - 29 30 - GND GND
    AD1IN[1] Analog   Input V17 31 32 W14 Analog   Input AD1IN[0]
    AD1IN[3] Analog   Input T17 33 34 V18 Analog   Input AD1IN[2]
    AD1IN[5] Analog   Input R17 35 36 U18 Analog   Input AD1IN[4]
    AD1IN[7] Analog   Input V14 37 38 T19 Analog   Input AD1IN[6]
    GND GND - 39 40 - GND GND
    AD2IN[1] Analog   Input U13 41 42 V13 Analog   Input AD2IN[0]
    AD2IN[3] Analog   Input U16 43 44 U14 Analog   Input AD2IN[2]
    AD2IN[5] Analog   Input T15 45 46 U15 Analog   Input AD2IN[4]
    AD2IN[7] Analog   Input R16 47 48 R19 Analog   Input AD2IN[6]
    GND GND - 49 50 - GND GND
    AD1IN[9] Analog   Input W17 51 52 P18 Analog   Input AD1IN[8]
    AD1IN[11] Analog   Input U19 53 54 U17 Analog   Input AD1IN[10]
    AD1IN[13] Analog   Input T18 55 56 T16 Analog   Input AD1IN[12]
    AD1IN[15] Analog   Input P19 57 58 R18 Analog   Input AD1IN[14]
    GND GND - 59 60 - GND GND
    ADREFHI Analog   Input V15 61 62 V16 Analog   Input ADREFLO
    AD1EVT Can   be GIO N19 63 64 V10 Input   or GIO AD2EVT
    EXP_12V 12VDC - 65 66 - GND GND
                   
                   

     

    EXP_P1,   J9

    Signal name Description MCU   Pin Ext.   Pin Ext.   Pin MCU   Pin Description Signal   name
    EXP_12V 12VDC - 1 2 - GND GND
    ECLK Can   be GIO A12 3 4 B14 nERROR nERROR
    RST - - 5 6 M17 Output,   Ext. mem. EMIF_nCS[4]
    NC - C17 7 8 - - NC
    NC - C16 9 10 - - NC
    NC - C14 11 12 - - NC
    NC - C13 13 14 - - NC
    NC - C11 15 16 C10 Output,   Ext. mem. EMIF_ADDR[12]
    EMIF_ADDR[11] Output,   Ext. mem. C9 17 18 C8 Output,   Ext. mem. EMIF_ADDR[10]
    EMIF_ADDR[9] Output,   Ext. mem. C7 19 20 C6 Output,   Ext. mem. EMIF_ADDR[8]
    EMIF_ADDR[7] Output,   Ext. mem. C5 21 22 C4 Output,   Ext. mem. EMIF_ADDR[6]
    EMIF_ADDR[5] Output,   Ext. mem. D9 23 24 D8 Output,   Ext. mem. EMIF_ADDR[4]
    EMIF_ADDR[3] Output,   Ext. mem. D7 25 26 D6 Output,   Ext. mem. EMIF_ADDR[2]
    EMIF_ADDR[1] Output,   Ext. mem. D5 27 28 D4 Output,   Ext. mem. EMIF_ADDR[0]
    GND GND   29 30   GND GND
    EMIF_nWE Output,   Ext. mem. D17 31 32 K17 Output,   Ext. mem. EMIF_nCS[3]
    EMIF_nOE Output,   Ext. mem. D12 33 34 L17 Output,   Ext. mem. EMIF_nCS[2]
    EMIF_BA[1] Output,   Ext. mem. D16 35 36 D11 Output,   Ext. mem. EMIF_nDQM[1]
    EMIF_BA[0] Output,   Ext. mem. D13 37 38 D10 Output,   Ext. mem. EMIF_nDQM[0]
    GND GND   39 40   GND GND
    EMIFDATA[1] I/O,   Ext. mem. L16 41 42 K16 I/O,   Ext. mem. EMIFDATA[0]
    EMIFDATA[3] I/O,   Ext. mem. N16 43 44 M16 I/O,   Ext. mem. EMIFDATA[2]
    EMIFDATA[5] I/O,   Ext. mem. F4 45 46 E4 I/O,   Ext. mem. EMIFDATA[4]
    EMIFDATA[7] I/O,   Ext. mem. K4 47 48 G4 I/O,   Ext. mem. EMIFDATA[6]
    EMIFDATA[9] I/O,   Ext. mem. M4 49 50 L4 I/O,   Ext. mem. EMIFDATA[8]
    EMIFDATA[11] I/O,   Ext. mem. P4 51 52 N4 I/O,   Ext. mem. EMIFDATA[10]
    EMIFDATA[13] I/O,   Ext. mem. T6 53 54 T5 I/O,   Ext. mem. EMIFDATA[12]
    EMIFDATA[15] I/O,   Ext. mem. T8 55 56 T7 I/O,   Ext. mem. EMIFDATA[14]
    GND GND   57 58   GND GND
    SPI2SOMI Can   be GIO D2 59 60 P3 I/O,   Ext. mem. EMIF_nWAIT
    SPI2SIMO Can   be GIO D1 61 62 D3 Can   be GIO SPI2NCS[1]
    SPI2NCS[0] Can   be GIO N3 63 64 E2 Can   be GIO SPI2CLK
    EXP_12V 12VDC   65 66   GND GND
                   
                   

     

    EXP_P3,   J11

    Signal name Description MCU   Pin Ext.   Pin Ext.   Pin MCU   Pin Description Signal   name
    EXP_12V 12VDC   1 2   GND GND
    EXP_12V 12VDC   3 4   GND GND
    LINRX LIN   Receive A7 5 6 B7 LIN   Transmit LINTX
    CAN1RX CAN1   Receive B10 7 8 A10 CAN1   Transmit CAN1TX
    CAN2RX CAN2   Receive H1 9 10 H2 CAN2   Transmit CAN2TX
    CAN3RX CAN3   Receive M19 11 12 M18 CAN3   Transmit CAN3TX
    FRAYRX1 FRAY1   Receive A15 13 14 A8 FRAY2   Receive FRAY2RX2
    FRAYTX1 FRAY1   Transmit B15 15 16 B8 FRAY2   Transmit FRAY2TX2
    FRAYTXEN1 FRAY1   TX Enable B16 17 18 B9 FRAY2   TX Enable FRAYTXEN2
    GIOA[1] General   I/O C2 19 20 A5 General   I/O GIOA[0]
    GIOA[3] General   I/O E1 21 22 C1 General   I/O GIOA[2]
    GIOA[5] General   I/O B5 23 24 A6 General   I/O GIOA[4]
    GIOA[7] General   I/O M19 25 26 H3 General   I/O GIOA[6]
    GIOB[1] General   I/O K2 27 28 M2 General   I/O GIOB[0]
    GIOB[3] General   I/O W10 29 30 F2 General   I/O GIOB[2]
    GIOB[5] General   I/O G2 31 32 G1 General   I/O GIOB[4]
    GIOB[7] General   I/O F1 33 34 J2 General   I/O GIOB[6]
    GND GND   35 36   GND GND
    NHET1[1] Can   be GIO V2 37 38 K18 Can   be GIO NHET1[0]
    NHET1[3] Can   be GIO U1 39 40 W5 Can   be GIO NHET1[2]
    NHET1[5] Can   be GIO V6 41 42 B12 Can   be GIO NHET1[4]
    NHET1[7] Can   be GIO T1 43 44 W3 Can   be GIO NHET1[6]
    NHET1[9] Can   be GIO V7 45 46 E18 Can   be GIO NHET1[8]
    NHET1[11] Can   be GIO E3 47 48 D19 Can   be GIO NHET1[10]
    NHET1[13] Can   be GIO N2 49 50 B4 Can   be GIO NHET1[12]
    NHET1[15] Can   be GIO N1 51 52 A11 Can   be GIO NHET1[14]
    NHET1[17] Can   be GIO A13 53 54 A4 Can   be GIO NHET1[16]
    NHET1[19] Can   be GIO B13 55 56 J1 Can   be GIO NHET1[18]
    NHET1[21] Can   be GIO H4 57 58 P2 Can   be GIO NHET1[20]
    NHET1[23] Can   be GIO J4 59 60 B3 Can   be GIO NHET1[22]
    NHET1[25] Can   be GIO M3 61 62 P1 Can   be GIO NHET1[24]
    NHET1[27] Can   be GIO A9 63 64 A14 Can   be GIO NHET1[26]
    NHET1[29] Can   be GIO A3 65 66 K19 Can   be GIO NHET1[28]
    NHET1[31] Can   be GIO J17 67 68 B11 Can   be GIO NHET1[30]
    GND GND   69 70   GND GND
    MibSPI3NCS[3] Can   be GIO C3 71 72 B2 Can   be GIO MibSPI3NCS[2]
    MibSPI3SIMO Can   be GIO W8 73 74 V8 Can   be GIO MibSPI3SOMI
    MibSPI3NCS[1] Can   be GIO V5 75 76 V10 Can   be GIO MibSPI3NCS[0]
    MibSPI3NENA Can   be GIO W9 77 78 V9 Can   be GIO MibSPI3CLK
    EXP_12V 12VDC   79 80   GND GND

  • Hi Andreas,

    The signal description in the tables you listed is correct. As I told you, there are several signal multiplexers/de-multiplexers between MCU and USB PHY, Ethernet PHY and Expansion connectors. If you want to use the signals pinmuxed with USB/Ethernet, you need to de-select USB and Ethernet dip switches. I listed those signals in the attached word doc:

    7485.1.docx

    Regards,

    QJ


  • Thank you!

     

    Some of the pins I listed are connected to signals called "EMIDATA". They are specified to be I/O, but it's not said that they can be used as GIOs. Can they be used as GIOs, or what is the main difference betwwen a regeular I/O and a GIO?

  •  

    I noticed that you now have changed both the schematic and the user guide for the development board. Now all of a sudden almost no pins are connected to the MCU from the expansion connectors. I hope this is not the case?

    There are still some things that are not entirely clear. In the user guide you've written that the expansion connectors are directly connected to the MCU signals, since you've mapped the pins at the expansion boards to the signal names of the MCU. Although, in the schematic it seems like there's additional hardware between the MCU and the expansion boards. For example, many of the GIOA pins are used by external hardware. Does this make those GIOA pins unavailable for us to use?

    Thank you.