cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 DCMI wrong image

Chuev.Vladimir
Associate III

Once upon a time I did a project for displaying images from a camera OV5640 and STM32H743XIH6

Then I still used TrueSTUDIO and the project was created with version HAL 1.3.0

Now I have successfully translated it to STM32CubeIDE (The picture is still good)

-----

I have now re-generated the project using CubeMX with HAL version 1.9.0

And I get the wrong image (I haven't changed the periphery settings)

----

After that, I generated a project using CubeMX with version HAL 1.3.0

And I get the wrong image again

----

I think the generated TrueSTUDIO project was somewhat different, I noticed that the CMSYS files are named slightly differently

Perhaps someone has already encountered a similar problem and will understand everything from the photo

I attach 2 photos (good and bad)

I want to say in advance that the matter is not in the inversion of the high and low bytes of RGB565 (In this case, the picture turns green)

I have an assumption that the picture is shifted by 1 byte (but I'm not sure)

0693W000008xAeEQAU.jpg0693W000008xAi8QAE.jpg 

0 REPLIES 0