DSPRelated.com
Forums

SDRAM is too fast??

Started by Laplace November 16, 2007
Hi!
I'm developing an image processing algorithm for the ADSP21369 and
trying it into de EZ-KIT 21369... I load the image  (640*480 bmp
image) with the Image Viewer into SDRAM and process it directly from
SDRAM.

Trying to do it with the DMA I found that there are no significatively
difference betwen them. That's possible?? Or I'm doing somethimg
wrong??

I measure times like this:
	START_CYCLE_COUNT(start_count);
	 // here my algorithm
	STOP_CYCLE_COUNT(final_count,start_count);
        PRINT_CYCLES("Number of cycles: ",final_count);

Thanks!!
On Nov 16, 4:28 am, Laplace <joselui...@gmail.com> wrote:
> Hi! > I'm developing an image processing algorithm for the ADSP21369 and > trying it into de EZ-KIT 21369... I load the image (640*480 bmp > image) with the Image Viewer into SDRAM and process it directly from > SDRAM. > > Trying to do it with the DMA I found that there are no significatively > difference betwen them. That's possible?? Or I'm doing somethimg > wrong?? > > I measure times like this: > START_CYCLE_COUNT(start_count); > // here my algorithm > STOP_CYCLE_COUNT(final_count,start_count); > PRINT_CYCLES("Number of cycles: ",final_count); > > Thanks!!
Are you processing a block of data while the next block transfers from SDRAM to on-chip memory? If so then so long as your block processing time is longer than the block transfer time, you won't take a hit for the transfer time (except for the first transfer). John