cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f769 discovery kit test project pin reallocation

Kyrpav
Associate III

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.

1 ACCEPTED SOLUTION

Accepted Solutions
GaetanGodart
ST Employee

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) :

GaetanGodart_0-1745926493881.png

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,

Gaetan Godart
Software engineer at ST (TouchGFX)

View solution in original post

2 REPLIES 2
GaetanGodart
ST Employee

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) :

GaetanGodart_0-1745926493881.png

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,

Gaetan Godart
Software engineer at ST (TouchGFX)
GaetanGodart
ST Employee

Hello @Kyrpav ,

 

Have you been able to move forward on your project?

 

Regrads,

Gaetan Godart
Software engineer at ST (TouchGFX)