The RTRIM API User's Guide shows us how to change the value of the RTRIM value within TI millimeter wave devices. It suggests the following:
rlRfApllSynthBwControl_t ctrlArgs;
int32_t retVal;
memset(&ctrlArgs,0,sizeof(rlRfApllSynthBwControl_t));
ctrlArgs.synthIcpTrim = 1;
ctrlArgs.synthRzTrim = 8;
ctrlArgs.apllIcpTrim = 0x26;
ctrlArgs.apllRzTrimLpf = 0x9;
ctrlArgs.apllRzTrimVco = 6;
retVal = (int32_t)rlRfApllSynthBwCtlConfig(RL_DEVICE_MAP_INTERNAL_BSS, &ctrlArgs);
if (retVal < 0)
{
System_printf("An Error Occured!");
}
System_printf("Trim: %d\n",rtrim_get());
----------------------------------------------------------------------------------------------------
Question:
Can someone tell me what the fields:
ctrlArgs.synthIcpTrim
ctrlArgs.synthRzTrim ;
ctrlArgs.apllIcpTrim
ctrlArgs.apllRzTrimLpf
ctrlArgs.apllRzTrimVco
are doing? What do they represent / why should we change them? Also -- why are these values suggested?
Thanks!