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.

Confusion about PINMMR for tms570lc43hdk

I am still not 100% certain about how to properly set up the pins for the tms570lc43hdk.

GIOA[0] for example can be configured as input or output.

For inputs A5/PINMMR83[24] and R5/PINMMR83[25] are listed.

For output R5/PINMMR16[11] is listed.

Is it correct to say that if it should be used as an output then PINMMR16[11] has to be set? And you cannot configure it to use PINMMR16[11] and then use it as input instead?

And likewise, if you choose A5/PINMMR83[24] or R5/PINMMR83[25] then you cannot use it as output?

  • Hi Staffan,

    Please check if your other post has answered this question. Sorry for the late response.

    "Is it correct to say that if it should be used as an output then PINMMR16[11] has to be set? And you cannot configure it to use PINMMR16[11] and then use it as input instead?
    And likewise, if you choose A5/PINMMR83[24] or R5/PINMMR83[25] then you cannot use it as output?"

    No. If GIOA[0] is set as an output and PINMMR16[11]  is not set, ball A5 will still show the output. The configuration of PINMMR16[11] only matters if GIOA[0] is set as an output pin. Similarly, the configuration of PINMMR83[24:25] only matters if GIOA[0] is set as input (not completely correct but it doesn't matter in this discussion).

    Pinmuxing does not force the direction of GIOA[0] to output or input. The direction is only determined by the GIO module direction register.

    Thanks and Regards,

    Vineeth