2013-01-23 11:05 PM
Hi,
I am using STM32F4 discovery board and ported STM32_Eval DCMI(From OV2640)example to work with OV3640.I used OV3640 to grab RGB image using settings from library QVGA setting. I could get image using my ported firmware and can see it in Irfanview(although looks very weird).I am using same firmware with modified register setting(as per arducam library) for OV5642 module but somehow I am unable to get the image. I am getting DCMI_IT_FRAME interrupt but I think it is wrong because I am not getting any DMA interrupt which I think I should get. I can read OV5642 chipid using I2C interface correctly, Also I can read/write register correctly.I am using 8MHz STM32F4 clock output(MCO1) to drive OV5642 clock.Does any one have idea why I am not getting any DMA interrupt? ST peripheral library have register setting for OV2640 and OV9655 module. Where can i get similar register setting for OV3640/OV5642 module?Regards,Mahesh #stm32f4 #ov5640 #ov5642 #dcmi #dcmi #stm32f4discovery #dma #duplicate #hijack2013-01-24 08:13 AM
Where can i get similar register setting for OV3640/OV5642 module?
Presumably from the vendor, or via the data sheet. Randomly pasting code from Google doesn't seem to be a very sound engineering practice. It's hard to critique code, or suggest failure modes when it's not posted for review.2013-02-08 10:22 PM
Hi clive,
I am in contact with manufacturer now and getting register setting for OV5640 module. I took register setting from Arducam library since I bought module from them and contacting manufacturer was little time consuming process.Right now I interfaced STM32F4 discovery board with OV5640 module and able to capture QVGA and QQVGA JPEG image. I am using DCMI and DMA.Strange thing is I am not receiving any DMA interrupt during capture process. should I get any interrupt?I used the same firmware to capture VGA JPEG image with modified registered setting but it didn't work in the same way.Will you please provide me your email so that I can post firmware to you..or if another way you know on forum through which I can post it to you.I get to know that ST team has OV3640 based example to capture JPEG image. I am looking for that.Will you please help me on this?Regards,Mahesh2013-05-10 07:00 PM
2014-03-10 04:15 AM
2014-03-18 07:41 PM
2014-06-05 05:45 AM
I'm using a fpga to control ov5642 camera. I've managed to get access to the registers by i2c protocol and set some of their values:
register value
0x3017 0x7f
0x3018 0xfc
with this, i'm enabling the outputs, both data and syncronising ones. My problem is that while i'm able to get vsync, pclk and href signals by doing this, i can't get any signal at the data outputs.
could someone help me, please?
Fernando
2014-06-05 11:05 AM
Also posted as a separate thread:
https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Discovery/ov5642,%20problem%20with%20data%20signal¤tviews=92024-03-25 05:59 AM - edited 2024-03-25 06:02 AM
Hello, you say that you can get images on LCD using Stm32f4 and Ov5642. I also want to do a study on this subject, but I have not been successful yet. Can you give information about how you did this? @zhaocandut
2024-03-25 08:26 AM
Hello @Sule_Akcay ,
This thread is very old. I invite you to start a new topic—you're more likely to receive a quick response.