Texas Instruments TMS320C6712D General-purpose input/output Gpio, GP7 GP6 GP5 GP4 GP2, Dir

Models: TMS320C6712D

1 102
Download 102 pages 54.97 Kb
Page 53
Image 53

SPRS293A − OCTOBER 2005 − REVISED NOVEMBER 2005

general-purpose input/output (GPIO)

To use the GP[7:4, 2] software-configurable GPIO pins, the GPxEN bits in the GP Enable (GPEN) Register and the GPxDIR bits in the GP Direction (GPDIR) Register must be properly configured.

GPxEN =

1

GP[x] pin is enabled

GPxDIR =

0

GP[x] pin is an input

GPxDIR =

1

GP[x] pin is an output

where “x” represents one of the 7 through 4, or 2 GPIO pins

Figure 9 shows the GPIO enable bits in the GPEN register for the device. To use any of the GPx pins as general-purpose input/output functions, the corresponding GPxEN bit must be set to “1” (enabled). Default values are device-specific, so refer to Figure 9 for the default configuration.

31

 

 

 

 

 

 

 

24

23

 

 

 

 

 

 

 

16

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R-0

 

 

 

 

 

 

 

 

15

14

13

12

 

11

10

9

8

 

6

5

4

 

3

2

1

0

 

7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

GP7

GP6

GP5

GP4

 

 

GP2

 

 

 

 

 

Reserved

 

 

 

EN

EN

EN

EN

 

EN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R/W-0

 

 

 

 

R/W-1

R/W-1

R/W-1

R/W-1

 

R/W-0

R/W-0

R/W-0

R/W-0

Legend: R/W = Readable/Writeable; -n= value after reset, -x = undefined value after reset

Figure 9. GPIO Enable Register (GPEN) [Hex Address: 01B0 0000]

Figure 10 shows the GPIO direction bits in the GPDIR register. This register determines if a given GPIO pin is an input or an output providing the corresponding GPxEN bit is enabled (set to “1”) in the GPEN register. By default, all the GPIO pins are configured as input pins.

31

 

 

 

 

 

 

24

23

 

 

 

 

 

 

 

16

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R-0

 

 

 

 

 

 

 

 

15

14

13

12

 

10

9

8

 

6

5

4

 

3

2

1

0

11

7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

GP7

GP6

GP5

GP4

 

 

GP2

 

 

 

 

 

Reserved

 

 

 

DIR

DIR

DIR

DIR

 

DIR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R/W-0

R/W-0

R/W-0

R/W-0

R/W-0

R/W-0

R/W-0

R/W-0

R/W-0

R/W-0

R/W-0

R/W-0

 

R/W-0

R/W-0

R/W-0

R/W-0

Legend: R/W = Readable/Writeable; -n= value after reset, -x = undefined value after reset

Figure 10. GPIO Direction Register (GPDIR) [Hex Address: 01B0 0004]

For more detailed information on general-purpose inputs/outputs (GPIOs), see the TMS320C6000 DSP General-Purpose Input/Output (GPIO) Reference Guide (literature number SPRU584).

POST OFFICE BOX 1443 HOUSTON, TEXAS 77251−1443

53

Page 53
Image 53
Texas Instruments TMS320C6712D warranty General-purpose input/output Gpio, GP7 GP6 GP5 GP4 GP2, Dir

TMS320C6712D specifications

The Texas Instruments TMS320C6712D is a high-performance, fixed-point digital signal processor (DSP) that belongs to the TMS320C6000 family, well known for its advanced processing capabilities tailored for demanding signal processing applications. Launched in the early 2000s, the C6712D combines high computational power with a rich set of features, making it suitable for a variety of applications such as telecommunications, audio processing, and industrial control systems.

One of the standout characteristics of the TMS320C6712D is its architecture, which is based on a highly efficient VLIW (Very Long Instruction Word) design. This architecture allows the processor to execute multiple instructions in a single clock cycle, significantly increasing performance. The device operates at clock speeds of up to 150 MHz, providing substantial computational throughput that can handle complex algorithms and real-time processing tasks.

Another key feature of the TMS320C6712D is its 32-bit fixed-point processing capabilities, which allows it to perform difficult mathematical computations efficiently. With an instruction set optimized for DSP applications, the processor includes specialized instructions for multiplying and accumulating operations, as well as support for advanced filtering and generation of audio signals.

The C6712D offers an extensive memory architecture, supporting up to 128 MB of external memory via a 32-bit data bus. It features on-chip SRAM, which provides fast access to data and program storage, enhancing the system's overall performance. Additionally, the device includes a powerful set of peripherals, such as dual asynchronous serial ports (UART), I2C interfaces, and DSP-specific interfaces that facilitate connectivity with other components and systems.

Power consumption is another vital aspect of the TMS320C6712D. It incorporates technologies allowing for low-power operation, which is essential for portable and battery-operated devices. The capability to operate in various power modes helps optimize performance while minimizing energy usage.

In conclusion, the Texas Instruments TMS320C6712D is a versatile and powerful DSP that excels in high-performance applications. Its VLIW architecture, fixed-point processing capabilities, extensive memory options, and low power consumption make it an ideal choice for engineers looking to implement complex signal processing tasks efficiently. Whether used in telecommunications, audio processing, or industrial applications, the C6712D remains a reliable and capable solution in the digital signal processing landscape.