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.

HPI Pin Multiplexing on C6746

Hi TI world!

I'll try and keep this as succinct and painless as possible, but I've spent about a day trying to get this going so I figured it was time to reach out for some help...

I'm basically just wanting to set the PINMUX registers on the C6746 to allow for the HPI interface. I ran across the Pin Mux Utility, which is an incredibly neat tool, but I have not been able to figure out exactly how to write these values into the proper PINMUX registers. From what I have read on some other forums, it seems some are initializing these registers in the GEL file while others init them in main. Any suggestions on writing to these registers would be greatly appreciated!

Thanks,

Matthew

  • Got it! Do you get bonus points for answering your own question? :)

    Pretty trivial for most I'm sure... I just made a pointer to a particular Pin Mux in memory then wrote the value I wanted.

    Here's basically what I did:

    #define SYS_BASE 0x01C14000 // SYSCFG base memory
    #define PINMUX7 *(unsigned int*)(SYS_BASE + 0x13C) //PINMUX7

    PINMUX7 = 0x11111111;

    Thanks!