8 years, 5 months ago.

In USBDevice for Renesas RZ/A1H what waits for the end of the DMA transfer

In both USBDevice, the DMA transfer interrupts are not set up (actually the functions to do this are present but commented out). How and where in the code is the completion of DMA transfer completion detected and waited on, or what kind of interrupt handler to catch this event set up?

R_BSP has been designed on the assumption that the use of non-cache memory to transfer buffer. Therefore, there is no clear process of cache.

Do not use the DMA in USB Device. Processing of the case to use a DMA in the code contains, but it is not actually used. When using DMA in USBDevice, it's necessary to use non-cache memory.

posted by XtrmDesignsLLC GRPeach 11 Jul 2016

1 Answer

8 years, 4 months ago.

Adam,

DMA driver is available from R_BSP library.

Import libraryR_BSP

RZ/A1H CMSIS-RTOS RTX BSP for GR-PEACH.

Last commit 31 May 2016 by Renesas

DMA API

https://developer.mbed.org/teams/Renesas/code/R_BSP/docs/37222d6ece56/dma__if_8h.html

The DMA driver is used in the following cord.

R_BSP/RenesasBSP/drv_src/ssif R_BSP/RenesasBSP/drv_src/scux