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.

RTOS/EVMK2G: Pin muxing

Part Number: EVMK2G

Tool/software: Linux

Hi,

As per the thread https://e2e.ti.com/support/processors/f/791/t/759883 I understand that you meant the file \cmb\test\evmK2G\analog\loopback\src\main.c in which the function Cmb_STATUS initPlatform(void) includes this extra pin muxing code

#if 1
(...)
    {
        int padCfg;
        for (padCfg = 139; padCfg <= 191; padCfg++)
        {
            pinMuxSetMode_local(padCfg, PADCONFIG_MUX_MODE_QUINARY);
        }
    }
#endif 

I was trying to compare pad numbers with PinMux tool output, but PinMux uses numbering like A15, and the above code uses continuous numbering. How can I easily move beteen the two numbering schemes? Thank you.

Best regards,

Adam

  • Adam,

    The pin name to padconfig mapping is provided in Table 4-28 in the K2G data manual :

    http://www.ti.com/lit/ds/symlink/66ak2g12.pdf

    When using the pinmux tool, it will show you the pin names when enabling the McASP pins. The code above is just setting all the pins for MCASP0 and MCASP1. If you add the two instances in the TI pinmux tool and select all the pins, it should produce the same impact as the for loop. 

    Regards,

    Rahul 

  • Rahul,

    thank you very much for pointing me to the table. Is it available in machine-readable form like an Excel, csv, or similar file? As the code generated by TI Pinmux Tool has different form from the PDK source code, I would like to have an easy way to compare both. Thank you.

    Regards,

    Adam

  • Adam,

    We don`t provide this information in .csv, excel or similar format as part of the TI pinmux tools.  The easiest way to compare the settings would be take register dump of PADCONFIG registers using PDK code and with TI Pinmux settings and doing a diff. We have done this previous during debugging which I have provided for your reference.

    Can you please let us know if method will work for you.

    Regards,

    Rahul