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.

CC3230SF: Understanding Pin Multiplexing

Part Number: CC3230SF
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

im still not able to understand pin multiplexing. 

There is no single Digital function that has all the UART lines. i need to use Digital Function 2 and 3 to get 4 UART lines. is it ok?

My I2C is on Digital Function 5, and my JTAG is on Digital Function 1. Is that ok? 

  • Hello pragash,

    I would suggest that you look at table 7-3 of the datasheet.

    This will show you all the possible options per pin.

    I also suggest you leverage sysconfig for pin configuration, it will do a lot of the heavy lifting for you.

  • im asking from a fundamental level. The datasheet goes on to an advanced level by explaining different digital functions, etc. but how the digital function is switched? 

    What is the need for having different digital functions? Is it because we can switch digital functions and use the same GPIO pin for something else? Why does a GPIO even need different functions? e.g., from UART to I2C (just an example). 

    Can someone explain this from a fundamental level? 

  • Each pin on the device can do specific functions.

    You can configure the pins to do anything that the pin can do.

    What you configure on one pin does not affect another.

    the table you provided are just suggestions.

    sysconfig and the datasheet are your best friend

  • meaning i can use Pin 1 as I2C and UART just by changing sysconfig? if yes, can sysconfig be changed by MCU, or do I need to manually change sysconfig via jumper in the PCB? 

  • Hi,

    CC3230 have connected peripherals to package pin via multiplexors. These multiplexors are controlled by pinmux registers. Sysconfig create startup configuration of pinmux via TI Drivers. But nothing prevent you change pinmux settings at runtime via TI Drviers, driverlib or registers. How pinmux works you find at TRM.

    Sysconfig is a graphical tool for default configuration of TI drivers. But all configuration can be dove at runtime. For example I do not use Sysconfig and all configuration I set via ROM driverlibs and registers. Because TI Drivers is a abstraction layer with limited feature set.

    Jan