Matlab sync_config missing

Having issues with the site, hardware, source code, or any other issues?
Post Reply
JurgisBPTI
Posts: 1
Joined: Tue Sep 14, 2021 4:34 am

Matlab sync_config missing

Post by JurgisBPTI »

So i was looking into using matlab to tx/rx samples synchronised, but it appears that in matlab interface bladerf_sync_config() is never called before sync_tx and before sync_rx. I am having an issue where my metadata shows the samples to be synchronised, but in reality i can verify that they drift over time quite dramatically (around 100 samples per minute). And i noticed bladerf_sync_config is not called EVER form bladeRF.m, so i assume that to be a culprit. Any ideas how i could fix this or how can i call this function directly from libbladeRF_proto.m?
robert.ghilduta
Posts: 156
Joined: Thu Feb 28, 2013 11:14 pm

Re: Matlab sync_config missing

Post by robert.ghilduta »

bladerf_sync_config() is called in bladeRF_XCVR.m which is instantiated both for each of the RX and TX modules from bladeRF.m . bladerf_sync_rx() and bladerf_sync_tx() would not function otherwise.
Please ensure your metadata timing increments are correct. Does the drift progressively increase or diverge?
Post Reply