VIA CDMA方案培训文档_第1页
VIA CDMA方案培训文档_第2页
VIA CDMA方案培训文档_第3页
VIA CDMA方案培训文档_第4页
VIA CDMA方案培训文档_第5页
已阅读5页,还剩60页未读, 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

VIATelecom,Inc.

Hangzhou,China

August2002CDMABasebandProcessor4.0

TechnicalTrainingAugust20021VIATelecomTrainingAugust9and10,20029:00amto11:30am12:30pmto6:00pmPreparedby: SheshankhReddy VIATelecom,Inc. SanDiego,CAContributionsprovidedby: CarloMastrogiocomo VictorNguyen

August20022TopicstobeCoveredControlProcessor(CP)SoftwareArchitectureMan-MachineInterface(MMI)UserIdentityModule(UIM)EngineeringTestSoftware(ETS)UniversalSerialBusmodule(USB)August20023YoushouldhavethefollowingIS-2000specsSoftwareRelease4.01ARMProjectManagerRelease4.01documentsAugust20024CDMABasebandProcessor4.0

TechnicalTrainingControlProcessorSoftwareOverviewAugust20025CPArchitectureCommunicationbetweentasksismessagebasedforinter-taskandintra-tasksynchronizationThesourcetaskallocatesthememoryThedestinationtaskde-allocatesthememoryThemessageIDandstructureisdefinedbythedestinationtaskwhichisdefinedinthexxxapi.hfileintheINCdirectoryOnlyheaderfilesincludedintheINCdirectorycanbesharedacrossunitsAugust20026CPArchitecture(contd)Unitnamesareabbreviated(exampleMMI,IOP…)sysdefs.h–providessystemwidetypedeclarationsandconstantsAugust20027CPSoftwareUnits

August20028CPSoftwareStructureAugust20029Real-TimeExecutive(EXE)UnitImplementedasawrapperAPIaroundNucleus+CurrentlyusingNucleus+revision1.13.21MessagequeuesSignalsSemaphonesProvidesmemorybuffermanagementtotasksCreatesabufferpoolthatisusedforinter-taskcommunicationAugust200210EXE(contd)IncorporatesminormodificationstoNucleusDebuggingaids(NUUnit–compileoption)CPunitsuseEXEroutinestointerfacewiththeRTOSNodirectcallstonucleusaremadeThetasks,stacksandqueuesarecreatedbytheEXEunitAugust200211SystemLevelServices(SYS)UnitPrimarilyinvolvedwithmanagingtimersandmodemtimingbasedeventsAllowstaskstoregisterswsignalsbaseduponCDMAmodemtimingAllowstaskstoregisterswsignalsatPCG

resolutionAugust200212HardwareUnitAllhardwareaccessisthroughtheHardwareDriversUnitPhilosophicallylayeredintohandlersanddriversbaseduponfunctionalityandhardwareimplementationSupportsuserinterfacehardwarehwddef.hand.inchavethehardwaredefinitions.Allmemorymappedregistersaredefinedhere.(Exampleioptask.c,vector.s)August200213Input/OutputProcessing(IOP)UnitSupportsdataflowcontrolto/fromtheserialportsSupportsserialportdatabufferingandmessageroutingUSBsupporttobeaddedinthisunitAugust200214Inter-ProcessorCommunications

(IPC)UnitSupportstwo-waycommunicationbetweentheControlProcessorandtheDSPprocessorsusingasharedmemorymailboxDSPMinterfaceconsistsoftwotypesofmailboxes:ControlMailbox–Message-basedDirectBuffer–Pre-allocatedbuffersforforward/reversechanneldataDSPVinterfaceconsistsofaControlMailboxinterfaceRoutesDSPMforwardchanneldatatoPSorLMDProvidesSSOpacketloopbackcapabilitiesforDSPVAugust200215MonitorandDiagnostics(MON)UnitProvidesdatamemorypeekandpokecapabilitiesProvidesmemorytestcapabilitiesSupportscriticalsoftwarefaultlogging(monfaults)SupportsdataloggingtoETS(montraces,monspies)SupportsCPversioninformationcommandSupportspower-upinitializationprocedureandDSPsoftwaredownloadAugust200216DatabaseManager(DBM)Unittm_dbm_sdd.docSupportspermanentdatabaseinFlashforvariousSWunitsSupportsreading/writingofdatato/fromdatabaseinFlashmemorySupportsdatabaseclearinginFlashmemorySupportsFlashmemorydatabasecachingModifytosupportUIMAugust200217MultiplexSub-LayerDrivers(LMD)UnitMultiplexSub-layerofLayer2Multiplexesprimary,secondary,andsignalingtrafficintoreversechanneldatapacketsdeliveredtoDSPMfortransmissionDemultiplexesprimary,secondary,andsignalingtrafficfromDSPMforwardchanneldatapacketsIntermediarybetweenDSPVvoicefunctionsandDSPMCDMAmodemfunctionsIntermediarybetweenDSPVvoicefunctionsandvoicefeaturesAudioControlandVoiceMemoAugust200218HardwareDriverSoftwareReferencesTechnicalManualDocumentstm_hwd_api_cbp4.pdfAugust200219HardwareDrivers-FunctionalityAugust200220HardwareDrivers–FunctionalityFileDescriptionhwdpll.c

