Re: Some DSP USB PC holy trinity issues....
soos wrote:
> Dear DSPers hello,
>
>
> I have a very practical question regarding communication done with
> USB2.0 (high speed) from a DSP to a pc.
>
> The application involves data acquisition at the rate of 25Mbit/sec
> preprocessing on the DSP and the Transmition of the raw data to a PC
> using the mentioned USB.
>
>
> Questions are:
>
> 1. What are the possible sizes of frames that can be sent via USB.
>
> 2. Suppose I have XP running of the PC. Since the USB buffer is checked
> by polling (so I have heard) and not by interrupt (is so?). Doesn't
> this mean that the access time from PC to this buffer is not constant
> and depends on the number of processes and threads on the PC?
>
> 3. Is it possible to control this non real time nature of the XP? I
> need the access to XP nice interfaces, Do I have alternatives?
>
You can't transform XP into an RTOS, I'm afraid. I had a similar application,
moving 5MBit/sec via USB 1.1. It turned out that 4MBytes of buffer memory
on the DSP side was a good size to cope with the occasional several seconds
of outage windows was producing.
Just for comparison, the same thing with RT-Linux was running happily with
2KBytes of buffer on the same machine.
> 4. On a standard PC there are 6 USB ports. How many controllers are
> there? Can I work max speed (480 Mbps Theoretical) with all of the 6 in
> parallel?
>
Normally one, with a hub. The 480Mbps are shared among the ports.
Kind regards,
Iwo
|