HACKRF_CLOCK(1)

πŸ“¦
version 2026.01.3 Β· 2 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– HACKRF_CLOCK πŸ’–

okay bestie, welcome to hackrf_clock from the User Commands corner of the manual β€” it's the clock configuration utility, and it's literally the thing that tells your HackRF what time it is (clock-wise, anyway πŸ•βœ¨).


✨ NAME ✨

hackrf_clock β€” the HackRF clock configuration utility. that's it, that's the girl πŸ’…


🌸 DESCRIPTION 🌸

so hackrf_clock is the HackRF clock configuration utility, and here's how you use it:

πŸŽ€ the flags πŸŽ€

  • -h, --help β€” shows you this help. your little "wait what do I do" bestie 🫢
  • -r, --read <clock_num> β€” reads the settings for clock_num. one clock, one read, no drama.
  • -a, --all β€” reads the settings for all the clocks. go big or go home πŸ’–
  • -i, --clkin β€” gets the CLKIN status. just peeking πŸ‘€
  • -o, --clkout <clkout_enable> β€” enable/disable CLKOUT. on or off, pick your fighter ✨
  • -1, --p1 <signal> β€” selects the signal for the HackRF Pro P1 SMA connector. default is clkin πŸ’… the options are literally: clkin, trigger_in, trigger_out, p22_clkin, pps_out, aux_clk1, aux_clk2, off.
  • -2, --p2 <signal> β€” selects the signal for the HackRF Pro P2 SMA connector. default is clkout 🌸 the options are: clkout, trigger_in, trigger_out.
  • -d, --device <serial_number> β€” the serial number of the HackRF you want. yes, you have to name your device, it's giving main character selection πŸ‘‘

🌈 EXAMPLES 🌈

look at her go:

hackrf_clock -r 3 : prints settings for CLKOUT

that's the whole vibe. -r 3, and boom, you get the settings for CLKOUT πŸ’–


πŸ¦‹ SEE ALSO πŸ¦‹

the primary source of documentation is the wiki on github (iykyk, it's the real one):

https://github.com/mossmann/hackrf/wiki

fr fr, if you're poking at clocks and connectors, read the wiki before you start flipping signals around. bestie behavior only 🫢

okay that's the whole page, no cap. this was the HackRF clock configuration utility, dated July 2021, and it's an absolute icon. mwah, slay, go configure your clocks βœ¨πŸ’…πŸŽ€

πŸ“¦ where this page comes from