AnsweredAssumed Answered

Question, i.MX6 SDMA/ loading script fails

Question asked by AVNET JAPAN FAE (team share account) on Mar 6, 2014
Latest reply on Apr 3, 2014 by Karina Valencia Aguilar
Branched to a new discussion

Hi all,


I would like to ask about SDMA initialization.

My customer is trying to use SDMA with Freescale i.MX6 SDK.

The issue is;

Loading script fails in the initialization process for SDMA.

The sdma_load_init_script() function in sdma.c, which is included in your SDK, returns FALSE.

He found the SDMA_FLAGS_BUSY bit in sdma_envp->chan0BD.mode was not cleared and then returned FALSE at the line#99 in sdma_load_init_script().

This phenomenon means “Done” bit in buffer descriptor keeps 1 after completion of transfer, right?

According to the description in Table-55-49 in i.MX6DQ reference manual, D=1 indicates the SDMA has not yet processed in the case of channel 0.

Do you have any ideas about the cause of this issue?