Texas Instruments TMS320C6000 manual AD535readHwi, AD535readReg

Page 26

AD535_read

AD535_read

Returns value of ouput from ADC

Function

 

int AD535_read(

 

 

AD535_Handle hAD535

 

);

 

Arguments

 

hAD535

Handle to codec channel, see AD535_open()

Return Value

 

int

Value returned from output of ADC.

Description

 

Returns the value of the ouput from the ADC.

Example

 

int val;

 

 

 

val = AD535_read(hAD535);

AD535_readHwi

Display Code at Selected Address

Function

 

int AD535_readHwi(

 

 

AD535_Handle hAD535

 

);

 

Arguments

 

hAD535

Handle to codec channel, see AD535_open()

Return Value

 

int

Value returned from output of ADC.

Description

 

Allows the user to read the output value of ADC. Unlike the AD535_read

 

 

API, it does not use polling to establish that the McBSP is ready for

 

 

another sample. Rather, it requires the McBSP to always be ready. In

 

 

other words, the AD535_readHwi routine is for use with an Interrupt

 

 

Service Routine. The fact that you arrived at an McBSP receive ISR

 

 

signifies that the McBSP is ready with another sample.

Example

 

/* The function is included in the ISR associated to

 

 

McBSP receive event REVT */

 

 

void AD535_readIsr(){

 

 

Uint16 val;

 

 

 

val = AD535_readHwi(hAD535);

 

}

 

AD535_readReg

Returns value of specified control register

Function

 

Uint32 AD535_readReg(

 

 

AD535_Handle

hAD535,

 

 

AD535_Reg

ad535Register

 

);

 

Arguments

 

hAD535

Handle to codec channel, see AD535_open()

2-14

Image 26
Contents TMS320C6000 DSK Board Support Library API User’s Guide Important Notice Read This First About This ManualNotational Conventions How to Use This Manual Contents DIP API Module Tables BSL Overview BSL Introduction How The BSL Benefits YouBSL API Module Support BSL API ModulesBSL Modules and Include Files BSL API Module Support for 6711 DSK BSL Support Library Name and Symbol ConventionsUsing BSL Handles Compiler Options BSL Project SettingsUser’s Program Setting Linker OptionsAD535 API Module AD535 API Module Description AD535 API SummaryAD535 API Module AD535 API Reference AD535ConfigAD535Config AD535closeAD553freeMcbsp Sets up AD535 using configuration structureSets the Free bit of an McBSP serial port to AD553freeMcbsp Allocates codec channel Returns McBSP HandleAD535Id AD535Id Codec of C6711DSK use the predfined pointerSets AD535’s input gain AD535inGainAD535inGain AD535micGainAD535modifyReg AD535modifyReg Modifies specified control registerOpens codec channel AD535openAD535open Sets AD535’s output gain AD535powerDown Enables AD535’s power-down modeAD535outGain AD535readHwi AD535readAD535read AD535readRegAD535readReg AD535write AD535resetAD535reset Writes value to specified control register AD535writeRegAD535writeHwi AD535writeRegAD535writeReg Board API Module Board API Module Description Board API SummaryBoard API Reference Boardsupport Compile time constantBOARDwriteReg BSL API Module BSL API Module Description BSL API FunctionBSLinit BSL API ReferenceBSLinit DIP API Module DIP API Module Description DIP API SummaryDIPget Returns current value of specified DIP switchDIP API Reference Compile time constantFlash API Module Flash API Module Description Flash API SummaryFLASHchecksum Returns checksum of specified Flash data Flash API ReferenceFLASHchecksum FLASHerase FLASHerase Erases specified segment of Flash memoryReads data from Flash address FLASHreadFLASHread Writes data to Flash address Flashsupport Compile time constantFLASHwrite FLASHwrite To write from writeBuffer to pages 1LED API Module LED API Module Description LED API SummaryLEDoff LED API ReferenceLEDon LEDonLEDtoggle Toggles specified LEDGlossary 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 Index DipsupportLedsupport

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.