资源描述:
《Applications_Transcript在Blackfin应用程序中使用.pdf》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、PresentationTitle:UsingSystemServicesLibraryandDeviceDriverswithVisualDSP++KernelinBlackfin®ApplicationsPresenterName:GeorgeKadziolkaChapter1:ModuleOverviewHello,mynameisGeorgeKadziolka,presidentofKaztekSystems.TodaywearegoingtobetalkingaboutusingSystemServicesandDev
2、iceDriverswithVDKinBlackfinapplications.Subchapter1a:WhyUseSystemServicesLibraryandVisualDSP++Kernel?So,whyuseSystemServicesinVDK?FirstofallSystemServicesLibraryistheretoabstractthelowlevelhardwarefromtheapplication,whichmakesiteasiertodevelopcodefortheBlackfinproces
3、sor.WhenanapplicationstartstogetalittlebitmoreinvolvedfromtheperspectiveofuserI/O,deviceI/O,processingandcontrol,arealtimekernelisoftenconsidered.Therealtimekernelenablesanapplicationtobebrokenupintoseparatetasksorthreadseachofwhichcanbedealtwithalotmoreeasily.Thenth
4、readscansynchronizebetweeneachotherusingmechanismssuchassemaphoresandmessages.So,VisualDSPKernelorVDKisapre-emptivemultitaskingkernel,whichisdevelopedbyandsupportedbyAnalogDevices.BothVDK,SystemServicesandDeviceDriversarealsopartoftheVisualDSPtoolsuite.Subchapter1b:S
5、ystemServicesLibraryDeviceDriversvs.VisualDSP++KernelNow,systemservicedriversversustheVDKdrivers.TheSystemServicesDeviceDriversdoworkwithVDKandtheysupersedetheVDKdevicedrivermodelinBlackfinapplications.SystemservicesDeviceDriversexistforbothonandoffchipperipheralsand
6、theyareactivelydevelopedandsupportedforBlackfin.VDKdoesofferadevicedriverprogrammingmodel.Thereareexamplesthatareprovidedforhowtheyareused,butotherwisetheyarenotsupported.Now,theVDKdevicedrivermodelisstillusedtosupportI/OfortheSHARCprocessorfamily,aswellas,multi-proc
7、essormessagingforthedualcoreBlackfinprocessor,suchastheBF561.Subchapter1c:DemoProjectOverviewInthismodulewewillwalkthroughthedevelopmentofaBlackfinprojectthatusesSystemServicesLibraryandDeviceDriversinconjunctionwithVDK.Thedemoprojectwillbeanaudiotalk-throughapplicat
8、ion,whichwilluseapairofpushbuttonstoprovideasimpleup/downvolumecontrol.TheapplicationwilluseaBF537EZ-KITLiteforthedemonstration,whi