/
Application Report SPRA  June  A DSPBIOS AIC Codec Device Driver for the TMSC DSK Organization Application Report SPRA  June  A DSPBIOS AIC Codec Device Driver for the TMSC DSK Organization

Application Report SPRA June A DSPBIOS AIC Codec Device Driver for the TMSC DSK Organization - PDF document

natalia-silvester
natalia-silvester . @natalia-silvester
Follow
573 views
Uploaded On 2014-11-29

Application Report SPRA June A DSPBIOS AIC Codec Device Driver for the TMSC DSK Organization - PPT Presentation

This device driver is written in conformance to the DSPBIOS IOM device driver model and uses the generic TMS320C6X1X EDMA McBSP driver to transfer samples to and from the serial port For details on this generic driver see the application note A DSPB ID: 18648

This device driver

Share:

Link:

Embed:

Download Presentation from below link

Download Pdf The PPT/PDF document "Application Report SPRA June A DSPBIOS..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Application ReportSPRA677 – June 20031A DSP/BIOS AIC23 Codec Device Driver for theTMS320C6713 DSKOrganization This document describes the usage and design of a device driver for the AIC23 audio codecon the TMS320C6713 DSK. This device driver is written in conformance to the DSP/BIOSIOM device driver model and uses the generic TMS320C6X1X EDMA McBSP driver totransfer samples to and from the serial port. For details on this generic driver, see theapplication note 1Usage . . . . . . . . . . . . . . . 1.1Configuration . . . . 1.2Device Parameters1.3Channel Parameters4 SPRA677 1UsageThe device driver described here is part of an IOM mini-driver. That is, it is implemented as the Application / FrameworkSIO APIs PIP APIsPIO AdapterDIO Adapter IOM Mini-Driver(s)DeviceDriver Chip Support Library (CSL) ClassDriverMini-Driver On-Chip Peripheral HardwareOff-Chip Peripheral HardwareFigure 1.DSP/BIOS IOM Device Driver Modelportion that will work across many different codecs. Figure 2 shows the data flow between thesamples to and from the serial port. This means that to use this device driver, an applicationdevice driver is hidden from the user. Note that this device driver uses both McBSP ports 0 and SPRA677 A DSP/BIOS AIC23 Codec Device Driver for the TMS320C6713 DSK Application/Framework Class Driver Codec-Specific Part of Mini-Driver Generic Part of Mini-Driver Chip Support LibraryMini-Driver Figure 2.Codec Device Driver Partitioning1.1ConfigurationTo use this driver, a device entry has to be added and configured in the configuration tool. ThisType _DSK6713_EDMA_AIC23_init.Type _DSK6713_EDMA_AIC23_Fxns.This property is ignored by this device driver, since there is only one AIC23 codecdescribed below. SPRA677 1.2Device Parameterstypedef struct DSK6713_EDMA_AIC23_DevParams {versionId: Version number of the driver.If this parameter is set to TRUE, the device driver will treat buffers issued toAnalog audio path control. Default value is 0x0011.1.3Channel Parameters1.4Control Commands SPRA677 2ArchitectureEDMA McBSP driver. It uses two codec specific functions, mbBindDev() and mdCreateChan(),samples to the generic device driver. The fact that this device driver uses the generic device3ConstraintsInherits the constraints of the generic TMS320C6x1x EDMA McBSP driver.By default the McBSP signals on the DSK are connected to the AIC23 codec. However, the4Referencess Village.TLV320AIC23 Stereo Audio Codec, 8 to 96 KHz, With Integrated Headphone Amplifier Data, SLWS106D SPRA677 Appendix ADevice Driver Data SheetA.1Device Driver Library NameA.2DSP/BIOS Modules UsedSame as for the generic TMS320C6x1x EDMA McBSP device driver.A.3DSP/BIOS Objects UsedSame as for the generic TMS320C6x1x EDMA McBSP device driver.A.4CSL Modules UsedSame as for the generic TMS320C6x1x EDMA McBSP device driver.A.5CPU Interrupts UsedSame as for the generic TMS320C6x1x EDMA McBSP device driver.A.6Peripherals UsedSame as for the generic TMS320C6x1x EDMA McBSP device driver.A.7Maximum Interrupt LatencySame as for the generic TMS320C6x1x EDMA McBSP device driver.A.8Memory UsageIncludes the memory usage of the generic TMS320C6x1x EDMA McBSP device driver.Table A–1.Device Driver Memory Usage Uninitialized memory Initialized memory CODE — 336 words DATA 27 words 50 words NOTE:This data was gathered using the sectti command utility. IMPORTANT NOTICETexas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications,enhancements, improvements, and other changes to its products and services at any time and to discontinueorders and should verify that such information is current and complete. All products are sold subject to TI’s termsTI warrants performance of its hardware products to the specifications applicable at the time of sale inaccordance with TI’s standard warranty. Testing and other quality control techniques are used to the extent TIdeems necessary to support this warranty. Except where mandated by government requirements, testing of allTI assumes no liability for applications assistance or customer product design. Customers are responsible fortheir products and applications using TI components. To minimize the risks associated with customer productsand applications, customers should provide adequate design and operating safeguards.TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right,copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or processin which TI products or services are used. Information published by TI regarding third-party products or servicesdoes not constitute a license from TI to use such products or services or a warranty or endorsement thereof.Use of such information may require a license from a third party under the patents or other intellectual propertyof the third party, or a license from TI under the patents or other intellectual property of TI.Reproduction of information in TI data books or data sheets is permissible only if reproduction is withoutalteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproductionof this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable forsuch altered documentation.Resale of TI products or services with statements different from or beyond the parameters stated by TI for thatproduct or service voids all express and any implied warranties for the associated TI product or service andFollowing are URLs where you can obtain information on other Texas Instruments products and applicationProductsApplicationsAmplifiersamplifier.ti.comAudiowww.ti.com/audioData Convertersdataconverter.ti.comAutomotivewww.ti.com/automotiveDSPdsp.ti.comBroadbandwww.ti.com/broadbandInterfaceinterface.ti.comDigital Controlwww.ti.com/digitalcontrolLogiclogic.ti.comMilitarywww.ti.com/militaryPower Mgmtpower.ti.comOptical Networkingwww.ti.com/opticalnetworkMicrocontrollersmicrocontroller.ti.comSecuritywww.ti.com/securityTelephonywww.ti.com/telephonyVideo & Imagingwww.ti.com/videoWirelesswww.ti.com/wirelessMailing Address:Texas InstrumentsPost Office Box 655303 Dallas, Texas 75265 2003, Texas Instruments Incorporated