|
|
@@ -62,9 +62,6 @@ void ad9912_init(reg_addr_pci* pci_bar_1) {
|
|
|
double ad9912_set_main_band(double lmx_freq,double f_pd) {
|
|
|
// Divide the frequncy by the old value of the phase detector frequency and only left with the integer part
|
|
|
uint32_t N = (uint32_t) (lmx_freq/f_pd);
|
|
|
- if (f_pd >= 300e6) {
|
|
|
- N = N + 10;
|
|
|
- }
|
|
|
if (lmx_freq <= 12500e6) {
|
|
|
if (N < 28){
|
|
|
N = 28;
|
|
|
@@ -163,9 +160,6 @@ double ad9912_set_out_of_band(double lmx_freq,double f_pd) {
|
|
|
|
|
|
// Divide the frequncy by the old value of the phase detector frequency and only left with the integer part
|
|
|
uint32_t N = (uint32_t) (f_vco/f_pd);
|
|
|
- if (f_pd >= 300e6) {
|
|
|
- N = N + 10;
|
|
|
- }
|
|
|
if (f_vco <= 12500e6) {
|
|
|
if (N < 28){
|
|
|
N = 28;
|