AnsweredAssumed Answered

Wrong color camera and slow LTDC

Question asked by chuev.vladimir on Sep 10, 2015
Latest reply on Sep 11, 2015 by chuev.vladimir
Excuse my English, I am using Google translator.

I use STM32F7. I have two problems.

1) The colors of the camera are not displayed correctly, here are some photos of my problem:

[[this link/image has been flagged as malicious by our security scan software and has been deleted]]

2) The display is updated slowly.
But the picture is displayed quickly if it is one, and there is a delay:


// ------ fast
displayPosL1(320, 240, 0, 0);
Camera_SnapshotStart();
HAL_Delay(200);
displayBackgroundL1((uint32_t)&cameraImage);
// ------



// ------ slowly:
displayPosL1(320, 240, 0, 0);
Camera_SnapshotStart();
HAL_Delay(100);
displayBackgroundL1((uint32_t)&cameraImage);
// ------
    
    
// slowly:
while(1){
    displayPosL1(320, 240, 0, 0);
    Camera_SnapshotStart();
    HAL_Delay(100);
    displayBackgroundL1((uint32_t)&cameraImage); // Quickly the first time only
    HAL_Delay(1000);
    // ------
};
// ------    
    
    
Videos:
fast - https://youtu.be/sHMj33K9PFE
slowly - https://youtu.be/20vrmiVyM-M

Outcomes