<< return to Pixycam.com

Use of bank and DMA

Hello,

I wonder why I can’t put the image on Bank0 of the SRAM? Because it’s bigger (56ko more).

And i wonder too, why don’t you use the DMA rather than the cortex-M0?

thanks

Hi Phillippe,

I believe SRAM0 is open, so you should be able to use it.

As for using DMA, I wasn’t involved in the design/development of this part of Pixy, but I would speculate that using DMA would then prevent us from processing the run-lengths as fast. The color look-up table is used to determine if a given pixel belongs to a color signature as the pixel data is acquired from the image sensor. So maybe saving the frame data to memory and then retrieving it later for this step would add latency to the process.

I’ll see if I can get clarification for you.

Scott

Where the firmware is load? Is this in the external Flash?

Hi Philippe,

Yes, it resides in flash. The pixyflash program stores it there (while in DFU mode) when received from the USB port.

Scott