版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、VIA Telecom, Inc.Hangzhou,ChinaAugust 2002CDMA Baseband Processor 4.0Technical TrainingAugust 20021VIA Telecom TrainingAugust 9 and 10, 20029:00 am to 11:30 am12:30 pm to 6:00 pmPrepared by:Sheshankh ReddyVIA Telecom, Inc.San Diego, CAContributions provided by:Carlo MastrogiocomoVictor NguyenAugust
2、20022Topics to be CoveredControl Processor (CP) Software ArchitectureMan-Machine Interface (MMI)User Identity Module (UIM) Engineering Test Software (ETS) Universal Serial Bus module (USB)August 20023You should have the followingIS-2000 specsSoftware Release 4.01 ARM Project Manager Release 4.01 doc
3、umentsAugust 20024CDMA Baseband Processor 4.0Technical TrainingControl Processor Software OverviewAugust 20025CP Architecture (contd)Unit names are abbreviated (example MMI, IOP)sysdefs.h provides system wide type declarations and constantsAugust 20027CP Software UnitsAugust 20028Real-Time Executive
4、 (EXE) UnitImplemented as a wrapper API around Nucleus +Currently using Nucleus + revision 1.13.21Message queuesSignalsSemaphonesProvides memory buffer management to tasksCreates a buffer pool that is used for inter-task communicationAugust 200210EXE (contd)Incorporates minor modifications to Nucleu
5、sDebugging aids (NU Unit compile option)CP units use EXE routines to interface with the RTOS No direct calls to nucleus are made The tasks, stacks and queues are created by the EXE unit August 200211System Level Services (SYS) UnitPrimarily involved with managing timers and modem timing based events
6、Allows tasks to register sw signals based upon CDMA modem timingAllows tasks to register sw signals at PCG resolutionAugust 200212Input/Output Processing (IOP) UnitSupports data flow control to/from the serial portsSupports serial port data buffering and message routing USB support to be added in th
7、is unitAugust 200214Inter-Processor Communications (IPC) UnitSupports two-way communication between the Control Processor and the DSP processors using a shared memory mailboxDSPM interface consists of two types of mailboxes:Control Mailbox Message-basedDirect Buffer Pre-allocated buffers for forward
8、/reverse channel dataDSPV interface consists of a Control Mailbox interfaceRoutes DSPM forward channel data to PS or LMDProvides SSO packet loopback capabilities for DSPVAugust 200215Database Manager (DBM) Unittm_dbm_sdd.docSupports permanent database in Flash for various SW unitsSupports reading/wr
9、iting of data to/from data base in Flash memorySupports data base clearing in Flash memorySupports Flash memory database caching Modify to support UIMAugust 200217Multiplex Sub-Layer Drivers (LMD) UnitMultiplex Sub-layer of Layer 2Multiplexes primary, secondary, and signaling traffic into reverse ch
10、annel data packets delivered to DSPM for transmissionDemultiplexes primary, secondary, and signaling traffic from DSPM forward channel data packetsIntermediary between DSPV voice functions and DSPM CDMA modem functionsIntermediary between DSPV voice functions and voice featuresAudio Control and Voic
11、e MemoAugust 200218Hardware Driver SoftwareReferencesTechnical Manual Documentstm_hwd_api_cbp4.pdfAugust 200219Hardware Drivers - FunctionalityAugust 200220Hardware Drivers FunctionalityFileDescriptionhwdpll.c RF PLL control hwdpsave.c Power savings control hwdrf.c General RF RX and TX control hwdse
12、r.c Serializer control hwdtask.c Main task hwdtstmd.c Test and debug support hwdver.c Hardware driver version information lmx2305.c National Semiconductor LMX2305 PLL control lmx2331l.c National Semiconductor LMX2331L dual PLL control max2309.c Maxim 2309 PLL control max2361.c Maxim 2361 dual PLL co
13、ntrol August 200221Hardware Drivers - GeneralHardware controlled by memory mapped registers HwdRead( )HwdWrite( )All registers named as in tech manual with HWD_ prefixSeparate macros for interrupt controlPrimarily function-based interfaceCare may be required with some shared resourcesAugust 200222Cl
14、ock (hwdclk.c)Clocks initialized during StartupHwdClkInit ( )Programs internal PLLSupports clock changes for AMPS/CDMA switchoversAugust 200224Flash (hwdflash.c)Flash Memory driversHwdFlashReadManId( ) - Read manufacturer IdHwdFlashReadDevId( ) - Read device IdHwdFlashErase( ) - Erase sector or all
15、deviceHwdFlashProgram16( ) - Program 16-bit wordUsed for CP and DSP code on RAM chipPatch RAM stored in FlashAugust 200225I2C (hwdi2c.c)Drivers support the use of multiple I2C devicesThe drivers use a semaphone to ensure that only one access is in progress at a timeHwdI2cLock( )HwdI2cUnlock( )HwdI2c
16、Read ( )HwdI2cWrite ( )August 200227MMI UnitCollection of support routines for implementation of the UIPrimarily direct procedure callsPortions implemented in a task to support multi-threaded operationsAugust 200228MMI Man Machine InterfaceReference ManualMan Machine Interface API(tm_mmi_api_cbp4.do
17、c)August 200229MMI Task And Layer MMI TaskReceives and sends messages to communicate with other units MMI LayerImplements processing related to incoming and outgoing messagesAugust 200230MMI Data Flow DiagramAugust 200231MMI/PSW LayersAugust 200232MMI/DBM MessagesAugust 200233MMI/IOP MessagesAugust
18、200234MMI/IPC MessagesAugust 200235MMI/LMD MessagesAugust 200236MMI StatesINACTIVE_STATEPOWER_UP_STATEIDLE_STATECALL_ORIGINATE_WAIT_STATECALL_ALERT_WAIT_STATEDEDICATED_CALL_STATECALL_DISCONNECT_WAIT_STATEAugust 200237MMI ProcessingStartup Processing - See Example 1Message Processing - See Examples 2
19、 and 3Mobile Originated CallMobile Terminated CallMobile Initiated DisconnectMobile Terminated DisconnectAudio Tones Processing - See Example 4Ringtones Processing See Example 5August 200238MMI Example 1 Power-On SequenceAugust 200239MMI Example 2 Mobile Originated CallAugust 200240MMI Example 3 Mob
20、ile TerminatedAugust 200241MMI Example 4 Audio Tones Processing Layersvoid HwdAudioPlayPoly( PolyNum, *PolyoneSeq ) void HwdAudioStop( void )void MmiAudioPlayToneSeq( *ToneSeq, Loop )MMI_NWK_RPT_ALERT_MSGMMI Task:MMI Layer:HWD:August 200242MMI Example 5 Ring Tones Processing Layersvoid HwdRingerData
21、(*RingerInfo ) void HwdRingerControl( OnOff )void HwdRingerIsr( void )MMI_NWK_RPT_ALERT_MSGCALL_ALERT_WAIT_STATEMMI Task:MMI Layer:HWD:bool MmiRingtonePrepare( *RingTone ) bool MmiRingtoneControl( CmdId )August 200243MMI ContentsFilenameContentsmmiaiw.cAIW function/message handlersmmiamps.cAMPS mess
22、agesmmiaudio.cAudio interface for MMImmidefs.hDefinition for MMI unit (internal interface)mmidisplay.cDisplay implementationmmierrs.hError codes for ETSmmihlw.cHLW message handlermmihwd.cHWD message handler key pressmmimisc.cMiscmmiotasp.cOTASP/PE message handlermmipsw.cPSW message handlersmmirel.tx
23、tRelease notesmmiringer.cRinger interfaceAugust 200244MMI Contents (Continued)FilenameContentsmmisms.cSMS message interfacemmistate.cMMI state machinemmitask.cMain taskmmitext.hText stringsmmitunes.hTones, ringer, audio/voice pathmmiuserinfo.cUser information is implemented (RSSI, BAT PWR, clock)mmi
24、ver.hS/W versionmmivmemo.cLMD DSPV. Voice memo implementation (interface)mmivrec.cVoice recognitionproject.pjProject fileAugust 200245User Informationmmiuserinfo.cExample:RSSIThis module can be expanded to request other information that is required by the Man-Machine Interface (MMI)August 200246Voic
25、e Memommivmemo.cVoice memos are stored in the Data Base Manager (DBM)Current memory available for voice memos is 64k.Can be increased by making changes to the DBMAugust 200247Voice Memo (Continued)RecordDSPV = Voice DSPLMD = Multiplex Sub-layer DriversDBM = Database ManagerAugust 200248Voice Memo (C
26、ontinued)PlaybackAugust 200249Voice RecognitionVoicerecsdd.docAugust 200250Voice Recognition (Continued)August 200251Audio and Ringer TonesAudio Path (Audio Tone)Ringer Path (Ringer Tone)August 200252User Identity Module (UIM)August 200253User Identity Module (Continued)Current PE/PSW interface to M
27、MI and DBM must be maintained (do not change)If additional messages are required between MMI, PE/PSW, and DBM, the San Diego team will add themIf a separate UIM task is required, the China team will add itInformation to be stored on the UIM is currently stored both in the DBM and MMIData transfer be
28、tween MMI and UIM, DBM and UIM shall be through messagesAugust 200254User Identity Module (Continued)The UIM is used for data storage and retrieval and also for authenticationCurrently authentication algorithms are in the PEThe authentication algorithms in the PE should be maintained and a compile s
29、witch should be provided for the interface with the UIMAugust 200255Adding UIM TaskEXEAdd stack size - exepowr.hPriority - exepowr.hDepth of queue - exepowr.hMail queue/boxes - exepower.cTask control block - exepower.cPrototype for task function - exepower.cTask initialization table - exepower.cTask
30、 Id - exeapi.hHISR & LISR Thread Ids - exeapi.h,.incAugust 200256Adding UIM Task (Continued)Add sub-project to the CP project. Add .c and .h files to sub-project. api file should be added in the inc directoryFollow current naming convention of files and functionsProvide compile switch to compile in/
31、out code for UIM. syscust.hAugust 200257User Identity Module (Continued)CAVE auth.c CAVE support auth.hRefer to TIA/EIA/IS 2000-5: Section 2.3.12cave.ccave.hThe above four files contain all common cryptographic algorithms for all authentication, voice privacy, and message encryptionThe design must s
32、upport both the UIM and the current architecture August 200258User Identity Module (Continued) Contents of TIA/EIA/IS-2000-5, Section 2.3.12:2.3.12 Authentication, Encryption of Signaling Information /User Data and Voice Privacy.2-9 Authentication.2-9 .1 Shared Secret Data (SSD).2-10 .2 Random Chall
33、enge Memory (RAND).2-10 .3 Call History Parameter (COUNTs-p).2-10 .4 Unique Challenge-Response Procedure.2-10 .5 Updating the Shared Secret Data (SSD).2-11 Signaling Message Encryption.2-15 .1 Encrypted Messages on the f-dsch.2-16 .2 Encrypted Messages on the r-dsch.2-18 Voice Privacy.2-21August 200
34、259Engineering Test Software (ETS)Reference Manuals: - tm_ets_intf_cbp4.doc - tm_ets_overview_cbp4.doc - tm_ets_overview_cbp4.docWhat is the ETS?Diagnostic tool for debuggingDoes not replace ICE, logic analyzer, etc.Graphical Analysis Tool (GAT) is a graphical tool that is used with ETSCurrently CP to PC communication is through a serial link (UART 0)Disp
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 年产500万套汽车零部件及配件生产线技改项目可行性研究报告模板-立项拿地
- 教育事业经费投入监管制度
- 全国中职化学实验操作规范与考试题库真题
- 2026年二级建造师《建筑工程》历年高频真题考点
- 物流补贴款核算协议
- 2026年湖北省高三(4月)调研模拟考试历史试卷(含答案及解析)
- 安全专业培训考试
- 第13课 心学大师王阳明教学设计小学地方、校本课程浙教版(2021)人·自然·社会
- 高中心理健康第二节 走过花季教案及反思
- 重症医学科脓毒症休克护理理论考核试卷
- 2024年山东中烟工业有限责任公司招聘笔试参考题库含答案解析
- 测匀加速直线运动物体的加速度实验报告
- 人口信息查询申请表(表格)
- 安徽省合肥市合肥第一中学2022-2023学年高一下学期期末物理试题
- 离婚协议书电子版下载
- 人教版三年级数学下册教案(表格式)【全册】
- 信号与动态测量系统
- 中医诊断学局部望诊
- 交通组织疏导方案
- 2023年职业中专美术教师招聘考试题目另附答案
- 太钢不锈冷轧厂简介
评论
0/150
提交评论