ECSPI using SDMA for cortex M4 can not recive data

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

ECSPI using SDMA for cortex M4 can not recive data

2,518 次查看
JanChiang
Contributor I

Hi ,

I have a strange problem. I use SDMA to control the SPI according to the example ecspi_polling_master. Finally, I can get the correct data(tx and rx) on the oscilloscope, but the data from the ecspi_receiveData interface is always 0(rx).

The ECSPI Control Register is 0xF0B211, The Config Register is 0x100011

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

2,514 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Jan

 

I believe for sdma "polling" should not be used, for m4 ecspi sdma example one can look at

 

Best regards
igor

0 项奖励
回复

2,505 次查看
JanChiang
Contributor I

and here is the ecspi api for our platform 

0 项奖励
回复

2,467 次查看
igorpadykov
NXP Employee
NXP Employee

right, in your release such examples are not available, you can use them just as reference for

creating own.

 

Best regards
igor

0 项奖励
回复

2,506 次查看
JanChiang
Contributor I

Hi igor:

thanks your reply, But our platform and the files you provided look very different, the interface mentioned in your files can not be found in our code

0 项奖励
回复