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.

Compiler/CC1350: PIN Multiplexing for different peripherals

Part Number: CC1350


Tool/software: TI C/C++ Compiler

Hi,

I'm using CC1350 Launchpad. I have referred examples on UART and RF. I would like to know the steps for multiplexing GPIO pins to use it as UART TX and RX.

Thank you,
Athmesh Nandakumar

  • Not sure if I understand your question. Could you elaborate some on what you mean by "multiplexing GPIO pins to use it as UART TX and RX."?

  • Hi,
    I'm new to TI-RTOS. Don't have much an idea about Pin enabling for different purpose.

    What i meant by GPIO multiplexing is, to use  GPIO Pins like DIO2 for UART TX and DIO3 for UART RX. 


    In other controller, we have to call a function to use those pins for a specific purpose (of a peripheral). 

    In these examples i found GPIO Pintable, where the UART_RX is defined as 2.

    const PIN_Config BoardGpioInitTable[] = {
    
        CC1350_LAUNCHXL_UART_RX | PIN_INPUT_EN | PIN_PULLDOWN,                                                 /* UART RX via debugger back channel */
        CC1350_LAUNCHXL_UART_TX | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL,                            /* UART TX via debugger back channel */
        PIN_TERMINATE
    };

    How does the controller know if the 2nd pin is used for UART purpose? And while calling UART_write, the data should be transmitted through 2nd pin. Which we must let the controller know for

  • To get some information on how this works you can take a look at: