TouchGFX v 4.24 Custom board integration
Hello,
I am working on project with:
- STM34F405RG6 board and TFT Display GC9307 driver
- using CubeMX V6.12, Keil uVision v5.40 (ArmClang v6.22), and TouchGFX v4.24
- LCD Driver working library used: https://github.com/Floyd-Fish/ST7789-STM32/blob/master/README.md
- using SPI communication, Half Duplex Master
- Framebuffer strategies: Partial Frame buffer
First, I tried test function in driver above with my board and working just fine displaying colors, fonts, and images. then I want to run my board with 100MHz clock and using CRC (because it's necessary for TouchGFX).
Second, I tried change the configuration, using 100MHz Clock and CRC, my board displaying test function just fine
Third, I Added TouchGFX through CubeMX without Changing any configuration, before adjusting the driver I want to check is the previous LCD driver working. so I make blank function of:
void touchgfxDisplayDriverTransmitBlock(uint8_t* pixels, uint16_t x, uint16_t y, uint16_t w, uint16_t h);
uint32_t touchgfxDisplayDriverTransmitActive(void);
I can build the program without error, after that I commented out TouchGFX's Include, Init, and process function.
I can build the code and download to flash memory successfully, but my display not showing anything, just black screen with backlight. (same goes if I'm not commented out TouchGFX's function)
I have tried execute the program with single-step in debug mode, and I don't get stuck ini any loop, when reach the test function, my board displaying the function just fine. but if I reset the board and run the program, the display going black with backlight again. (same goes if I'm not commented out TouchGFX's function)
Does anyone know what happened? I have tried lower my SPI clock from 100MHz, 50MHz and 20 MHz, but my display still not showing anything.
Thank you in advance!
edit: I juts found out that my code stuck in Reset_Handler sometime, after resetting debugger or cancel execute progress, my program get out from the loop and get to memory shown in the disassembly window. I still not understand what happened here, please help me!



