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.