Compare commits

...

2 commits

View file

@ -27,7 +27,7 @@
#define IQ_SAMPLES 32
#define IQ_BLOCK_LEN (2 * IQ_SAMPLES)
#define IQ_QUEUE_LEN 64
#define IQ_QUEUE_LEN 4
#define XOR_ADDR 0x1000
#define LO_COS_ACCUMULATOR (&pio1->sm[2].pinctrl)
@ -290,7 +290,7 @@ static void lo_tweak(uint32_t *buf, uint32_t phase)
static void rx_lo_init(double req_freq, bool align)
{
const double step_hz = (double)CLK_SYS_HZ / (4 << LO_BITS_DEPTH);
const double step_hz = (double)CLK_SYS_HZ / (8 << LO_BITS_DEPTH);
double freq = req_freq;
if (align)