cancel
Showing results for 
Search instead for 
Did you mean: 

Pink and green pictures in OV5640

Egord.1
Associate

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

1 REPLY 1
KDJEM.1
ST Employee

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 Accept as Solution on the reply which solved your issue or answered your question.