Message: 6
Date: Sun, 19 Nov 2006 17:29:24 -0800
From: Eric B. [email protected]
Subject: Re: [Discuss-gnuradio] Re: Help with Verilog: write_count
To: seph 004 [email protected]
Cc: [email protected]
Message-ID: [email protected]
Content-Type: text/plain; charset=us-ascii
On Sun, Nov 19, 2006 at 12:41:44PM -0800, seph 004 wrote:
Using the standard host code, there’s no such thing as sending 60
bytes from the host. We always send 512 byte packets across the USB.Not sure what you are doing…
Eric
Hi
I changed the host code by removing the multiplier for the “max
bytes” argument. I assumed that this would let me send the exact
number of bytes that the user entered. For my final application,
I’m only looking to store a very small number of samples on the
FPGA.
If this was the wrong modification to the host code, then how
exactly would one go about sending a small number of samples (say
400 I and Q samples) without breaking the code?
You can send any multiple of 128 complex samples. No need to hack the
host library. Take your pick: 128, 256, 384, 512
Eric
Am I correct in saying then that the max_bytes variable determines the
number of samples sent? I’m not sure but the verilog seemed to be able
to cope if the number of samples was some other value besides 128 or any
multiple of it. I’d really like to be able to control the number of
samples that go to the board exactly.
Regards
Lance