2025-04-28 2:56 PM - edited 2025-04-28 3:47 PM
I have an stm32f769 discovery kit and i want to use the usart to read gps data.
In CN13 header and PC6 and PC7 pins for TX and RX of the USART 6 .
But in the default Touchgfx project created from touchgfx so i can have a screen already working these seems to be set as VSYNC FREQ output and Render Time output pins respectively in the same order.
Am i going to break the project if i change the setup for usart rx and tx?
Where and in which pins can i reassing the VSYNC and the Render Time outputs. Are they real signals that are needed from the display to work?
I seems that completely removing them the Touch does not work or it does not seem to work.
I moved the pins to some others. I randomly selected PB3 and PD7 in the same order and everything seems to be back to normal.
I am not sure if there is any hidden impact that i just do not see now.
Solved! Go to Solution.
2025-04-29 4:42 AM
Hello @Kyrpav ,
I have created a TouchGFX project using the STM32F769-DK.
I opened the .ioc file and it seems that there is a lot of pins that are unassigned and ready for other use.
I enabled the USART1 and it assigned the pins PA9 and PA10.
Note that you can see which pins can be used instead of PA9 in my case by clicking on the pin name in the USART setup, then pressing ctrl and then clicking on the pin on the schematics and you will see the other available pins blinking (in the screenshot below, there are 3 pins than can be used for TX) :
You can also try to enable another USART (they have different pins).
Am i going to break the project if i change the setup for usart rx and tx?
No. TouchGFX doesn't use USART, you enable it yourself so TouchGFX will work correctly. You are free to re-assign a pin to another compatible pin.
Where and in which pins can i reassing the VSYNC and the Render Time outputs. Are they real signals that are needed from the display to work?
These pins are used to measure performances, you do not have to enable them so you can overwrite them as you please.
I seems that completely removing them the Touch does not work or it does not seem to work.
The VSYNC, RENDER_TIME, MCU_ACTIVE and FRAME_RATE are for measurements but TP_IRQ is an interrupt that is probably needed and LCD_RESET is also needed.
I moved the pins to some others. I randomly selected PB3 and PD7 in the same order and everything seems to be back to normal.
I am not sure if there is any hidden impact that i just do not see now.
I think it is fine. I have checked and these pins were not assigned so they are free to be used as you please :)
Regards,
2025-04-29 4:42 AM
Hello @Kyrpav ,
I have created a TouchGFX project using the STM32F769-DK.
I opened the .ioc file and it seems that there is a lot of pins that are unassigned and ready for other use.
I enabled the USART1 and it assigned the pins PA9 and PA10.
Note that you can see which pins can be used instead of PA9 in my case by clicking on the pin name in the USART setup, then pressing ctrl and then clicking on the pin on the schematics and you will see the other available pins blinking (in the screenshot below, there are 3 pins than can be used for TX) :
You can also try to enable another USART (they have different pins).
Am i going to break the project if i change the setup for usart rx and tx?
No. TouchGFX doesn't use USART, you enable it yourself so TouchGFX will work correctly. You are free to re-assign a pin to another compatible pin.
Where and in which pins can i reassing the VSYNC and the Render Time outputs. Are they real signals that are needed from the display to work?
These pins are used to measure performances, you do not have to enable them so you can overwrite them as you please.
I seems that completely removing them the Touch does not work or it does not seem to work.
The VSYNC, RENDER_TIME, MCU_ACTIVE and FRAME_RATE are for measurements but TP_IRQ is an interrupt that is probably needed and LCD_RESET is also needed.
I moved the pins to some others. I randomly selected PB3 and PD7 in the same order and everything seems to be back to normal.
I am not sure if there is any hidden impact that i just do not see now.
I think it is fine. I have checked and these pins were not assigned so they are free to be used as you please :)
Regards,
2025-05-15 4:39 AM
Hello @Kyrpav ,
Have you been able to move forward on your project?
Regrads,