USB DMA request fails

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

USB DMA request fails

跳至解决方案
1,785 次查看
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,664 次查看
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,665 次查看
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,665 次查看
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