Skip to content

multifm starts first channel and no data #27

Description

@oldirty91

I'm attempting to get your pager channel example working and having a bit of trouble. Using RTL-SDR, and running the following (separate directory from tsl-sdr) :

multifm ../etc/multifm.json ../etc/flex_25khz_lpf.json

Everything seems to go well, the FIFOs and the SDR get read, but only the first channel in the config get initiated. The last line that is printed is:

[tid=12217] %MULTIFM-I-CHANNEL, [1]: 929.83800 MHz Gain: 0.000000 dB -> [../.ch/ch0.out] (/home/t/tsl-sdr/multifm/receiver.c:240 in receiver_init)

If I check the FIFO it is supposed to be writing to there is no data. Also, in attempt to troubleshoot I have opted to write raw iq to a debug file with iqDumpFile and there is no data in there either. Any ideas for what I need to do to get working? Thank you.

Here is the full command line dump:

2023-01-10 23:31:12 [tid=12217] %APP-W-NO-HUGE-PAGE-SIZE-SPECIFIED, Defaulting huge slab size to 2MB. (/home/t/tsl/app/app.c:421 in app_allocator_init)
Found Rafael Micro R820T tuner
2023-01-10 23:31:13 [tid=12217] %MULTIFM-I-DEV-IDX-OPEN, Successfully opened device at index 0 (/home/t/tsl-sdr/multifm/rtl_sdr_if.c:363 in rtl_sdr_worker_thread_new)
2023-01-10 23:31:13 [tid=12217] %MULTIFM-I-DEV-IDX-OPEN, Device: Generic RTL2832U OEM Tuner: Rafael Micro R820T (/home/t/tsl-sdr/multifm/rtl_sdr_if.c:364 in rtl_sdr_worker_thread_new)
2023-01-10 23:31:13 [tid=12217] %MULTIFM-I-SAMPLE-RATE, Setting sample rate to 1000000 Hz (/home/t/tsl-sdr/multifm/rtl_sdr_if.c:371 in rtl_sdr_worker_thread_new)
Exact sample rate is: 1000000.026491 Hz
[R82XX] PLL not locked!
2023-01-10 23:31:13 [tid=12217] %MULTIFM-I-CENTER-FREQ, Setting Center Frequency to 929500000 Hz (/home/t/tsl-sdr/multifm/rtl_sdr_if.c:379 in rtl_sdr_worker_thread_new)
2023-01-10 23:31:13 [tid=12217] %MULTIFM-I-AUTO-GAIN-CONTROL, Enabling automatic gain control. (/home/t/tsl-sdr/multifm/rtl_sdr_if.c:391 in rtl_sdr_worker_thread_new)
2023-01-10 23:31:13 [tid=12217] %MULTIFM-I-FREQ-CORR, Set frequency correction to 0 PPM (/home/t/tsl-sdr/multifm/rtl_sdr_if.c:417 in rtl_sdr_worker_thread_new)
2023-01-10 23:31:13 [tid=12217] %MULTIFM-I-SAMPLE-RATE, Sample rate is set to 1000000 Hz (/home/t/tsl-sdr/multifm/receiver.c:148 in receiver_init)
2023-01-10 23:31:13 [tid=12217] %MULTIFM-I-CENTER-FREQ, Center Frequency is 929500000 Hz (/home/t/tsl-sdr/multifm/receiver.c:149 in receiver_init)
2023-01-10 23:31:13 [tid=12217] %MULTIFM-I-CHANNEL, [1]: 929.83800 MHz Gain: 0.000000 dB -> [../.ch/ch0.out] (/home/t/tsl-sdr/multifm/receiver.c:240 in receiver_init)

This is experienced on both Ubuntu 22.04 and raspbian x32 lite

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions