Comments (8)
You're welcome!
Regards.
from stm32cubeh7.
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.
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.
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.
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.
ST Internal Reference: 89424
from stm32cubeh7.
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 :
STM32CubeH7/Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_lcd.c
Lines 747 to 750 in 79196b0
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.
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)
- Possible Duplicate of Issue 99 on the F7 Repository HOT 1
- USB composite CDC-CustomHID device problem, one of I/F hangs or data corruption occurs HOT 7
- STM32H7B3I-DK PLL3 VCO output exceeds 560MHz limit HOT 3
- "BSP" example for STM32H747I-DISCO is missing in the repo HOT 1
- IWDG Max timeout value
- H7B3: USB with DMA generates many interrupts HOT 1
- Configuration register SYSCFG_PMCR set wrong value when config pins like PC3_C as GPIO HOT 2
- STM32H725 and FreeRTOS doesn't generate timer IRQ correctly. HOT 3
- Wrong implementation of HAL_RCC_GetSysClockFreq, LL_RCC_CalcPLLClockFreq as well as SystemCoreClockUpdate in the examples HOT 1
- Missing WIFI, Clock and Weather Example in Latest Update HOT 1
- initialisation setting for USB_OTG_HS as a disable HOST fails to return from init when using FW_H7 v1.11.2. (not so with v1.11.1 HOT 8
- Unexpected Closed Socket Error in AT_ExecuteCommand when Joining a a Network after Update HOT 4
- register storage class specifier is deprecated in C++17 HOT 4
- A bug in the HAL_I2C_IsDeviceReady function in version 1.11.3 HOT 2
- v1.11.2 changes to lan8742.c result in hardfaults HOT 6
- FDCAN FDCAN_RxHeaderTypeDef.data_length is always 0 HOT 6
- FDCAN HAL_FDCAN_ConfigGlobalFilter() doesnt filter HOT 4
- Generate the ADC code for the STM32H750 using CUBEMXV6.11.1, where the Oversampling Ratio must use ADC3_OVERSAMPLING_RATIO_XXX, but an error occurs when compiling. HOT 1
- JPEG utils not setting ConvertedDataCount variable in YCbCr to RGB functions HOT 1
- Stm32H723 Nucleo LwIP_HTTP_Server_Socket_RTOS project gets constant RBUs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stm32cubeh7.