Motorola DSP56301 user manual Idle Line Flag, Tdre, Transmitter Empty

Models: DSP56301

1 372
Download 372 pages 304 b
Page 254
Image 254

SCI Programming Model

Table 8-4.SCI Status Register (SSR) Bit Definitions (Continued)

Bit

Bit Name

Reset

Description

Number

Value

 

 

 

 

 

 

 

 

 

 

 

 

4

OR

0

Overrun Error Flag

 

 

 

Set when a byte is ready to be transferred from the receive shift register to the

 

 

 

receive data register (SRX) that is already full (RDRF = 1). The receive shift

 

 

 

register data is not transferred to the SRX. The OR flag indicates that

 

 

 

character(s) in the received data stream may have been lost. The only valid data

 

 

 

is located in the SRX. OR is cleared when the SCI status register is read,

 

 

 

followed by a read of SRX. The OR bit clears the FE and PE bits; that is, overrun

 

 

 

error has higher priority than FE or PE. A hardware RESET signal, a software

 

 

 

RESET instruction, an SCI individual reset, or a STOP instruction clears OR.

 

 

 

 

3

IDLE

0

Idle Line Flag

 

 

 

Set when 10 (or 11) consecutive ones are received. IDLE is cleared by a start-bit

 

 

 

detection. The IDLE status bit represents the status of the receive line. The

 

 

 

transition of IDLE from 0 to 1 can cause an IDLE interrupt (ILIE).

 

 

 

 

2

RDRF

0

Receive Data Register Full

 

 

 

Set when a valid character is transferred to the SCI receive data register from

 

 

 

the SCI receive shift register (regardless of the error bits condition). RDRF is

 

 

 

cleared when the SCI receive data register is read.

 

 

 

 

1

TDRE

1

Transmit Data Register Empty

 

 

 

Set when the SCI transmit data register is empty. When TDRE is set, new data

 

 

 

can be written to one of the SCI transmit data registers (STX) or the transmit

 

 

 

data address register (STXA). TDRE is cleared when the SCI transmit data

 

 

 

register is written. Either a hardware

RESET

signal, a software RESET

 

 

 

instruction, an SCI individual reset, or a STOP instruction sets TDRE.

 

 

 

In Synchronous mode, when the internal SCI clock is in use, there is a delay of

 

 

 

up to 5.5 serial clock cycles between the time that STX is written until TDRE is

 

 

 

set, indicating the data has been transferred from the STX to the transmit shift

 

 

 

register. There is a delay of 2 to 4 serial clock cycles between writing STX and

 

 

 

loading the transmit shift register; in addition, TDRE is set in the middle of

 

 

 

transmitting the second bit. When using an external serial transmit clock, if the

 

 

 

clock stops, the SCI transmitter stops. TDRE is not set until the middle of the

 

 

 

second bit transmitted after the external clock starts. Gating the external clock off

 

 

 

after the first bit has been transmitted delays TDRE indefinitely.

 

 

 

In Asynchronous mode, the TDRE flag is not set immediately after a word is

 

 

 

transferred from the STX or STXA to the transmit shift register nor when the

 

 

 

word first begins to be shifted out. TDRE is set 2 cycles (of the 16 × clock) after

 

 

 

the start bit; that is, 2 (16 × clock) cycles into the transmission time of the first

 

 

 

data bit.

 

 

 

 

0

TRNE

1

Transmitter Empty

 

 

 

This flag bit is set when both the transmit shift register and transmit data register

 

 

 

(STX) are empty, indicating that there is no data in the transmitter. When TRNE

 

 

 

is set, data written to one of the three STX locations or to the transmit data

 

 

 

address register (STXA) is transferred to the transmit shift register and is the first

 

 

 

data transmitted. TRNE is cleared when a write into STX or STXA clears TDRE

 

 

 

or when an idle, preamble, or break is transmitted. When set, TRNE indicates

 

 

 

that the transmitter is empty; therefore, the data written to STX or STXA is

 

 

 

transmitted next. That is, there is no word in the transmit shift register being

 

 

 

transmitted. This procedure is useful when initiating the transfer of a message

 

 

 

(that is, a string of characters).

 

 

 

 

 

 

8-18

DSP56301 User’s Manual

Page 254
Image 254
Motorola DSP56301 user manual Idle Line Flag, Tdre, Transmitter Empty

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.