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.

AWR1843: How to set a new PIN for UART A rx?

Expert 2050 points
Part Number: AWR1843

We have applied automotive labdemo: 0007_mrr in our customised radar sensor AWR1843. 

We are going to add another PIN(F14) for UARTA_RX by using Pinmux_set_FuncSel as below:  

/*
* PIN N4 is used as Debug UART RX
*/
Pinmux_Set_OverrideCtrl(SOC_XWR18XX_PINN4_PADBD, PINMUX_OUTEN_RETAIN_HW_CTRL, PINMUX_INPEN_RETAIN_HW_CTRL);
Pinmux_Set_FuncSel(SOC_XWR18XX_PINN4_PADBD, SOC_XWR18XX_PINN4_PADBD_MSS_UARTA_RX);

/*
* PIN F14 is used as New UART RX
*/
Pinmux_Set_OverrideCtrl(SOC_XWR18XX_PINF14_PADAJ, PINMUX_OUTEN_RETAIN_HW_CTRL, PINMUX_INPEN_RETAIN_HW_CTRL);
Pinmux_Set_FuncSel(SOC_XWR18XX_PINF14_PADAJ, SOC_XWR18XX_PINF14_PADAJ_MSS_UARTA_RX);

...

/* Open UART Driver: */
UART_Params_init(&uartParams);
uartParams.clockFrequency = MSS_SYS_VCLK;
uartParams.baudRate = 115200;
uartParams.isPinMuxDone = 1;
/* new configuration setting for GNSS rx */
uartParams.writeDataMode = UART_DATA_BINARY;
uartParams.readDataMode = UART_DATA_BINARY;
uartParams.readTimeout = 1000U;
uartParams.readEcho = UART_ECHO_OFF;
uartParams.readReturnMode = UART_RETURN_FULL;

/* Open the Command UART Instance */
gMrrMSSMCB.commandUartHandle = UART_open(0, &uartParams);
if (gMrrMSSMCB.commandUartHandle == NULL)
{
    System_printf("Error: Unable to open the Command UART Instance\n");
    return;
}

But the PIN F14 doesn't work as UARTA_RX (( I send signal to PIN N4, UARTA read function can get it)). It seems PIN N4 still work as UARTA_RX ( I send signal to PIN N4, UARTA read function can get it).

Can you please check what is the problem with my pinum setting?

Thanks