AnsweredAssumed Answered

rsi dma transfer

Question asked by nestevg5 on Apr 2, 2013
Latest reply on Apr 17, 2013 by nestevg5

Help!!!

void RSI_InitIrqHandler(void)

{

ADI_INT_STATUS r;

r=adi_int_InstallHandler(INTR_RSI0_DMA, (ADI_INT_HANDLER_PTR)RSI_IrqDMAHandler, NULL, true);

}

 

Configured DMA10 for RSI:

*pREG_DMA10_CFG = BITM_DMA_CFG_EN | ENUM_DMA_CFG_PSIZE04 | ENUM_DMA_CFG_MSIZE04 | ENUM_DMA_CFG_SYNC |

ENUM_DMA_CFG_XCNT_INT;

 

Call  sd_mmc_write_block_dma(0,MyBuf)  (example "Power_On_Self_Test")

Handler RSI_IrqDMAHandler worked.

If configured DMA10 for PIRQ operation:

  *pREG_DMA10_CFG = BITM_DMA_CFG_EN | ENUM_DMA_CFG_PSIZE04 | ENUM_DMA_CFG_MSIZE04 | ENUM_DMA_CFG_SYNC | BITM_DMA_CFG_INT;

to set DMA10_CFG.INT=3;

Handler RSI_IrqDMAHandler not called.

Why? not interrupt command from rsi?

Outcomes