Read register continuously from FPGA
Posted: Sat Jan 24, 2015 2:39 pm
Hi All,
I'm trying to modify bladeRF source code such that I make continuous calculations on the I/Q data and store the result in a register within the FPGA. I want to be able to send that register value to the bladeRF client on the PC via USB, then make some further computation on the value from the PC before sending a signal back to the FPGA to modify an enable signal which should if asserted send the I/Q data to the PC via USB.
By examining the client source code on the PC, I couldn't find a function which writes to the internal FPGA logic registers. Unless I'm mistaken, the writing and reading happens only to the peripherals attached to the FPGA such as the RF front end and the clock generator.
How do I go about reading and writing from /to the FPGA internal registers?
Regards,
Ghassan
I'm trying to modify bladeRF source code such that I make continuous calculations on the I/Q data and store the result in a register within the FPGA. I want to be able to send that register value to the bladeRF client on the PC via USB, then make some further computation on the value from the PC before sending a signal back to the FPGA to modify an enable signal which should if asserted send the I/Q data to the PC via USB.
By examining the client source code on the PC, I couldn't find a function which writes to the internal FPGA logic registers. Unless I'm mistaken, the writing and reading happens only to the peripherals attached to the FPGA such as the RF front end and the clock generator.
How do I go about reading and writing from /to the FPGA internal registers?
Regards,
Ghassan