cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

New Contributor II

应用环境:USB3.0通信 
使用方式:我们将cypress提供的SDK进行封装处理,在整个应用中我们使用了控制传输,同时并发使用批量传输。 
故障现象:当host主机cpu占用井喷式增长时,会导致瞬间USB3.0输出吞吐不足,引起底层饥饿。 
疑问:1. host -sdk使用时怎么才能有效的避免因操作系统环境多任务的切换带来的开销影响批量传输拷贝速率 
2. host-sdk提供是否可以使用DMA的方式向USB控制传输端口写入数据,避免cpu的竞争引起拷贝内存不实时。 
3. host-sdk是否提供window7环境下DMA例程可供参考

   

Application Environment: USB super speed

   

We will provide the SDK for cypress encapsulation processing, we use the control transfer in the whole application, concurrent use of mass transfer

   

Fault Description:

   

When the host CPU blowout growth, will lead to instantly see output throughput is insufficient, causes the underlying hunger

   

Question:

   

1. How to effectively avoid when using multiple tasks by operating system environment impact the cost of switching copy mass transfer rate when using because operating system environment, how can effectively avoid multitasking switching cost impact mass transfer rate of copy

   

2. Whether can provide using DMA way to write data to the USB port control transmission, avoid competition cause copy memory real-time CPU.

   

3. Whether to provide DMA Windows 7 environment routines for reference?

0 Likes
Reply
1 Solution
New Contributor II

您好,能进行中文交流实在太好了

   

可能是问题描述不清楚,我的问题是指PC中的cypress提供的库函数CyAPI.lib

   

是否支持DMA方式?还望指教

View solution in original post

0 Likes
Reply
2 Replies
Employee

Hi TonyZhouzhou,

   

用DMA进行控制传输,可以参考 Cypress提供的关于HID的example,比如MouseDemo等。

   

另外,DMA传输在很多的实例工程中都有,请参考C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\dma_examples下的固件。

0 Likes
Reply
New Contributor II

您好,能进行中文交流实在太好了

   

可能是问题描述不清楚,我的问题是指PC中的cypress提供的库函数CyAPI.lib

   

是否支持DMA方式?还望指教

View solution in original post

0 Likes
Reply