juribeparada / MMDVM_HS

MMDVM HotSpot: firmware for ZUMspot or MMDVM_HS based boards (D-Star, DMR, YSF, P25, NXDN and POCSAG)
GNU General Public License v2.0
348 stars 140 forks source link

10Mhz reference clock support #75

Closed stonegray closed 5 years ago

stonegray commented 5 years ago

Hi all,

Is it possible to modify the firmware to use a 10Mhz clock in place of the 14/12Mhz oscillator? This would allow use of an external clock from standard lab reference clocks, inexpensive atomic clocks, homemade or off the shelf GPSDOs (GPS disciplined oscillators), and cheap high precision OCXO, or the sync output from other open source radio devices that support clock I/O such as the HackRF, all which use a 10Mhz standard.

While I don't think everybody wants to go spend $100 on an rubidium atomic clock to keep their timing right, I'm sure lots of us would consider trying a $13 GPS module and a PLL to get the timing from one in space.

Also I imagine there's a few of us with a 'house clock' in their shack :)

juribeparada commented 5 years ago

Hi, there is a reason of using frequencies 14.7456 MHz and 12.2880 MHz (and a few other non-integer frequencies that I will not implement): basically because those frequencies produce a proper baudrate for the implemented digital modes, other common frequencies like 10 MHz can't produce proper baurate with ADF7021, then will not work.

stonegray commented 5 years ago

Darn, I’ll add a PLL then. Thank you.

stonegray commented 5 years ago

Darn, I’ll add a PLL then. Thank you.