AnsweredAssumed Answered

How to Use RSI_DATA_TIMER in RSI interface?

Question asked by boxeur on Feb 6, 2013
Latest reply on Jun 28, 2013 by Nabeel

I want to use the register RSI_DATA_TIMER in reading and writing from/to SD card to exit if timeout occured.

In Power_ON_TEST I see this register value FFFFFF is written,

but I do not see the value has not changed when I read data. Is it works.?

 

uint32_t sd_mmc_read_block_dma(uint32_t card_address, void *pDestination)

{

*pRSI_DATA_LGTH = 512;

*pRSI_DATA_TIMER = 0xFFFFFF;

 

***** read (or write) here DMA or CORE ****

 

after reading (or writing)  I see *RSI_DATA_TIMER did not changed and if I have broken card - reading (or writing) will not finished.

Outcomes