I.MX6UL SPI DMA driver example

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

I.MX6UL SPI DMA driver example

4,491 次查看
hansonhe
NXP Employee
NXP Employee

Dear,

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

标签 (1)
0 项奖励
回复
8 回复数

3,592 次查看
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 项奖励
回复

3,592 次查看
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 项奖励
回复

3,592 次查看
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 项奖励
回复

3,592 次查看
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 项奖励
回复

3,592 次查看
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 项奖励
回复

3,592 次查看
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 项奖励
回复

3,592 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Hanson

I believe it will raise interrupt after completion transfer

Best regards
igor

0 项奖励
回复

3,592 次查看
hansonhe
NXP Employee
NXP Employee

dear, i have login problem for Service request, could you help sent it to mail: [email protected], Thanks.

0 项奖励
回复