Return to previous page Return to menu Go to next page

2.3 DSP

■ DSP control from main CPU

The DSP can be controlled from the main CPU. The following DSP control items are possible from the CPU.
 (1) Load DSP program
(2) DSP data access
(3) DSP program execution start
(4) DSP program forced stop 

Load DSP program

To load a DSP program, you can use DSP DMA instructions, but you can also write directly from the main CPU to the DSP program RAM area. Program data can be loaded by controlling from the main CPU in the following order.
 (1) Set bit16 and bit17 of the program control port to 0.
(2) Write the transfer start address to the program RAM address of the same port.
∙ It cannot be set unless the DSP is stopped.
(3) Sequential program data in longword units in the program RAM data port
Write out the data. 

Fig. 2.15 to Fig. 2.17 show the control method from the CPU step by step.

Figure 2.15 Load DSP program Step1


Return to previous page Return to menu Go to next page