Reply by xzh_...@163.com October 31, 20062006-10-31
I'm a new user in dsp.I work at BF532.I USE PPI Get Image From CMOS Sensor.How i kown it 's finished the DMA transfer ,using DMA0_CURR_ADDR or other flag to juge it.
related code as follow:
Init_DMA();
Init_PPI();

/**************************************************************/
/*Enable PPI and DMA*/
/**************************************************************/
*pDMA0_CONFIG = *pDMA0_CONFIG | 0x0001;
ssync();
*pPPI_CONTROL = *pPPI_CONTROL | 0x0001;
ssync();

/**************************************************************/
/*Enable Timer*/
/**************************************************************/
*pTIMER1_CONFIG = 0x0003;
ssync();
*pTIMER2_CONFIG = 0x0003;
ssync();
*pTIMER_ENABLE = 0x0006;
ssync();
Any help will be appreciated.