HARDWARE ManualSCSP User's Manual
BackForward
SCSP User's Manual

Chapter 3 SCSP Function


■ 3.1 Interface

SCSP has two built-in CPU (main CPU and sound CPU) interfaces.
The priority is higher on the main CPU interface, so the processing speed of the sound CPU depends on the operation of the main CPU.

● Sound CPU interface
A sound CPU interface is a block that specializes in functions so that a sound CPU can be connected. By providing this interface, the sound CPU can be connected to the SCSP without any external circuit.
The sound CPU program resides in sound memory. Therefore, all CPU programs are located in the address space of the sound CPU.

● Main CPU interface
The access between the interfaces with the main CPU is shown in Figure 3.1.

Figure 3.1 Access overview

The interface starts when the select signal (MCCSN) from the main CPU falls, and ends when the select signal rises. Also, if "1" is output to the ready signal (MCRDYN) to the main CPU, the select signal (MCCSN) from the main CPU and the data bus (MCD [7: 0]) of the main CPU do not change.

● Precautions when interface with the main CPU

■ 3.2 Memory access control

When accessing sound memory from SCSP, the following priorities are maintained.

  1. PCM data read by PCM sound source, access by DSP
  2. DRAM refresh cycle
  3. DMA transfer
  4. Access by main CPU
  5. Access by sound CPU

If there are high-priority access requests, the low-priority access requests are weighted. In addition, the determination of which device memory access is permitted for the device requesting memory access (PCM sound source section, DSP section, main CPU, sound CPU, DMA, etc.) is based on the fact that memory access is actually performed. Since it was done before, no higher ranking access request will occur while executing a lower ranking access request.

Figure 3.2 Memory access priority

SCSP / Sound CPU performance is determined by the memory cycle allocation.
The memory cycle is performed 128 times between 1 sample (1 / 44.1K ≒ 22.68 μsec), and these 128 times are distributed to each device. Since the number of CPU accesses varies depending on the application, there is no best way to access memory, but please note the following points.

● Notes on memory access

BackForward
HARDWARE ManualSCSP User's Manual
Copyright SEGA ENTERPRISES, LTD., 1997