2025-05-28 4:31 AM - edited 2025-05-29 11:44 PM
I have created a ui to that i am able to upload on the custom board(STM32H750VBT6) which i can successfully Debugging using IDE but display is empty.I dont know where I am wrong.
I attached the library that I am using below.I have taken library from this GitHub
with this pinout
int main(void)
{
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */
/* MPU Configuration--------------------------------------------------------*/
MPU_Config();
/* MCU Configuration--------------------------------------------------------*/
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
HAL_Init();
/* USER CODE BEGIN Init */
/* USER CODE END Init */
/* Configure the system clock */
SystemClock_Config();
/* USER CODE BEGIN SysInit */
/* USER CODE END SysInit */
/* Initialize all configured peripherals */
MX_GPIO_Init();
MX_DMA_Init();
MX_SPI1_Init();
MX_TIM3_Init();
MX_CRC_Init();
MX_TouchGFX_Init();
/* USER CODE BEGIN 2 */
// SCB_DisableICache();
// SCB_DisableDCache();
Displ_Init(Displ_Orientat_0); // initialize display controller - set orientation parameter as per TouchGFX setup
touchgfxSignalVSync(); // ask display syncronization
Displ_BackLight('I');
/* USER CODE END 2 */
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
{
if(Touch_GotATouch(0))
touchgfxSignalVSync();
/* USER CODE END WHILE */
MX_TouchGFX_Process();
/* USER CODE BEGIN 3 */
HAL_GPIO_WritePin(GPIOE, GPIO_PIN_3,GPIO_PIN_SET);
HAL_Delay(1000);
HAL_GPIO_WritePin(GPIOE, GPIO_PIN_3,GPIO_PIN_RESET);
HAL_Delay(1000);
}
/* USER CODE END 3 */
}
2025-05-29 2:20 AM
@Kai_Satone wrote:costume board
Did you mean custom board - or is this some kind of wearable project?
From the photo, it looks like a commercial board - so a link would help
Plus details of the display, and a schematic of how you have the display connected
How to write your question to maximize your chances to find a solution.
2025-05-29 11:42 PM - edited 2025-05-29 11:42 PM
WeAct Studio STM32H750VBT6-LCD Demo Board:-
https://stm32-base.org/boards/STM32H750VBT6-STM32H7XX-M.html
2.8 inch SPI Screen Module TFT Interface 240 x 320 without Touch:-
https://robu.in/product/2-8-inch-spi-screen-module-tft-interface-240-x-320-without-touch
pin connection:-
DISPL_LED = PA7
TOUCH_CS = PB1
DISPL_RST = PB10
DISPL_DC = PB11
TOUCH_INT = PA12
TOUCH_INT_EXTI_IRQn EXTI15_10_IRQn
DISPL_CS = PA15
DISPL_SCK = PB3
TOUCH_MISO = PB4
DISPL_MOSI = PB5
I attached zip file of the project bellow
2025-06-02 1:42 AM
Hello @Kai_Satone ,
Apparently you have been able to make it work with an STM32F411?
What have you done with the F411? Used the same screen, connections, code and displayed what TouchGFX renders?
Regards,
2025-06-02 3:21 AM
Hello @GaetanGodart ,
Yes, I have successfully used the same screen, connections, and code to display what TouchGFX renders on the STM32F411.
I also tested the same setup with the STM32H750VBT6—same screen, connections, and code. The application runs correctly and can be debugged, but the display does not show any output on the STM32H750VBT6 board.
2025-06-03 4:37 AM
Hello @Kai_Satone ,
Same code for different chip sounds risky. If you have a different mcu, most likely some libraries are different.
Also, you do not mention clock frequency. Using the wrong timings could be the reason why you are not able to transfer data.
Regards,
2025-06-06 5:08 AM - edited 2025-06-10 12:38 AM
I triyed different code with your suggestion and I was able to display TouchGFX graphics but it is distorted.
SPI1
TIM
Clock Configuration
O/P
I try changing above configration but it still the same. I will attach zip file of project below.
2025-06-11 1:30 AM
Hello @Kai_Satone ,
That is a great step forward already!
I see that your asset is placed by default in external flash. Could you try to place it in internal flash to see how it behaves?
Also, could you try to display a box (or another element that doesn't need an asset)?
Regards,
2025-06-12 1:44 AM
I have checked both ways but the internal flash is only 128 KiB and after enabling TouchGFX, the file size is more than the internal flash so I can't test the method.
I also use this method.""Also, could you try to display a box (or another element that doesn't need an asset)?"" but I got the same result.
TouchGFX UI
O/P I got
2025-06-23 6:19 AM
Hello @Kai_Satone ,
This could be a communication issue.
Could you check with an oscilloscope or logic analyzer your SPI communication protocole?
Verify that the timings are correct and that the commands and data are as expected?
Regards,