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.

CCS/TMS320F28379D: Interfacing Tiva123 with Delfino79D using UART

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

When I try to communicate between both Tiva123 and Delfino79D, the received data on each board is completely different from the data transmitted.

- For the Delfino79D, I used and modified the echoback example from C2000ware to use SCIB instead of SCIA and removed the echoback part from the code.

- For the Tiva123, I used and modified the uartpolled example from Tivaware and used UART1 instead of UART0.

P.S. 

  • when I try to connect the Tx and the Rx pin on the Delfino79D board to each others, I receive the data correctly
  • when I try to connect the Tx and the Rx pin on the Tiva123 board to each others, I receive the data correctly
  • But when I connect the Delfino with the Tiva, the data is totally corrupted, the connections are shown below:
Delfino Tiva
Tx Rx
Rx Tx
GND GND

I have read in one of the threads that the SCI module on C2000ware is not compatible with the UART module on Tiva Series as mentioned in Brett Larimore answer here 


UPDATE:

when I reduced the baud rate to be 9600, it worked fine and when I make it 115200, the data is corrupted. So, what should I do to be able to communicate with 115200 baudrate? and is this because of the wire length or what?

  • Hi Nada,

    Nada Wael said:
    I have read in one of the threads that the SCI module on C2000ware is not compatible with the UART module on Tiva Series

    This thread was directed towards one of our previous devices which contained an M3 core (with a UART module) and a C28x core (with an SCI module) essentially saying that the C28x core could not use the UART module and vice versa. In your case you should be able to communicate to the Tiva123.

    Nada Wael said:
    when I reduced the baud rate to be 9600, it worked fine and when I make it 115200, the data is corrupted. So, what should I do to be able to communicate with 115200 baudrate? and is this because of the wire length or what?

    How far apart are the devices? Do you know what the error percentage is from the ideal baudrate to the actual baudrate on the Tiva123?

    Best Regards,

    Marlyn

  • How far apart are the devices?

    18 cm

    Do you know what the error percentage is from the ideal baudrate to the actual baudrate on the Tiva123?

    I do not know exactly but when I observed the Tx signal from both Tiva123 and Delfino on the oscilloscope, I found out the following:

    Delfino's baudrate is ~41,600

    and Tiva123 baudrate is ~115,000

  • Hi Nada,

    Nada Wael said:
    Delfino's baudrate is ~41,600

    If your target is 115200, this is really far from the ideal. What hardware are you using for the F28379D? Is it a launchpad, or your own custom board? What is your LSPCLK and what BRR value are you setting to achieve 115200?

    Best Regards,

    Marlyn