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.

TDA4VM: What's the differences between libraries uart and uart_dma?

Part Number: TDA4VM

Hi engineers, 

I want to know the relationship between DMA and UART.

When I set ENABLE_OSPI_DMA=yes during BootApp startup process, do I also need to change the uart library to uart_dma?

By using the make help command in the pdk/packages/ti/build path, I find that there are two libraries, uart and uart_dma.

Are there any differences between them? Could you provide some documentation on this?

 

Regards!

  • Hi,

    When I set ENABLE_OSPI_DMA=yes during BootApp startup process, do I also need to change the uart library to uart_dma?

    ENABLE_OSPI_DMA is used to enabled the DMA access for OSPI for faster access of data from OSPI, you don't necessarily need to use dam with UART for that.

    If you are using PDK build infrastructure to build the boot App, you don't really need to worry about this as this would have already been taken care.

    By using the make help command in the pdk/packages/ti/build path, I find that there are two libraries, uart and uart_dma.

    uart_dma provides the DMA functionality for uart, 

    Regards,
    Parth