HI:
Thanks for reply.
I have fixed the problem, it's because of hardware not good, I need to turn low the frequency , but not too low , it's ok for 1M , but fail at 400K.
but I have another problem when use DMA and cache, it will cache in function:
hwAcc_ArmCoreMx_DataCacheCleanByAddr(
false,
(uint32_t)(content->data->txData == NULL ? content->data->rxData : content->data->txData),
(content->data->blockSize) * (content->data->blockCount));
it will fail in the while of the function
hwAcc_ArmCoreMx_DataCacheCleanByAddr
{
while(tmpAddr < endAddr)
{
*pDataCacheCleanByAddr = tmpAddr;
MCAL_DATA_SYNC_BARRIER();
MCAL_INSTRUCTION_SYNC_BARRIER();
tmpAddr = tmpAddr + cacheLineSize; /* Clean 1 line at a time. */
}
}
do you have any idea about it ?