I am trying to do UART communication between cc3200 and cc2538DK. I am using the UART pins available on P412 probe on EB.
I have done initialisations similar to done in MT. I am able to receive data in UART but i am not able to send the data.
I have connected the tx pin to oscilloscope and it is not showing any thing. When i tracked down, the UARTCharPutNonBlocking is returning false in Proctx ( which is called in HalUARTWriteIsr)
I can see no reason for UARTCharPutNonBlocking returning false on my first UARTWrite.
Also in
void HalUARTInitIsr(void) { SysCtrlPeripheralEnable(HAL_UART_SYS_CTRL); /* Setup PB0 as UART_CTS, PD3 as UART_RTS * PA1 as UART_TX and PA0 as UART_RX */ IOCPinConfigPeriphOutput(GPIO_A_BASE, GPIO_PIN_1, IOC_MUX_OUT_SEL_UART1_TXD); IOCPinConfigPeriphInput(GPIO_A_BASE, GPIO_PIN_0, IOC_UARTRXD_UART1); GPIOPinTypeUARTInput(GPIO_A_BASE, GPIO_PIN_0); GPIOPinTypeUARTOutput(GPIO_A_BASE, GPIO_PIN_1); recRst(); }
the pins are initialised as UART1 while the RX and TX are connected to UART0 in Evaluation Board.
Should i change it to UART0?