[hpsdr] Parallel port replacement - help needed

Sami Aintila oh2bfo at gmail.com
Tue Aug 1 08:38:37 PDT 2006


Yes, SDR-1000 hardware control requires very little USB bandwidth so
using EP0 will be just fine for that.

However, instead of simple parallel port emulation I really recommend
implementing some SDR-1000 specific functions on the FX2 or FPGA. This
is because controlling an SDR-1000 with RFE board requires a lot of
bit-banging. Consequently parallel port I/O (or emulation) is very
inefficient, because you need to perform a lot of operations just to
toggle one bit.

And if anyone's using the Flex 100W PA, polling the FWD/REV power
readings is a nightmare. I don't remember the exact number, but it
takes well over 10000 calls to PortTalk.dll to get those readings!

Sami

On 8/1/06, Philip Covington <p.covington at gmail.com> wrote:
> Hi Phil,
>
> There is no need to transfer the parallel port data through the two
> spare endpoints.  This will keep us from being able to quad buffer the
> endpoints which may be needed when we finally get rid of the BAD Xylo
> influence on the OZY.  We can use EP0 to control the parallel port
> through control transfers using vendor commands.  This is a much
> cleaner way of doing it since we do not need to transfer 512 byte
> packets just to control an 8 bit parallel port.
>
> As a matter of fact, doing it through control transfers will allow us
> to pretty much treat it like a real parallel port from the PC side of
> things. The parallel port code in PowerSDR can be basically used AS
> IS.. instead of writing to the PortIO dll we will just send a vendor
> command to EP0.
>
> 73 de Phil N8VB
>

 1154446717.0


More information about the Hpsdr mailing list