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.

TMDX5535EZDSP: Problem sending and receiving serial data from UART pins on expansion connector

Part Number: TMDX5535EZDSP

For a project we are using a TMS320C5535 eZdsp board paired with a ESP8266 WiFi module communicating over the UART pins on the expansion connector. We tested the WiFi module by connecting it to an Arduino Uno over the Rx and Tx pins and we were able to send messages to the Arduino over a network from a computer successfully. Now we are trying to do the same thing with the eZdsp board but we are unable to read anything from the WiFi module.

We were able to write a code based on the UART example codes from TI that sends and receives messages from the board to itself (by shorting the Rx and Tx pins on the eZdsp). However when we connect the Rx and Tx pins to the WiFi module we are unable to send and receive messages. We also tried to send messages from an Arduino to test it but we were unable to receive any messages from the Arduino either. We're not sure what the issue is so any help or suggestions would be appreciated.

Here's a snippet of our code with two functions that send and receive multiple characters over UART respectively. I have also attached a zip file containing the project files for our UART program.

void SendCommand(char *cmd) {
    while(*cmd != '\0') {
        EVM5515_UART_putChar(*cmd);
        cmd++;
    }
    EVM5515_UART_putChar('\r');
    EVM5515_UART_putChar('\n');
}

char* recvString() {
    char a;
    char *data;
    while(1) {
        EVM5515_UART_getChar(&a);
        if(a == '\0') break;
        *data = a;
        data++;
    }
}

uart.zip