I.MX6UL SPI DMA driver example

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

I.MX6UL SPI DMA driver example

1,710 Views
hansonhe
NXP Employee
NXP Employee

Dear,

Do you have the I.MX 6UL bare-OS SPI DMA driver example or reference code? Thanks.

Labels (1)
0 Kudos
8 Replies

811 Views
igorpadykov
NXP Employee
NXP Employee

Hi Hanson

I am afraid such i.MX6UL bare metal example is not available,

however one can reuse attached i.MX6 sdk example, refer to

Chapter 29 Configuring the SDMA Driver pdf document.

One can obtain full sdk creating service request.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

811 Views
hansonhe
NXP Employee
NXP Employee

Thanks, 

We find your attached file which missing below file,

#include "sdk.h"
#include "profile/profile.h"

#include "core/interrupt.h"
#include "registers/regssdmaarm.h"

#include "sdma_event.h"


另外查看文件sdma_script_info.c

#if defined(CHIP_MX53)
#include "sdma_script_code_mx53.h"
#elif defined (CHIP_MX6DQ)
#include "sdma_script_code_mx6dq.h"
#elif defined (CHIP_MX6SDL) || defined (CHIP_MX6SL)
#include "sdma_script_code_mx6sdl.h"
#endif 

hardware.c.jpg

 

We do not see the file which use by CHIP_MX6UL, could you help check which header file is suitable for IMX6UL?

0 Kudos

811 Views
igorpadykov
NXP Employee
NXP Employee

SDK does not support i.MX6UL and files were given just as example for

developing specific examples for i.MX6UL. Note, NXP has Professional Services

for helping to port software

http://www.nxp.com/support/nxp-professional-services:PROFESSIONAL-SERVICE

Best regards
igor

0 Kudos

811 Views
hansonhe
NXP Employee
NXP Employee

Dear Igor,

 

How about the professional service flow? Whether need customer to apply service by themselves directly?

Does it need external cost for them? Thanks.

0 Kudos

811 Views
igorpadykov
NXP Employee
NXP Employee

Hi Hanson

please fill form request on that web page,

unfortunately I am not aware details, sorry.

Best regards
igor

0 Kudos

811 Views
hansonhe
NXP Employee
NXP Employee

Dear Igor, 

SPI or SDMA will have completion interrupt after all the content, whether it have interrupt for the start or the middle of the data transmission in I.MX6UL ? Thanks.

0 Kudos

811 Views
igorpadykov
NXP Employee
NXP Employee

Hi Hanson

I believe it will raise interrupt after completion transfer

Best regards
igor

0 Kudos

811 Views
hansonhe
NXP Employee
NXP Employee

dear, i have login problem for Service request, could you help sent it to mail: ciang.he@nxp.com, Thanks.

0 Kudos