Question, i.MX6 SDMA/ loading script fails

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Question, i.MX6 SDMA/ loading script fails

916 Views
Aemj
Contributor IV

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?

Thanks,

Miyamoto

Labels (1)
0 Kudos
Reply
2 Replies

651 Views
Aemj
Contributor IV

Hi All,

I am still waiting someone's response.

If anyone have a supplemental document which can be helpful for better understanding about SDMA handling, please provide!

BR,

Miyamoto

0 Kudos
Reply

651 Views
karina_valencia
NXP Apps Support
NXP Apps Support

Employee

Hi James,

     I have no source code in SDK, so I'm not sure whether SDMA_FLAGS_BUSY means "DONE"=1. Yes, it's abnormal if "DONE" always keep 1, which means SDMA NOT finish transfer or there is some error. But I suppose your BD setting are ok. No any SDMA transfer complete successfully or only someone?

0 Kudos
Reply