Take the 2-minute tour ×
Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. It's 100% free, no registration required.

Could one use the Arduino Due to control camera module like OV5642 and send the data to spi device? My project is to capture image with OV5642 and then to send the image data(RGB565) to other device via spi. For this STM32 must be enough, but I'd be happy if I can use the arduino IDE. Because it is much easier to program.

Could you please let me know, if you can use the Due for this task?

share|improve this question
    
The DUE doesn't have lots of memory. Depending on what you want to do, that might also be a constraint. You should detail more what you want to do. –  Igor Stoppa Jul 24 at 8:57
    
What I want to do is to take a bayer-raw image data from OV5642 camera module and then send the data to beagle bone black or whatever via spi. If it is needed, I can use frame buffer or RAM. –  SD11 Jul 24 at 12:05
    
Why not connect the camera directly to the BBB? –  Gerben Jul 24 at 14:27
    
    
yep, the arduino seems to be totally redundant in this scenario. –  Igor Stoppa Jul 24 at 15:02

1 Answer 1

You are still not giving the full picture, pun intended.

I'll give you an example of what sort of info is missing.

For example, what's the frame rate? What's the color depth of the sensor? If you look at the SAM3x TRM, it says that the SPI is clocked at max 65MHz.

So, the (simplified) math would say:

24bit/pixel * 5Mpixel / 65MHz = 1.846 seconds

And that doesn't even account for acquisition time, so if you do not have fully working DMA on both sides, it's probably even worse. And it will be worse, because you cannot stuff in RAM in one go the entire image.

But maybe that's good enough for you, however it's not possible to say because of the missing info.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.