手机射频校准什么是射频校准?•TheprocessofobtainingRFparametricdatatobeusedbythephoneforthepurposeofcompensatingfornon-lineardevices,frequencyvariations,andtemperaturevariations•Outputfromthecalibrationprocessisstoredinnon-volatile(NV)memory•DMSSusesRFNVitemsduringnormaloperationtoensuresystemperformanceismet.射频校准的意义?(1)•SubscriberunitshavedifferingRFcharacteristics.-Somecharacteristicsvaryfromoneunittothenext-Othercharacteristicsvaryfromonedesigntothenext射频校准的意义?(2)•ThesubscriberunitmustestimatetheRxpowerproperlytomaximizesignaltonoiseratiosandtoprovideabasisforTxpoweroutput.•ThesubscriberunitmusttransmitatcorrectTxpowerleveloveritslargedynamicrange.射频校准的意义?(3)•TheMSMdeviceandsystemsoftwarecombinationmust“know”theRFcharacteristicsoftheparticularunit.ThisinformationisknownasRFcalibrationdata.•FailuretocompensatefordifferingRFcharacteristicsmaycausetheunittofailminimumperformancespecifications.射频校准的意义?(4)•CalibrationConsideration:-SomeNVItemswillbestaticperphonedesign»Ex:NV_CDMA_ENC_BTF-OtherNVitemswillvaryfromonephonetothenextandneedtobecalibrated»Ex:NV_CDMA_TX_LIN_MASTER_1射频校准的信号流图射频校准工位搭建NV项•Calibrationcompensatesfornonlinearcharacteristics,andtemperatureandfrequencyvariationsintheperformanceoftheTxandRxpathcomponentsinasubscriberunit•Outputfromthecalibrationprocessarestoredinnonvolatile(NV)memoryitemsinAMSSsoftware•DMSSsoftwareloadscalibrationvaluesintoMSMregistersorusesthemforsoftwareprocessingduringnormalDMSSoperation•NVitemscanbeaccessedusingrawDIAGcommandsorusingDIAG-basedtools,suchastheQPSTRFCalibrationTool•SomeNVitemswillbestaticperthehardwaredesign•OtherNVitemswillvaryfromoneunittothenext•SomeelementswithinanNVitemcanbeextrapolatedNV项类型•StaticRFNVItems:Valueisdeterminedbydesignanddoesnotchangeforthesamedesign.Ex:NV_CDMA_NONBYPASS_TIMER_I•CalculatedRFNVItems:Valueiscalculatedbasedonotherparametersofthedesignconfigurationandvaluedoesnotchangeforagivenconfiguration.Ex:NV_CDMA_LNA_RANGE_RISE_I•MeasuredRFNVItems:ValueisdefinedbyRFcalibrationprocessandeachdevicemayhaveadifferentvalue.Ex:NV_CDMA_TX_LIN_MASTER_0_IFTM介绍•FTMisexpandable,allowingcustomerstobuildontothefunctionsformanufacturer-specifictesting•FTMisnowapartofQPST•Extensivedocumentationisavailableforcustomerreference–80-V4690-25Rev.BMSM6250RFNVItems–CL-93-V5368-1Rev.CFactoryTestModeWCDMACommands–CL93-V5370-1Rev.FFactoryTestModeGSMCommands–80-V5359-1Rev.EFTMOverview运行FTM•ReleasedDMSScanbemadetobootupinoneoftwooperatingmodes–Normal“DMSS”modewithregularcellularoperation–FTMmodewithnocellularsystemdeterminationandcall-processing•Bydefault,DMSSwillpowerupinnormalmode•AMSSsoftwareisalsocapableofswitchingmodesatrun-time(noresetrequired)–ToswitchfromonlinetoFTM,senda“ModeFTM”commandtothephone.–ToswitchfromFTMtoonline,senda“ModeOnline”command.•ToactivateFTM:–SendOff_linecommandtotarget–SendDiagCommandNV_WRITEandsetNVitemNV_FTM_Ito1.–ResettargetbysendingaMODE_RESETcommand.TargetwillbootupinFTMmode.TargetLCDscreenshoulddisplay“FactoryTestMode”•AtthispointtheunitisreadytoreceiveFTMcommandsFTM命令介绍(1)•BoolSetPDM(pdm_id_typetype)–ThiscommandsetsthevalueofaPDMoutput,basedonPDM_IDsuchasTx_Agc_PdmorRx_Agc_Pdm•ByteGetADC(adc_id_typetype,word*data=NULL)Thiscommandreturnsthevalueofthespecifiedanalogto-digitalconverter(ADC)channels.•WordGetCAGC_RX_AGC()–Thiscommandreturnsthe10-bit2’scomplementoutputoftheRXAGCloop•BoolGetSynthLockState()–ThiscommandreturnsthestateoftheRFsynthesizers.FTM命令介绍(2)•BoolSetCDMAWaveCW(boolon_off)–ThiscommandsetsthemodulationON/OFFfortheuplinkwaveform.Passin“true”forCWwaveformand“false”forWCDMAuplinkwaveform•BoolSetChannel(wordchannel)–Thiscommandsetstheuplinkanddownlinkchannel•BoolSetLNAOffset(byteindex,intvalue)–ThiscommandsetstheLNAoffsetregister•BoolSetLNARange(lna_range_typerange)–ThiscommandsetstheLNArangestatemachinetothespecifiedstateFTM命令介绍(3)•BoolSetMode(mode_id_typemode)–ThisfunctionmakesaselectionbetweenGSMandWCDMAoperatingmodes.Itinitializesallofthenecessaryregisterstoplacethephoneintherequestedmode•BoolSetPARange(pa_range_typerange)–ThiscommandsetsthePArangestatemachinetothespecifiedstate•BoolSetTxOFF()–Thiscommandturnsoffthephone’stransmitchainincludingthepoweramplifierandtheMSMTxclocks•BoolSetTxON()–Thiscommandturnsonthephone’stransmitchainincludingthepoweramplifierandtheMSMTxclockFTM命令介绍(4)•WordGetCDMAIM2(byte*Idac,byte*Qdac,byte*Trans)–ThiscommandreturnstheoptimumIM2valueforthecurrentmodeandchannelofthemobile.Rxsignalinputarerequiredtobesetbeforeissuingthiscommandorresultswillnotbeaccurate.Theresultingwordcontainstwovalues:–ThemostsignificantbytecontainstheIvalue–ThemiddlebytecontainstheQvalue–Theleastsignificantbytecontainsthetransconductancevalue•BoolSetDVGAOffset(wordoffset)–ThisfunctionsetstheDVGA(DigitalVGA)offsetregister•WordGetDVGAOffset(void)–ThisfunctiongetstheDVGAoffsetregistervalueAutomaticGainControl(AGC)•ThephonedoesnotusedBanddBmtomanagepower.•Intheembeddedsoftware,allpowerisdefinedintermsofAGCunits–AGCunits»AGCisstoredas10-bitnumber»Rangeis210,1024totalunits»dB/AGC=DynamicRange(dB)/1024»ForDynamicRange=85.3dB•Thereare12AGCu