change output of I and Q samples based on signal from gpio

Discussions related to embedded firmware, driver, and user mode application software development
Post Reply
tsoundi
Posts: 2
Joined: Thu Jul 06, 2023 7:39 am

change output of I and Q samples based on signal from gpio

Post by tsoundi »

Hello,

I am currently working with the BladeRF Micro A5 and I'm interested in sending high or low signals to one of the GPIO pins on the U74 connector. Specifically, when I detect a high signal, I want to modify the first 4 bits of the I or Q samples. These samples are 16 bits long but only use 12 bits, so I plan to utilize the 4 unused bits for another purpose.

However, I'm facing difficulties in understanding how to detect a signal on the GPIO pins and which files I need to modify for this purpose. I noticed some manipulations in the "bladerf-hosted.vhd" file, available on the BladeRF GitHub repository, where GPIO pins are used to control the LEDs. Can I implement my functionality in that same file?

As a newcomer to this field, I'm eager to learn and any guidance would be greatly appreciated.

Thank you very much,
Daoud

here is the schematic of the bladerf I am using : https://www.nuand.com/bladeRF-2.0-micro-REV1.3.pdf
Post Reply