cancel
Showing results for 
Search instead for 
Did you mean: 

Slide screen transition problem

VKost.3
Associate II

I created two screens and did the actions to change the screen. But changing the screen does not work correctly.

Added an extra buffer for animation

uint16_t buf_ram [160*128];

using namespace touchgfx;

namespace {

  LOCATION_PRAGMA("TouchGFX_Framebuffer")

  uint32_t frameBuf[(160 * 128 * 2 + 3) / 4 * 2] LOCATION_ATTRIBUTE("TouchGFX_Framebuffer");

}

void TouchGFXGeneratedHAL::initialize()

{

  HAL::initialize();

  registerEventListener(*(Application::getInstance()));

  setFrameBufferStartAddresses((void*)frameBuf, (void*)(frameBuf + sizeof(frameBuf)/(sizeof(uint32_t)*2)), (void*)buf_ram);

}

11 REPLIES 11

Created a project for the display of LTDS and the buffer is stored in the sdram. Everything works perfectly. Under the fms and the buffer in the ram does not work.

Gcfsd.1
Associate

Created a venture for the display of LTDS and the buffer is saved in the sdram. Everything works flawlessly with new page. Under the fms and the buffer within the ram does no longer paintings.