I am working with Bluetooth specification 5.1 where the advertisement packets can send a constant tone extension (CTE) over the baseband signal to estimate the angle of arrival with an antenna array.
Due to inaccuracy of transciever and reciever clocks for bluetooth devices, the CTE is not exact.. This leads to a phase shift in the recieved signal of the antennas.
Based on my last discussion over here, I have understand that I need to estimate the CFO and phase rotation to compensate for the inaccuracy of the recieved signal.
I have simulated the I/Q sampling for Bluetooth baseband model with CTE signal of 250 Khz with a sampling of 125 KHz.
As expected the phase of the I/Q samples remains fairly constant.
In this case as I am trying to understand how to compensate CFO, I have introduced a freq. deviation of 5 Khz to the signal.
Based on this I am now trying to figure out how to compensate this deviation I introduced to return back to the first figure where the phase is constant. What method do I need to apply to use the knowledge of the 5 Khz freq. deviation from the original 250 Khz signal?