Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

In USB20SR, is it necessary to set _DMA_USE macro to 1 in the application to use DMA functionality?

0
Posted

In USB20SR, is it necessary to set _DMA_USE macro to 1 in the application to use DMA functionality?

0

_DMA_USE macro is used to set the DMA functionality in the system for data transfer. If you want to use DMA for data transfer then set _DMA_USE macro to 1 else set to 0. When it is set to 1, make sure that dma_config() function will be called before calling the USB data transfer function using DMA e.g. usb20sr_with_dma_xxx(). dma_config() function should be called with respective DMA information which is connected with USB IP core for data transfer. If the macro is set to 0 and any USB data transfer function using DMA is called then it will result in an error.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123