Associate II
July 26, 2020
Question
EMMC64G-W525-X01U is not working with STM32F429ZI.
- July 26, 2020
- 6 replies
- 6634 views
I am reading Data from 8 ADC- ADS8688 and writing to EMMC64G-W525-X01U with Queue of 100 and Block 512 at 1000 sample/sec.
I use below function for data writing and API file is attached below.
HAL_StatusTypeDef HAL_MMC_WriteBlocks(MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Timeout)
It runs for 5 min at 400 sample/sec after that it stops writing data and goes to below error.
else if(__HAL_MMC_GET_FLAG(hmmc, SDIO_FLAG_TXUNDERR))
{
/* Clear all the static flags */
__HAL_MMC_CLEAR_FLAG(hmmc, SDIO_STATIC_FLAGS);
hmmc->ErrorCode |= HAL_MMC_ERROR_TX_UNDERRUN;
hmmc->State = HAL_MMC_STATE_READY;
return HAL_ERROR;
}
