Compare commits
2 commits
56aff439f7
...
1c3ec5cb49
Author | SHA1 | Date | |
---|---|---|---|
1c3ec5cb49 | |||
12c53377f6 |
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
#define IQ_SAMPLES 32
|
#define IQ_SAMPLES 32
|
||||||
#define IQ_BLOCK_LEN (2 * IQ_SAMPLES)
|
#define IQ_BLOCK_LEN (2 * IQ_SAMPLES)
|
||||||
#define IQ_QUEUE_LEN 64
|
#define IQ_QUEUE_LEN 4
|
||||||
|
|
||||||
#define XOR_ADDR 0x1000
|
#define XOR_ADDR 0x1000
|
||||||
#define LO_COS_ACCUMULATOR (&pio1->sm[2].pinctrl)
|
#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)
|
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;
|
double freq = req_freq;
|
||||||
|
|
||||||
if (align)
|
if (align)
|
||||||
|
|
Loading…
Reference in a new issue