Motorola DSP56301 Timer Compare Flag, Timer Overflow Flag, Prescaler Clock Enable, Data Output

Models: DSP56301

1 372
Download 372 pages 304 b
Page 291
Image 291

Triple Timer Module Programming Model

Table 9-3.Timer Control/Status Register (TCSR) Bit Definitions (Continued)

Bit Number

Bit Name

Reset Value

Description

 

 

 

 

 

 

 

 

21

TCF

0

Timer Compare Flag

 

 

 

Indicate that the event count is complete. In timer, PWM, and watchdog

 

 

 

modes, the TCF bit is set after (M – N + 1) events are counted. (M is the

 

 

 

value in the compare register and N is the TLR value.) In measurement

 

 

 

modes, the TCF bit is set when the measurement completes. Writing a one

 

 

 

to the TCF bit clears it. A zero written to the TCF bit has no effect. The bit

 

 

 

is also cleared when the timer compare interrupt is serviced. The TCF bit

 

 

 

is cleared by a hardware RESET signal, a software RESET instruction, the

 

 

 

STOP instruction, or by clearing the TCSR[TE] bit to disable the timer.

 

 

 

NOTE: The TOF and TCF bits are cleared by a 1 written to the specific bit.

 

 

 

To ensure that only the target bit is cleared, do not use the BSET

 

 

 

command. The proper way to clear these bits is to write 1, using a MOVEP

 

 

 

instruction, to the flag to be cleared and 0 to the other flag.

 

 

 

 

20

TOF

0

Timer Overflow Flag

 

 

 

Indicates that a counter overflow has occurred. This bit is cleared by

 

 

 

writing a one to the TOF bit. Writing a zero to TOF has no effect. The bit is

 

 

 

also cleared when the timer overflow interrupt is serviced. The TOF bit is

 

 

 

cleared by a hardware RESET signal, a software RESET instruction, the

 

 

 

STOP instruction, or by clearing the TCSR[TE] bit to disable the timer.

 

 

 

 

19–16

 

0

Reserved. Write to zero for future compatibility.

 

 

 

 

15

PCE

0

Prescaler Clock Enable

 

 

 

Selects the prescaler clock as the timer source clock. When PCE is

 

 

 

cleared, the timer uses either an internal (CLK/2) signal or an external

 

 

 

(TIO) signal as its source clock. When PCE is set, the prescaler output is

 

 

 

the timer source clock for the counter, regardless of the timer operating

 

 

 

mode. To ensure proper operation, the PCE bit is changed only when the

 

 

 

timer is disabled. The PS[1–0] bits of the TPLR determine which source

 

 

 

clock is used for the prescaler. A timer can be clocked by a prescaler clock

 

 

 

that is derived from the TIO of another timer.

 

 

 

 

14

 

0

Reserved. Write to zero for future compatibility.

 

 

 

 

13

DO

0

Data Output

 

 

 

The source of the TIO value when it is a data output signal. The TIO signal

 

 

 

is a data output when the GPIO mode is enabled and DIR is set. A value

 

 

 

written to the DO bit is written to the TIO signal. If the INV bit is set, the

 

 

 

value of the DO bit is inverted when written to the TIO signal. When the

 

 

 

INV bit is cleared, the value of the DO bit is written directly to the TIO

 

 

 

signal. When GPIO mode is disabled, writing to the DO bit has no effect.

 

 

 

 

12

DI

0

Data Input

 

 

 

Reflects the value of the TIO signal. If the INV bit is set, the value of the

 

 

 

TIO signal is inverted before it is written to the DI bit. If the INV bit is

 

 

 

cleared, the value of the TIO signal is written directly to the DI bit.

 

 

 

 

Triple Timer Module

9-29

Page 291
Image 291
Motorola DSP56301 user manual Timer Compare Flag, Timer Overflow Flag, Prescaler Clock Enable, Data Output, Data Input

DSP56301 specifications

The Motorola DSP56301 is a highly efficient digital signal processor, specifically engineered for real-time audio and speech processing applications. This DSP is part of Motorola's renowned DSP56300 family, which is recognized for its innovative features and outstanding performance in the realm of digital signal processing.

One of the main features of the DSP56301 is its ability to handle complex computations at high speeds. With a maximum clock frequency of 66 MHz, it delivers fast performance, enabling it to process audio signals in real time. The chip is built on a 24-bit architecture, which allows for high-resolution audio processing. This is particularly beneficial in applications such as telecommunications, consumer audio devices, and professional audio equipment, where precision is paramount.

The DSP56301 boasts a comprehensive instruction set that includes efficient mathematical operations, which are essential for digital filters and audio effects processing. One of the key innovations of this device is its dual data path architecture, which permits simultaneous processing of multiple data streams. This feature significantly enhances the device's throughput and responsiveness, making it suitable for demanding applications such as voice recognition and synthesis.

In terms of memory regions, the DSP56301 includes several on-chip memory categories, such as program memory, data memory, and a specialized memory for coefficients. The architecture's support for external memory expansion further increases its versatility, allowing designers to tailor systems to their specific requirements.

The DSP56301 implements advanced features such as a powerful on-chip hardware multiplier and accumulator, simplifying complex mathematical tasks and accelerating the execution of algorithms. Its flexible interrupt system enhances its capability to respond to time-sensitive operations, while the integrated serial ports facilitate efficient data communication with external devices.

Power consumption is also a vital characteristic of the DSP56301. It is designed with energy efficiency in mind, allowing for extended operation in battery-powered devices. The chip’s low power requirements are particularly advantageous in portable audio devices and other applications where energy conservation is crucial.

In conclusion, the Motorola DSP56301 is an exceptional digital signal processor that combines high processing power, flexibility, and efficiency. Its main features, advanced technologies, and robust architecture make it a top choice for developers seeking to create sophisticated audio and signal processing systems. With its enduring legacy in the industry, the DSP56301 continues to be relevant in a variety of modern applications, ensuring it remains a valuable tool for engineers and designers.