Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multifm starts first channel and no data #27

Open
oldirty91 opened this issue Jan 10, 2023 · 0 comments
Open

multifm starts first channel and no data #27

oldirty91 opened this issue Jan 10, 2023 · 0 comments

Comments

@oldirty91
Copy link

oldirty91 commented Jan 10, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant