Motorola DSP56301 user manual Example 6-5. Code for Setting the Csid

Models: DSP56301

1 372
Download 372 pages 304 b
Page 190
Image 190

Host-Side Programming Model

Use the following procedure for writing to the CSID:

1.Power up the DSP56301.

The default CSID value is $00000000. The HI32 is in the Personal Software Reset state (HM = $0) and responds to memory and configuration space PCI transactions with a retry event.

2.Boot the DSP56301through the EPROM or SCI.

a. The program downloaded to the DSP56301 should do the following:

Enter the Self-Configuration mode (HM = $5) and write the CSID. The HI32 still responds to memory and configuration space PCI transactions with a retry event.

Optional: set the PCTL value.

This enables the DSP56301 to run from the low-frequency internal clock.

Enter the Personal Software Reset state (HM = $0).

Enter PCI mode (HM = $1).

Now a PCI master can access the DSP56301 PCI configuration space.

Optional: Set the mode bits in the OMR to MC:MB:MA = 100 and jump to the DSP56301 bootstrap ROM start address $FF0000 for further program download from the HI32 in the PCI mode.

Example 6-5. Code for Setting the CSID

 

move#0, x0

; set constant

movep

#>$500000, x:M_DCTR

; Set Self-Configuration mode

rep

#4

 

movep

X0, x:M_DPAR

; set register pointer to SIDR/DVID

movep

#>$012345, x:M_DPMC

; set SIDR value to $2345

movep

#>$6789ab, x:M_DPAR

; set SVID value to $89ab and write SIDR/SVID

movep

x0, x:M_DCTR

; personal software reset

movep

#$100000, x:M_DCTR

; set PCI mode

Note: Also see Example 6-3on page 6-17.

6-72

DSP56301 User’s Manual

Page 190
Image 190
Motorola DSP56301 user manual Example 6-5. Code for Setting the Csid

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.