zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.6k stars 6.49k forks source link

drivers: video: STM32 Digital camera interface (DCMI) driver #70674

Open CharlesDias opened 6 months ago

CharlesDias commented 6 months ago

Is your feature request related to a problem? Please describe. I'm trying to use the OV2640 camera module on the NUCLEO-H743ZI2 board. However, the video driver for the DCMI peripheral doesn't exist (the driver for OV2640 does exist).

Describe the solution you'd like Development of the DCMI video driver to capture the images from a camera module.

TODO

https://github.com/zephyrproject-rtos/zephyr/assets/27859307/ce03600a-ba71-424c-a5d5-f006a50a9afd

/cc @kartben @erwango @FRASTM

github-actions[bot] commented 6 months ago

Hi @CharlesDias! We appreciate you submitting your first issue for our open-source project. 🌟

Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙

adityaganesh2k commented 5 months ago

Hey @CharlesDias I was going through your changes to add the DCMI driver . Is there a possibility that we can add camera support also along with video support in this PR itself . I would like to contribute to that as I am also currently working on DCMI support for OV2640 by myself

CharlesDias commented 5 months ago

Hi, @adityaganesh2k. Glad to know there's someone working on this too! I can open the PR as a draft to get help from you and others. What do you think?

Which board are you using?

adityaganesh commented 5 months ago

Yeah that would be great i am working with a Weact Studio board based on stm32h750vbt6 . Link for the board:-https://evelta.com/weact-studio-stm32h750-development-board/. I actually made the same changes as your commit on a branch of mine but my branch is forked from v3.6 of zephyr where iam getting a compilation error . My board files and the changes to add dcmi looks fine to me . If you could share me your email id we can correspond there

CharlesDias commented 5 months ago

Hi, @adityaganesh.

Sure. My e-mail is charlesdias.cd@outlook.com. Also, if you prefer, send me a message on LinkedIn https://www.linkedin.com/in/charles-dias-m-sc-6ab50527/

I opened the PR https://github.com/zephyrproject-rtos/zephyr/pull/71462 related to the STM32 DCMI driver. I tested with the Weact Studio STM32H743 board and worked fine.

erwango commented 3 months ago

@CharlesDias Do you think this point can be closed ?

CharlesDias commented 3 months ago

@CharlesDias Do you think this point can be closed ?

Hi, @erwango. The sample application using the DCMI driver hasn't been merged yet, PR #71463 . Is this a reason not to close the issue? What do you think?

erwango commented 3 months ago

ok, sure. Maybe you want to update the TODO list above then.