AD535_writeReg

AD535_writeHwi

Writes value to input of DAC

Function

 

void AD535_writeHwi(

 

 

AD535_Handle

hAD535,

 

 

int val

 

 

 

);

 

 

Arguments

 

hAD535

Handle to codec channel, see AD535_open()

 

 

val

Value to be written to DAC.

Return Value

 

none

 

 

Description

 

Writes value to the input of the DAC. Unlike the AD535_write API, it

 

 

does not use polling to establish that the McBSP is ready to write another

 

 

sample. Rather, it requires the McBSP to already be ready. In other words,

 

 

the AD535_writeHwi is for use within an Interrupt Service Routine. The

 

 

face that you arrived at an McBSP transmit ISR signifies that the McBSP

 

 

is ready with another sample.

Example

 

/* The function is included in the ISR associated to

 

 

McBSP receive event XEVT */

 

 

void AD535_writeIsr(){

 

 

Uint val = 0x0066;

 

 

AD535_writeHwi(hAD535,val);

 

}

 

 

 

Writes value to specified control register

AD535_writeReg

Function

 

void AD535_writeReg(

 

 

AD535_Handle

hAD535,

 

 

AD535_Reg

 

ad535Register,

 

 

Uint32

 

val

 

);

 

 

Arguments

 

hAD535

 

Handle to codec channel, see AD535_open()

 

 

ad535Register

 

Control register enumeration:

 

 

 

 

- AD535_REG_CTRL0

 

 

 

 

- AD535_REG_CTRL1

 

 

 

 

- AD535_REG_CTRL2

 

 

 

 

- AD535_REG_CTRL3

 

 

 

 

- AD535_REG_CTRL4

 

 

 

 

- AD535_REG_CTRL5

 

 

val

 

Value to be written to specified register

Return Value

 

none

 

 

AD535 API Module

2-17

Page 29
Image 29
Texas Instruments TMS320C6000 manual AD535writeReg, AD535writeHwi, Writes value to specified control register

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.