AnsweredAssumed Answered

[BUG] 32F746GDISCOVERY BSP LCDv

Question asked by SerFabio89 on Aug 6, 2016
Latest reply on Aug 8, 2016 by Nesrine M
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.

Outcomes