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.

Concerto UART4 RX Loopback TO Ethernet Transmit

Hello

I am trying a simple application using my Concerto

C28x Core

1. I am sending ADC data from C28x Core to the ARM Core via Internal Loopback to UART4 of M3.

M3 Core

1. Receive UART4 data via DMA, and transmit this via UDP to the host. 

I have implemented the UDP based on Concerto's shipping demos, however could not get this to work. 

What i see is that the UART4 DMA  when UDP is initialized, receives complete junk. 

If i comment out the UDP initialization, everything goes fine and the data is received properly on the M3 core. 

The baudrate i am trying for the UART is also too low, i am currently trying 115200. Same problem is seen at higher baud rates also. 

Where could i be going wrong? I see that the DMA channels for the UART internal loopback and for Ethernet are also completely different.

Regards

Sandeep

  • Sandeep,

    Can I ask why you're not using a shared RAM or message RAM to transfer the ADC data?

    Are you using a stack with UDP? Is it possible the stack is writing to the same location as the UART4 DMA? It could be that the stack is in the same memory location, or that there is stack overflow!

    Can you check in a memory browser at the destination pointer for the UART4 DMA and see if the data appears correctly there when UDP is initialized?

    I am not sure how increasing the frequency would be related, for this issue double check that both the transmitter and receiver are configured to the same Baud rate.

    Regards,
    Cody