Hi there!
When there is no tx signal (either because the other PC is not running TX, or because I took the antenna off) everything is "running". When I run uhd_fft I see the signal load and clear. Without antenna it is -70 dbm which is at least 20 dbm above noise; with antenna it is -20 to -30 dbm. When there is a signal I immediately get:
"""
Module resdemapp_pdcch returned error from work() function. Trying a clean stop
Total blocks: 1 Total errors: 1 BLER=1
Total blocks: 0 Total errors: 0 BLER=-nan
Total blocks: 0 Total errors: 0 BLER=-nan
"""
I added some debug prints to your code and got (innermost error first):
"""
>> Error in line: /home/ofir/dev/aloe/modrep_osld/lte_lib/grid/pcfich.c:20
Error allocating PCFICH: REG (18,0) not found (i = 1) #######I added the i = %d
Error in line: /home/ofir/dev/aloe/modrep_osld/lte_lib/grid/base.c:363
Error initiating channel PCFICH
Error in line: /home/ofir/dev/aloe/modrep_osld/lte_lib/grid/base.c:394
Error in line: /home/ofir/dev/aloe/modrep_osld/lte_resource_demapper/src/dechannelize.c:203
i = 0; pdcch[i] = 1; nof_channels = 0
Error in line: /home/ofir/dev/aloe/modrep_osld/lte_resource_demapper/src/lte_resource_demapper.c:140
Module resdemapp_pdcch returned error from work() function. Trying a clean stop
Total blocks: 1 Total errors: 1 BLER=1
Total blocks: 0 Total errors: 0 BLER=-nan
Total blocks: 0 Total errors: 0 BLER=-nan
"""
which means that "lte_reg_get_k(k,0,config)" returned NULL for "config->control.pcfich[i] = lte_reg_get_k(k,0,config);" when i==1, which means nothing to me.....
And another thing:
I think the reason I previously got BLER=1 multiple times is because the clock on one of my USRP is very inaccurate. I athink so because of "kalibrate" results (this app looks for GSM channels on air and tells you how off your USRP clock is). I am trying to fix this using clock synchronization between the 2 USRP's with their MIMO cable, I couldn;t test my theory because I keep getting the above errors,,
And yet another thing: to eliminate the real time factor I generated an .app file the records samples from usrp and put it into my own output.bin. Then I changed
time_slot_ns=10000000; in config file and ran
osld_rx_file.app and see whats going on. I still get the same BLER=1 over and over (those samples were taken on a day when I didn't got kicked out by
Module resdemapp_pdcch returned error from work() .
Thanks for all the great work you are doing!!
Ofir