greatscottgadgets / hackrf

low cost software radio platform
https://greatscottgadgets.com/hackrf/
GNU General Public License v2.0
6.6k stars 1.54k forks source link

Digitization of the signal #1451

Closed Sentos777 closed 4 months ago

Sentos777 commented 6 months ago

What would you like to know?

Hello everyone,

I am trying to find the code in the software that is responsible for sampling and digitizing data. Could you please let me know where to look? Also, I would like to know how many samples the ADC selects to restore the spectrum, and if it is possible to use the HackRF One to measure the absolute value or phase ratio of a signal, as with a VNA Nano.

Thank you for your help.

Moji14 commented 6 months ago

There's no code for sampling and digitizing, these functions are done by the ADC, all you can do is control the ADC parameters via registers. Have a look on the MAX5864 to see if that can answer your questions. A VNA works differently to a radio receiver a VNA consists of one or more generators and typically two coherent selective receivers for each test port.