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.

C5502 UART

I am using C5502 DSP in which I have configured UART and DMA to work together for DATA transfer.

Since here in DSP Rx and Tx are same physical addresses will it be possible to have full duplex operation as in case of standard 8051 controllers?

I am porting standard 8051 code on DSP right now.

Please reply.

  • Hello Milin,

    Yes,  Uart can transmit and receive at the same time, even though the physical address is same, the controller takes care of its full duplex operation.

    Also, suggest you to go through access consideration of TX and RX registers.

    Regards

     Vasanth

  • Thank you Vasantha for reply.

    I have configured UART to work with DMA.

    In initialization of DMA to work with UART, same UART physical address will be there as DESTINATION and SOURCE ADDR.  Isn't it the problem?

    I do not get DMA interrupt after receiving full frame from slave device.  Slave device receives full frame whatever I send using DMA-UART combination and I get DMA full frame transmit interrupt too.

    Slave device's UART is in asynchronous mode.

    Please give some direction.

  • Hello Milan,

      To ensure that all your configurations are correct , you can try  loopback (external loop back). With this you can isolate if there is any  configuration issue wrt receive UART.

     Regards

     Vasanth