From ea72dd59a623c4665953f72026ed5717de8a4d62 Mon Sep 17 00:00:00 2001 From: Michael Ossmann Date: Sat, 16 Feb 2013 07:46:00 -0700 Subject: [PATCH] configured usb_performance.c for 900 MHz RF --- firmware/usb_performance/usb_performance.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/firmware/usb_performance/usb_performance.c b/firmware/usb_performance/usb_performance.c index 7175a3db..6d377f4f 100644 --- a/firmware/usb_performance/usb_performance.c +++ b/firmware/usb_performance/usb_performance.c @@ -504,7 +504,7 @@ void sgpio_irqhandler() { } int main(void) { - const uint32_t freq = 2441000000U; + const uint32_t ifreq = 2600000000U; uint8_t switchctrl = 0; pin_setup(); @@ -532,17 +532,12 @@ int main(void) { rffc5071_setup(); #ifdef JAWBREAKER - switchctrl = (SWITCHCTRL_AMP_BYPASS | SWITCHCTRL_HP); + switchctrl = (SWITCHCTRL_AMP_BYPASS | SWITCHCTRL_LP); #endif rffc5071_rx(switchctrl); - -#ifdef JAWBREAKER - rffc5071_set_frequency(900, 0); // 900 MHz, 0 Hz (Hz ignored) default antenna -#else - rffc5071_set_frequency(500, 0); // 500 MHz, 0 Hz (Hz ignored) -#endif + rffc5071_set_frequency(1700, 0); // 2600 MHz IF - 1700 MHz LO = 900 MHz RF - max2837_set_frequency(freq); + max2837_set_frequency(ifreq); max2837_start(); max2837_rx();