This commit defines nios_gpio(7) as the GPIF buffer size control signal. The FX3 firmware makes the DMA engine operate on GPIF buffers that are twice the size of the maximum sized URB. Since this is speed dependent, bladeRFs operating in HS will have their GPIF DMA controllers only read 1024 bytes of data (512*2) instead of 2048 (1024) as is expected when the device is in SS mode. To fix this, the driver tells the library when a device is HS, the library then s the nios_gpio bit that causes the FPGA to limit itself to only reading/writing to the 32bit GPIF for 256 cycle at a time (instead of 512 cycles at SS). |
||
|---|---|---|
| .. | ||
| apps | ||
| kernel | ||
| lib | ||
| README.md | ||
bladeRF Linux Source
The linux source is separated out into three separate areas:
| Directory | Description |
|---|---|
| apps | A collection of applications written to show how to interact with libbladeRF and provide a command-line interface for interacting with the hardware |
| kernel | Kernel driver source code which interacts with Linux's USB subsystem |
| lib | The source for libbladeRF which interacts with the kernel and provides a C-callable interface for opening, probing and interacting with the device |
It's highly recommended to build the linux directories in order: