Page 1 of 1

Matlab sync_config missing

Posted: Mon Sep 27, 2021 3:53 am
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?

Re: Matlab sync_config missing

Posted: Mon Oct 04, 2021 11:41 pm
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?