ECSPI using SDMA for cortex M4 can not recive data

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ECSPI using SDMA for cortex M4 can not recive data

2,508件の閲覧回数
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,504件の閲覧回数
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,495件の閲覧回数
JanChiang
Contributor I

and here is the ecspi api for our platform 

0 件の賞賛
返信

2,457件の閲覧回数
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,496件の閲覧回数
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 件の賞賛
返信