USB DMA request fails

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

USB DMA request fails

ソリューションへジャンプ
1,794件の閲覧回数
dirkschmitt
Contributor I

Hi all,

currently we have problems with usb dma. If I read data with the cpu from the receive buffer of the usb dma, while the usb dma stremas data into it, the received data are corrupted.

My questions are:

What is the priority of the usb dma transfer on the ahb bus?

I started to read the doc of the NIC301 and I saw that there are QoS values which refelcts the priority of the bus masters. How can I check these

Qos values and where can I modify these?

-> Info on 07/29/2015: I found out that the data cache is enable for the RX Buffer. But in the MQX driver code the data ache lines of the

rx buffer are flushed before the dma request is started. It seems to me that the flushing of the data cache line is not sufficient in this case?

Thank you,

Dirk

Nachricht geändert durch Dirk Schmitt

0 件の賞賛
返信
1 解決策
1,673件の閲覧回数
CommunityBot
Community Manager
This an automatic process.

We are marking this post as solved, due to the either low activity or any reply marked as correct.

If you have additional questions, please create a new post and reference to this closed post.

NXP Community!

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,674件の閲覧回数
CommunityBot
Community Manager
This an automatic process.

We are marking this post as solved, due to the either low activity or any reply marked as correct.

If you have additional questions, please create a new post and reference to this closed post.

NXP Community!
0 件の賞賛
返信
1,674件の閲覧回数
alejandrolozan1
NXP Employee
NXP Employee

Hi,

As far as I have seen the priorities of the NIC remain the same and do not change.

You can get access to the NIC registers via:

#define NIC301_BASE_PTR ((NIC301_MemMapPtr)0x40008000u)

Which MQX version are you using? I know that latest release solved a few issues.

Best Regards,

Alejandro