2024-09-09 01:36 AM - last edited on 2024-09-09 06:09 AM by SofLit
I'm using RVT101HVSNWC00-B.I use TouchGFX 4.24.0 to generate initial code.
There's no MX_USART2_UART_Init(); , even though I generate code again through CubeMX.
I have to add it by myself to initial USART2.
Solved! Go to Solution.
2024-09-09 11:45 PM
To generate the "MX_USART2_UART_Init();" function, you have to go to your .ioc file->Project Manager->Advanced Settings and unselect the "Do Not Generate Function Call" For the Peripheral Instance Name "USART2".
Best Regards.
STTwo-32
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.
2024-09-09 03:06 AM
Hello @ChungEN
If possible, can you add you .ioc file?
Best Regards.
STTwo-32
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.
2024-09-09 05:24 PM
2024-09-09 11:45 PM
To generate the "MX_USART2_UART_Init();" function, you have to go to your .ioc file->Project Manager->Advanced Settings and unselect the "Do Not Generate Function Call" For the Peripheral Instance Name "USART2".
Best Regards.
STTwo-32
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.