Skip to main content
Egord.1
Visitor II
July 28, 2022
Question

Pink and green pictures in OV5640

  • July 28, 2022
  • 1 reply
  • 960 views

Hi everyone

Im tryng to capture RAW RGB pictures with ov5640 but all i get is pink and green ones. I asume im geting YUV pictures despite the configuration of format related registers is:

format control (0x4300) = 0x00 (RAW, BGBG... / GRGR...)

format mux control(0x501F)= 0x01 (ISP RGB)

What am i missing?

Thank you in advance

This topic has been closed for replies.

1 reply

KDJEM.1
ST Technical Moderator
August 19, 2022

Hi @Egord.1​ ,

If you refer to this Application Note AN5020 and precisely Section 3.6, you can conclude that the DCMI supports the following data formats:

  • 8-bit progressive video: either monochrome or raw Bayer
  • YCbCr 4:2:2 progressive video
  • RGB565 progressive video
  • compressed data (JPEG).

Is it possible for you to provide a few more details for STM32 MCU.

Also, do you use an example of STM32 Cube MCU package?

Thanks

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.