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.

pinmux source for starterware am335x_icev2_pinmux_data.c?

Other Parts Discussed in Thread: SYSBIOS

The starterware included with sysbios_ind_sdk_2.1.1.2 contains a pinmux.c file with the same format as the pinmux tool output. Is there a source file for this to use with the pinmux tool?

I would like to customize the pinmux allocations using this SDK, but I would like to have a fully-populated starting point to save myself time matching the output to input. I cannot find any such file on the TI wiki or website.

I did notice a forum post describing issues with the PR1 MII0, but I should be able to work around that discrepancy by merging the output with the existing file.

As a secondary question, what is the suggested solution for inserting custom pinmux assignments in this version of the SDK?  The simplest solution (barring recompiling the board library) is to change the pPinmuxData pointer inside the boardData_t structure once I get access at the start of my program, but that seems a bit hackish to me.

  • Moving this to the Starterware forum.
  • Hi Ryan,

    There is a readme that I posted at the bottom of this thread that has some pinmux manipulation information. Please take a look to see if it helps. Its based on the BBB.

    There are some platform specific pinmux config files located at C:\ti\sysbios_ind_sdk_2.1.1.2\sdk\starterware\tools\pinmux_config\am335x that you should be able to load in the utility (step 2 in the readme).

    Hope this helps.

    Lali

  • Thanks for the reply. I didn't notice those files because they did not have the .pinmux extension and did not appear when I searched the SDK folder for *.pinmux. Unfortunately, they appear to be missing some perhipherals that are included in the SDK-provided pinmux file (GPMC, PRU_ICSS, and SPI1). I think I'll go with my generate and merge solution instead, unless the original file can be found.

    Your linked document was useful, but unfortunately confirmed my theory about needing to rebuild the library. As I would prefer to avoid modifying and rebuilding the library, I will try changing the pointer in the board structure after the fact and see if I have any luck.
  • Hi Ryan,

    Glad that it is of some use. We are making a better effort to document more of these procedures to assist customers in using our tools.

    Regarding your other thread, I'm looking into why the binaries don't work. Please bear with me as I research that problem.

    Lali