Texas Instruments TMS320C6000 manual AD535 API Module Description, AD535 API Summary

Page 15

AD535 API Module Description

2.1 AD535 API Module Description

The AD535 module (audio codec supported by the C6711 DSK) serves as a level of abstraction such that it works the same for all AD535s supported on TI EVM/DSKs.

To use an AD535 device, you must first open it and obtain a device handle us- ing AD535_open(). Once opened, use the device handle to call the other API functions. The codec may be configured by passing an AD535_Config struc- ture to AD535_config().

Table 2–1. AD535 API Summary

Syntax

Type

Description

Page

 

 

 

 

 

 

AD535_close

F

Closes the AD535 module

2-5

 

AD535_Config

S

The AD535 configuration structure used to set up an

2-5

 

 

 

AD535 codec

 

 

AD535_config

F

Sets up the AD535 codec using the register value

2-6

 

 

 

passed in

 

 

AD535_freeMcbsp

F

Sets the FREE bit of an McBSP serial port to 1.

2-6

 

AD535_getMcbspHandle

F

Returns the Handle of the McBSP associated with the

2-8

 

 

 

codec previously opened

 

 

AD535_Id

S

The AD535 Identity Structure used to allocate the

2-8

 

 

 

Codec device and the associated McBSP

 

 

AD535_inGain

F

Sets the AD535’s input gain

2-10

 

AD535_micGain

F

Sets the microphone preamplifier gain

2-10

 

AD535_modifyReg

F

Modifies the AD535 control registers

2-11

 

AD535_open

F

Opens an AD535 codec for use

2-12

 

AD535_outGain

F

Sets the AD535’s output gain

2-13

 

AD535_powerDown

F

Puts the AD535 in power-down mode

2-13

 

AD535_read

F

Reads received data (voice channel)

2-14

 

AD535_readHwi

F

Reads received data (voice channel)

2-14

 

AD535_readReg

F

Reads the contents of AD535 control registers

2-14

 

AD535_reset

F

Resets the AD535

2-16

 

AD535_SUPPORT

C

A compile time constant whose value is 1 if the board

2-16

 

 

 

supports the AD535 module

 

 

 

 

 

 

 

2-2

Image 15
Contents TMS320C6000 DSK Board Support Library API User’s Guide Important Notice About This Manual Read This FirstNotational Conventions How to Use This Manual Contents DIP API Module Tables BSL Overview How The BSL Benefits You BSL IntroductionBSL API Modules BSL Modules and Include FilesBSL API Module Support BSL Support Library Name and Symbol Conventions Using BSL HandlesBSL API Module Support for 6711 DSK Linker Options BSL Project SettingsUser’s Program Setting Compiler OptionsAD535 API Module AD535 API Summary AD535 API Module DescriptionAD535 API Module AD535close AD535ConfigAD535Config AD535 API ReferenceSets up AD535 using configuration structure Sets the Free bit of an McBSP serial port toAD553freeMcbsp AD553freeMcbsp Returns McBSP Handle AD535IdAllocates codec channel Codec of C6711DSK use the predfined pointer AD535IdAD535micGain AD535inGainAD535inGain Sets AD535’s input gainAD535modifyReg Modifies specified control register AD535modifyRegAD535open AD535openOpens codec channel AD535powerDown Enables AD535’s power-down mode AD535outGainSets AD535’s output gain AD535readReg AD535readAD535read AD535readHwiAD535readReg AD535reset AD535resetAD535write AD535writeReg AD535writeRegAD535writeHwi Writes value to specified control registerAD535writeReg Board API Module Board API Summary Board API Module DescriptionBoardsupport Compile time constant Board API ReferenceBOARDwriteReg BSL API Module BSL API Function BSL API Module DescriptionBSL API Reference BSLinitBSLinit DIP API Module DIP API Summary DIP API Module DescriptionCompile time constant Returns current value of specified DIP switchDIP API Reference DIPgetFlash API Module Flash API Summary Flash API Module DescriptionFlash API Reference FLASHchecksumFLASHchecksum Returns checksum of specified Flash data FLASHerase Erases specified segment of Flash memory FLASHeraseFLASHread FLASHreadReads data from Flash address Flashsupport Compile time constant FLASHwriteWrites data to Flash address To write from writeBuffer to pages 1 FLASHwriteLED API Module LED API Summary LED API Module DescriptionLEDon LED API ReferenceLEDon LEDoffToggles specified LED LEDtoggleGlossary Board The BOARD-specific API Module CSL See chip support library DIP The DIP Switches API Module Flash The Flash ROM API Module IRQ Interrupt request see IRQ module ∝ -law companding See compress and expand compand Rtos Real-time operating system Glossary A-9 Dipsupport IndexLedsupport

TMS320C6000 specifications

The Texas Instruments TMS320C6000 series is a family of digital signal processors (DSPs) that has gained significant traction in the field of digital signal processing since its introduction. Leveraging advanced processing technologies, the TMS320C6000 DSPs are particularly recognized for their high-performance capabilities, efficiency, and versatility, making them suitable for a wide variety of applications, including telecommunications, audio and video processing, medical instrumentation, and more.

One of the main features of the TMS320C6000 series is its advanced architecture, which incorporates a superscalar pipeline. This allows for the simultaneous execution of multiple instructions, leading to enhanced processing speeds. The architecture is designed to support both fixed-point and floating-point operations, offering flexibility for different computational requirements. The use of VLIW (Very Long Instruction Word) technology allows the execution of multiple operations in a single instruction cycle, further maximizing performance.

The TMS320C6000 family utilizes high-speed memory architectures, including a sophisticated cache system that minimizes memory access delays. Built-in hardware accelerators for specific functions, such as fast Fourier transforms (FFTs) and filter algorithms, streamline processing tasks that are critical in real-time applications. The DSPs also support a range of data formats, enabling them to handle diverse data types efficiently.

An important aspect of the TMS320C6000 series is its scalability. The family includes a wide range of devices, from low-power processors suitable for portable equipment to high-performance models designed for demanding computation tasks. This scalability ensures that developers can select the appropriate DSP for their specific application requirements.

In terms of power efficiency, the TMS320C6000 processors are designed to deliver high performance with optimized power consumption. This makes them ideal for battery-operated devices where power management is a critical concern. Additionally, TI's software tools, such as Code Composer Studio, provide developers with an integrated development environment that simplifies the design process and enhances productivity.

Lastly, the extensive support for various communication interfaces, including PCI, USB, and Ethernet, allows for seamless integration into existing systems. With a rich ecosystem of hardware and software support, the TMS320C6000 series remains a popular choice for engineers seeking powerful and versatile DSP solutions in modern electronic design.