void GoDsp ()
{
Uint32 dsp_result [10]; / * DSP result storage variable * /
DSP_WriteData (DSP_RAM_1 | 0, (Uint32 *) 0x6050000, 15);
/ * Transfer data from the work RAM to RAM 1 of the DSP data RAM 15 times * /
DSP_LoadProgram (0, (Uint32 *) 0x6050100, 256);
/ * Transfer data from work RAM to DSP program RAM 256 times * /
DSP_Start (0);
/ * Run the DSP program from 0x00 * /
while (DSP_CheckEnd (& dsp_status) == DSP_NOT_END);
/ * Loop until finished * /
DSP_ReadData (dsp_result, DSP_RAM_2 | 0, 10);
/ * Transfer data 10 times from RAM2 of DSP data RAM to DSP result storage variable * /
......
}