USB DMA request fails

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB DMA request fails

Jump to solution
1,091 Views
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 Kudos
1 Solution
970 Views
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!

View solution in original post

0 Kudos
2 Replies
971 Views
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 Kudos
971 Views
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