The screen tearing issue is as below. It looks always appear in the right area:The screen is FMC16 bit parallel port, and the parameter is as below:And the screen has TE signal, the TE Interrupt function is an below: void TouchGFX_TickHandler(uin...
The size of "heap" in my project up to 70+KB in RAM.What are the factors that can affect its size?void touchgfx_init()
{
Bitmap::registerBitmapDatabase(BitmapDatabase::getInstance(), BitmapDatabase::getInstanceSize());
TypedText::registerTexts(&t...
seasoningText.setWideTextAction(touchgfx::WIDE_TEXT_CHARWRAP_DOUBLE_ELLIPSIS);
seasoningText.setLinespacing(10);
seasoningText.setIndentation(5);
seasoningText.resizeHeightToCurrentText(); // When I comment out this line, I can see the newline conten...
Often I call the C function from the hardware in Model::tick() function. But how can I call the function of Model outside.If I add a member variable to get the Instance(this) of Model, is there any risk? I mean if Model writed by Singleton mode.
I see the office usage as follows//read the binary font from a file
FILE* font = fopen("generated/fonts/bin/Font_verdana_20_4bpp.bin", "rb");
if (font)
{
//read data from the file
fread(fontdata, 1, 10000, font);
fclose(font);
//initialize Bi...
Yes, I do not lock DMA to front Porch. I change the "lockDMAToFrontPorch(false);" in TouchGFXGeneratedHAL.cpp, the tearing still alive.And this is the all code of TouchGFXHAL.cpp./**
****************************************************************...
The resolution is 320*170, it has an embedded GRAM right like this:namespace {
// Use the section "TouchGFX_Framebuffer" in the linker to specify the placement of the buffer
LOCATION_PRAGMA("TouchGFX_Framebuffer")
uint32_t frameBuf[(320 *...
I don't know if the FMC related to it.:sad_but_relieved_face: The MCU is H750VBTx, and the white box is the part of my GUI, I write it for observing the tearing phenomenon.
OK, now I find the reason. It seems like the function "resizeHeightToCurrentText" calc the wrong value for the height and It lead to the last line disappear. I repalce the code like this://seasoningText.resizeHeightToCurrentText();
seasoningText.set...
Yes, you are right, but sometimes I want to trigger an action one times. If I use the tick() function, I need maintain two flags to realize it. The touchGFX give the trigger function like 'static_cast<FrontendApplication*>(Application::getInstance())...