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.

C6748 Peripheral and pins assignment

Hi, I'm trying to use a C6748 in a uni project and I have the following questions: 

- When configuring pins multiplexing (using provided utility); if there is a conflict with, for example, SPI0_CS[3] and other selected peripheral does this means I can't use SPI0 at all? or does mean I have to restrict myself to CS[0-2]?

- Can Pins multiplexing registers be modified at runtime? 

- Is it ok to switch peripherals on and off at runtime? I mean switch certain IOs off and assign them to a different peripheral? 

Thanks,

  • John,

    Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages. Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics.

    John Smith7 said:
    - When configuring pins multiplexing (using provided utility); if there is a conflict with, for example, SPI0_CS[3] and other selected peripheral does this means I can't use SPI0 at all? or does mean I have to restrict myself to CS[0-2]?

    You can restrict yourself to CS(0-2). Any input pin that is multiplexed away from a peripheral will be set with an inactive state for that peripheral, and any output pin that is multiplexed away will just be unavailable as an output for that peripheral with no effect.

    John Smith7 said:
    - Can Pins multiplexing registers be modified at runtime? 

    Yes. You always have to take care since the pins can change from the external level to the new level if driven or used by the old peripheral and the new peripheral. You should be able to find guidelines for this, hopefully in the TRM or else in a Wiki article. Generally, you will want to turn off both the old and new peripheral before making the change, but that might not be requirement in all cases.

    John Smith7 said:
    - Is it ok to switch peripherals on and off at runtime? I mean switch certain IOs off and assign them to a different peripheral? 

    Yes. Again, take care when doing this.

    Regards,
    RandyP