2022-08-21 04:12 AM
Hii.
1) I am using STM32f769I Discovery Board
2) Using Touchgfx I have created a gui and generated the Code
3) From the project folder, Stm32cubeIde, I have opened. cproject.
4) Stm32cubeIde is opened and then I opened. IOC file
5) From . Ioc I have added USART1, which can be accessible from Stlink
6) When I generated code, Uart driver has not got added in the project. i. e, when I type HAL_UART and control+space it's not displaying any API like transmit, receive, transmit_IT etc
7) When I opened Drivers folder and opened uart.c file it is observed that the uart driver isn't been enabled.
Is it the problem, due to the project was created by touchgfx.
2022-08-25 03:00 AM
Hi @SDant.2 and welcome to the Community :),
I recommend that you use the STM32CubeMx to create the TouchGFX project.
For that, I advise you to take a look at this MOOC.
Then, you can configure the USART.
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.