SWCU195A December 2024 – May 2025 CC2744R7-Q1 , CC2745P10-Q1 , CC2745R10-Q1 , CC2745R7-Q1 , CC2755R10
The AFOSC tracking loop ratio is stored in the MMR CKMD.AFTRACKCTL.RATIO. The ratio is of the format 2b.30b; that is, there are 30 fractional bits.
There are three supported frequencies for AFOSC for which the ratio calculation has been shown. But the same can be extended to any other ratio.
CKMD.AFTRACKCTL.RATIO = [(ull_freq)/(2*AFOSC freq)] * 2^30 = [24/(2*80)]*2^30 = 0x0999999A
CKMD.AFTRACKCTL.RATIO = [(ull_freq)/(2*AFOSC freq)] * 2^30 = [24/(2*90.3168)]*2^30 = 0x880DEE9
CKMD.AFTRACKCTL.RATIO = [(ull_freq)/(2*AFOSC freq)] * 2^30 = [24/(2*98.304)]*2^30 = 0x7D00000