所需E币: 3
时间: 2019-12-25 21:41
大小: 230.46KB
Asreal-timedigitalsignalprocessing(DSP)systemsbecomemorecomplicatedwithmultiplethreadsofexecutionandfasterDSPs,softwaredevelopmentanddebuggingbecomesmorecomplicated.AnMP3playerisagoodexampleofamulti-threadedsystemthatexecutesnotonlyDSP-type(data)threadssuchasMP3decoding,samplerateconversion,andgraphicequalization,butitalsorunstypical“host/controller”(control)threadssuchasuserinterface(keypad/LCD)andaccesstostoragemedia(forexample,CompactFlash).Inthisdocumentwediscussthesoftwarebehindareal-worldMP3playerrunningstand-aloneonaTexasInstrumentsC5000EDSP.PartsofthissystemarepresentlybeingshippedinproductionMP3playersallovertheworld.ThesoftwareisbuiltupontheTexasInstrumentsDSP/BIOSofferingwithschedulerandreal-timeanalysis.Thisapplicationreportshowsastep-by-stepreal-worldsoftwareparadigmshift.WewillstartwithatypicalISR(interruptserviceroutine)systemandbuilditupinstepstoincorporatesuchconstructsasareal-timepreemptivekernelanddatapipingstructure.ThenwewillseehowDSP/BIOSreal-timeanalysis(RTA)canbeusedtoobserveanddebugtheentiresysteminrealtime.Thesedebugfeaturesincludeschedulinggraphs,loadingcalculations,andstatisticalbenchmarkinginformation.……