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.

LAUNCHXL-CC2650: UART pin configuration

Part Number: LAUNCHXL-CC2650
Other Parts Discussed in Thread: CC2650

Hi!

I've started with project zero , I'm using UART with interrupt, it works fine.I want to send information from an msp340 to cc2650 ,but It's not working yet.

Here is my pin config:

const PIN_Config BoardGpioInitTable[] = {

    Board_RLED   | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX,         /* LED initially off             */
    Board_GLED   | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX,         /* LED initially off             */
    Board_BTN1   | PIN_INPUT_EN | PIN_PULLUP | PIN_IRQ_BOTHEDGES | PIN_HYSTERESIS,            /* Button is active low          */
    Board_BTN2   | PIN_INPUT_EN | PIN_PULLUP | PIN_IRQ_BOTHEDGES | PIN_HYSTERESIS,            /* Button is active low          */
    Board_SPI_FLASH_CS | PIN_GPIO_OUTPUT_EN | PIN_GPIO_HIGH | PIN_PUSHPULL | PIN_DRVSTR_MIN,  /* External flash chip select    */
    Board_UART_RX | PIN_INPUT_EN | PIN_PULLDOWN,                                              /* UART RX via debugger back channel */
    Board_UART_TX | PIN_GPIO_OUTPUT_EN | PIN_GPIO_HIGH | PIN_PUSHPULL,                        /* UART TX via debugger back channel */
    Board_SPI0_MOSI | PIN_INPUT_EN | PIN_PULLDOWN,                                            /* SPI master out - slave in */
    Board_SPI0_MISO | PIN_INPUT_EN | PIN_PULLDOWN,                                            /* SPI master in - slave out */
    Board_SPI0_CLK | PIN_INPUT_EN | PIN_PULLDOWN,                                             /* SPI clock */

    PIN_TERMINATE
};

How should I initialize the UART RX pin to get information on  "DIO3".

Best Regards

Mayer Tamás

  • Hi Mayer,

    Here is the link to the TI-RTOS Driver APIs for TI-RTOS v2.20.01.08: software-dl.ti.com/.../_u_a_r_t_8h.html

    That should help you get started with the UART driver.
  • Hi Rachel!

    I've already read this , but my problem is rather gpio config than UART config.

    I think i'ts a basic thing but I don't know what is the problem. I figured that the msp430 can't pull down the cc2650's rx pin,only to 2.7 V. The level of logic one is ok,3.3.

    On scope I've got this:

    I've already read the MSP430's and the CC2650's manual and I set PULLUP, PULLDOWN, etc. on both sides but still nothing. If I put the cc2650's rx  directly to the ground ,the interrupt works and with PUTTY it is also working ,so I'think it is a PIN problem as I mentioned before.

    Best regards

    Mayer Tamás

  • Hi Mayer Tamas,

    Do you connect to DIO2 and DIO3 directly? If you connect to DIO2 and DIO3 directly, you should remove the jumper on TX and RX on LAUNCH Board.