Forum Discussion
Altera_Forum
Honored Contributor
13 years agoALT_AVALON_DMA_NSLOTS - how to increase FIFO size for DMA scheduler
Looking into HAL driver code for DMA I've found, that scheduler array is limited by ALT_AVALON_DMA_NSLOTS macro, which is defined in altera_avalon_dma.h as (4). This apparently means, that no...
Altera_Forum
Honored Contributor
13 years agoI'll answer myself:
after quite a lot of messing around the ALT_AVALON_DMA_NSLOTS must be setup in BSP editor in bsp_cflags_optimization. So in my case this contains: -Os -DALT_AVALON_DMA_NSLOTS=16 this can be setup as well in TCL script used to generate BSP: set_setting hal.make.bsp_cflags_optimization "-Os -DALT_AVALON_DMA_NSLOTS=16" Recompile BSP and you get support for 15 DMA records. Apparently this works.