This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OVeRflow FLaG DMA on Concerto dual

Hello, I'm using delfino dual and I have this strange problem:

I'm using DMA to transfer ADC -D samples on EOC1 triggered by TIMER1

TIMER is set to 110kHz, ADC is 12-bit single, internal ref,

DMA transfer ADCRESULT1 16 bit data on 0xD000 global shared RAM GS1.

DMA goes to OVRFLG and I don't understand, I don't use DMA interrupt.

Below the code.

EALLOW;
	CpuSysRegs.PCLKCR0.bit.DMA = 1;
	EDIS;
	DMAInitialize();

	EALLOW;

	//page 1232 of SPRUHM8B–December 2013–Revised August 2014
	AdcdRegs.ADCCTL2.bit.PRESCALE	= 6; //set ADCCLK divider to /4
	AdcdRegs.ADCCTL2.bit.RESOLUTION	= 0; //12-bit
	AdcdRegs.ADCCTL2.bit.SIGNALMODE	= 0; //single ended

	//page 1231 of ""
	AdcdRegs.ADCCTL1.bit.INTPULSEPOS = 1; //interrupt at the end of conversion
	AdcdRegs.ADCCTL1.bit.ADCPWDNZ	= 1; //power up

	//delay for 1ms to allow ADC time to power up
	DELAY_US(1000);

	EDIS;

	EALLOW;

	//page 1271 of SPRUHM8B–December 2013–Revised August 2014
	AdcdRegs.ADCSOC1CTL.bit.CHSEL	= CHSEL;
	AdcdRegs.ADCSOC1CTL.bit.ACQPS	= (ACQPS==0)?Adc_getMinACQPS(pAdc):ACQPS;
	AdcdRegs.ADCSOC1CTL.bit.TRIGSEL	= TRIGSEL;

	EDIS;

EALLOW;

	//page 1241 of SPRUHM8B–December 2013–Revised August 2014
	AdcdRegs.ADCINTSEL1N2.bit.INT1CONT	= 1;	//auto-clear interrupt (continuous)
	AdcdRegs.ADCINTSEL1N2.bit.INT1SEL	= EOCx;	//EOCx trigger for ADCINT1
	AdcdRegs.ADCINTSEL1N2.bit.INT1E		= 1;	//enable

	EDIS;

		DMACH1AddrConfig(buf_CorrenteFilamento,&AdcdResultRegs.ADCRESULT1);
		DMACH1BurstConfig(0/*one word burst*/,0/*source no address change*/,1/*destination no address change*/);
		DMACH1TransferConfig(sizeof(buf_CorrenteFilamento)-1,0/*sorce no address change*/,0/*destination one address change*/);
	    DMACH1ModeConfig(DMA_ADCDINT1,PERINT_DISABLE,ONESHOT_DISABLE,CONT_DISABLE,SYNC_DISABLE,SYNC_SRC,OVRFLOW_DISABLE,SIXTEEN_BIT,CHINT_END,CHINT_DISABLE);
StartDMACH1();