RFPLLcontrol

hwdpsave.c

Powersavingscontrol

hwdrf.c

GeneralRFRXandTXcontrol

hwdser.c

Serializercontrol

hwdtask.c

Maintask

hwdtstmd.c

Testanddebugsupport

hwdver.c

Hardwaredriverversioninformation

lmx2305.c

NationalSemiconductorLMX2305PLLcontrol

lmx2331l.c

NationalSemiconductorLMX2331LdualPLLcontrol

max2309.c

Maxim2309PLLcontrol

max2361.c

Maxim2361dualPLLcontrol

August200221HardwareDrivers-GeneralHardwarecontrolledbymemorymappedregistersHwdRead()HwdWrite()AllregistersnamedasintechmanualwithHWD_prefixSeparatemacrosforinterruptcontrolPrimarilyfunction-basedinterfaceCaremayberequiredwithsomesharedresourcesAugust200222Audio(hwdaudio.c)VolumecontrolsplitbetweenCPandDSPCPcontrolshardwareDACgainDSPcontrolssoftwarescaling-FinerresolutionHwdAudioVolumeSet()Tablecontrolled-ValuesdependonmicrophoneandspeakerpathsAudiocontrollinkedintopowersavingscontrolHwdAudioPathConfig()August200223Clock(hwdclk.c)ClocksinitializedduringStartupHwdClkInit()ProgramsinternalPLLSupportsclockchangesforAMPS/CDMAswitchoversAugust200224Flash(hwdflash.c)FlashMemorydriversHwdFlashReadManId() -ReadmanufacturerIdHwdFlashReadDevId() -ReaddeviceIdHwdFlashErase() -ErasesectororalldeviceHwdFlashProgram16() -Program16-bitwordUsedforCPandDSPcodeonRAMchipPatchRAMstoredinFlashAugust200225GPIO(hwdgpio.c)MostGPIOpinsmultiplexedandmustbeconfiguredGPIOorfunctionalHwdGpioInit()ControlHwdGpioClear() -SetGPIOto0HwdGpioSet() -SetGPIOto1HwdGpioToggle() -TogglestateofGPIOHwdGpioRead() -ReadstateofGPIOGroupGPIOhardwaresupportSomeGPIOscanbeconfiguredasinterruptsAugust200226I2C(hwdi2c.c)DriverssupporttheuseofmultipleI2CdevicesThedriversuseasemaphonetoensurethatonlyoneaccessisinprogressatatimeHwdI2cLock()HwdI2cUnlock()HwdI2cRead()HwdI2cWrite()August200227MMIUnitCollectionofsupportroutinesforimplementationoftheUIPrimarilydirectprocedurecallsPortionsimplementedinatasktosupportmulti-threadedoperationsAugust200228MMI–ManMachineInterfaceReferenceManualManMachineInterfaceAPI(tm_mmi_api_cbp4.doc)August200229MMITaskAndLayerMMITaskReceivesandsendsmessagestocommunicatewithotherunitsMMILayerImplementsprocessingrelatedtoincomingandoutgoingmessagesAugust200230MMIDataFlowDiagramAugust200231MMI/PSWLayersAugust200232MMI/DBMMessagesAugust200233MMI/IOPMessagesAugust200234MMI/IPCMessagesAugust200235MMI/LMDMessagesAugust200236MMIStatesINACTIVE_STATEPOWER_UP_STATEIDLE_STATECALL_ORIGINATE_WAIT_STATECALL_ALERT_WAIT_STATEDEDICATED_CALL_STATECALL_DISCONNECT_WAIT_STATEAugust200237MMIProcessingStartupProcessing-SeeExample1MessageProcessing-SeeExamples2and3MobileOriginatedCallMobileTerminatedCallMobileInitiatedDisconnectMobileTerminatedDisconnectAudioTonesProcessing-SeeExample4RingtonesProcessing–SeeExample5August200238MMIExample1–Power-OnSequenceAugust200239MMIExample2–MobileOriginatedCallAugust200240MMIExample3–MobileTerminatedAugust200241MMIExample4–AudioTonesProcessingLayersvoidHwdAudioPlayPoly(PolyNum,*PolyoneSeq)

voidHwdAudioStop(void)

voidMmiAudioPlayToneSeq(*ToneSeq,Loop)

MMI_NWK_RPT_ALERT_MSGMMITask:MMILayer:HWD:August200242MMIExample5–RingTonesProcessingLayersvoidHwdRingerData(*RingerInfo)voidHwdRingerControl(OnOff)voidHwdRingerIsr(void)MMI_NWK_RPT_ALERT_MSGCALL_ALERT_WAIT_STATEMMITask:MMILayer:HWD:boolMmiRingtonePrepare(*RingTone)

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论