Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Discussion Groups | Analog Devices DSPs | How can i Juge PPI Transfer

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

How can i Juge PPI Transfer - xzh_...@163.com - Oct 31 21:22:35 2006



  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.



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )