Giter Club home page Giter Club logo

Comments (8)

cornway avatar cornway commented on July 23, 2024 1

You're welcome!
Regards.

from stm32cubeh7.

RKOUSTM avatar RKOUSTM commented on July 23, 2024

Hi @cornway,

Thank you for reporting this issue.

In order to allow a better understanding of the problem, could you please describe how you did to detect this issue and how to reproduce it, so that our development teams can give you an answer.

With regards,

from stm32cubeh7.

cornway avatar cornway commented on July 23, 2024

Hi @RKOUSTM , that issue happened during custom project developing.
Project is totally based on Stm32 Cube layers, for my case STR was as following :

Keil MDK IDE, using custom scatter file (used by linker), -O0 -Otime, everything else is default
Mark STACK area as UNINIT in scatter file, any ram region can be used
Build project

In case when produced image size is lower than 130kbytes - no issue present,
otherwise - DSI is configured to fill frame buffer with colour bar, due garbage in VidCfg variable (in uninitialized fields exactly).

So i don't have a STR based on template projects provided with H7 Cube library, but i suppose -
such issue can occur when at least one condition met - STACK should be uninitialized.

Note: for my case the fix was simple - just do DSI_VidCfgTypeDef VidCfg = {0};

Thank, best regards.

from stm32cubeh7.

RKOUSTM avatar RKOUSTM commented on July 23, 2024

Hi @cornway ,

Thank you for your contribution. You request will be forwarded to the development team in charge of BSP driver. I will let you updated once they provide me with their answer. Thank you for your patience and thank you for your message once again.

With regards,

from stm32cubeh7.

RKOUSTM avatar RKOUSTM commented on July 23, 2024

Hi @cornway,

The issue you pointed out has been confirmed, a fix will be implemented and made available in future release. Thank you once again for your contribution.

With regards,

from stm32cubeh7.

RKOUSTM avatar RKOUSTM commented on July 23, 2024

ST Internal Reference: 89424

from stm32cubeh7.

RKOUSTM avatar RKOUSTM commented on July 23, 2024

Hi @cornway,

Thank you for your suggestion and contribution. According to our development teams, the issue should be related to the non-initialization of the FrameBTAAcknowledgeEnable parammeter in VidCfg structure which is declared at the following BSP weak function:

  • __weak HAL_StatusTypeDef MX_DSIHOST_DSI_Init(DSI_HandleTypeDef *hdsi, uint32_t Width, uint32_t Height, uint32_t PixelFormat).

As consequence this field can take any value and can lead to the inspect behavior. A suggested solution for this code below :

VidCfg.LPVerticalBackPorchEnable = DSI_LP_VBP_ENABLE;
VidCfg.LPVerticalSyncActiveEnable = DSI_LP_VSYNC_ENABLE;
if (HAL_DSI_ConfigVideoMode(hdsi, &VidCfg) != HAL_OK)

will be published as soon in the future release looks like the following:

  VidCfg.LPVerticalBackPorchEnable     = DSI_LP_VBP_ENABLE;
  VidCfg.LPVerticalSyncActiveEnable    = DSI_LP_VSYNC_ENABLE;
+  VidCfg.FrameBTAAcknowledgeEnable    = DSI_FBTAA_DISABLE;

  if (HAL_DSI_ConfigVideoMode(hdsi, &VidCfg) != HAL_OK)

Thank you again for your contribution.

With regards,

from stm32cubeh7.

RKOUSTM avatar RKOUSTM commented on July 23, 2024

Hi @cornway,

I hope you are fine. The issue you reported has been fixed in the frame of version v1.9.0 of the STM32CubeH7 published recently on GitHub.

Thank you again for having reported.

With regards,

from stm32cubeh7.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.