cancel
Showing results for 
Search instead for 
Did you mean: 

[BUG] 32F746GDISCOVERY BSP LCDv

angeletti2
Associate II
Posted on August 06, 2016 at 19:51

I'm not sure that this is the right place to signal a bug. However, I am working with the LCD embedded in the 32F746Discovery board. I noticed a strange behavior during experimentation with scrolling effects and after some debugging, it seems to be related to the function ''BSP_LCD_LayerDefaultInit'' in ''stm32746g_discovery_lcd.c'' file (inside BSP ->STM32746G-Discovery directory.

The wrong code is:

/* Layer Init */
layer_cfg.WindowX0 = 0;
layer_cfg.WindowX1 = BSP_LCD_GetXSize();
layer_cfg.WindowY0 = 0;
layer_cfg.WindowY1 = BSP_LCD_GetYSize();

that I modified in:

/* Layer Init */
layer_cfg.WindowX0 = 0;
layer_cfg.WindowX1 = BSP_LCD_GetXSize()-1;
layer_cfg.WindowY0 = 0;
layer_cfg.WindowY1 = BSP_LCD_GetYSize()-1;

I solved the anomaly in this way, but I would like to have feedback from anyone that noticed the same behavior.
1 REPLY 1
Nesrine M_O
Lead II
Posted on August 08, 2016 at 13:04

Hi SerFabio89,

“ I noticed a strange behavior during experimentation with scrolling effects “

Could you please provide more explanation on your case, what kind of issue have you faced? 

-Syrine-