版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 某玻璃厂产品质量管理制度
- 2026年嘉兴市秀城区公务员人员招聘笔试模拟试题与答案详解
- 2026山东女子学院招聘10人考试模拟试题及答案解析
- 2026年石家庄市新华区公务员人员招聘笔试模拟试题与答案详解
- 2026年淮安市清河区公务员人员招聘考试参考题库与答案详解
- 湖北银行2027届秋季校园招聘考试备考试题及答案解析
- 某汽修厂维修记录细则
- 2026年沧州市运河区公务员人员招聘笔试试题与答案详解
- 2026年福建省清华附中福州学校招聘教师3人(2026.10)考试备考试题及答案解析
- 2026国元农业保险股份有限公司贵州分公司第二批社会招聘1人笔试备考试题及答案解析
- 北京市高职升本科统一考试英语模拟试题(含答案及详细解析)
- 2027届广东六校联盟高三10月考试数学及答案
- 绵阳科技城新区创业园街道社区卫生服务中心2026年医生招聘(4人)笔试备考题库及答案解析
- 新版【新教材】统编版(2024)七年级上册道德与法治期中复习:必刷100题选择题(含答案解析)
- 2026中国微生物制剂在农业领域应用现状与市场前景
- 2027年浙江省高三高考一模英语试卷试题(含答案详解)
- IEC 61800-3-2023 中文版(可调速电力传动系统 第 3 部分:电磁兼容性要求及其特定试验方法)
- 中医医师资格题库1000题(含答案和解析)
- 2026招生计划历史类
- 2025年铁路局招聘笔试试题及答案
- (2025年)陕西省西安市员额法官遴选面试考题及答案
评论
0/150
提交评论