cancel
Showing results for 
Search instead for 
Did you mean: 

USART2 is not working in NUCLEO-G491RE

abhishek1991
Associate II

Hi STM Community,

I was trying to use USART2 on NUCLEO-G491RE board, but it is disabled from the start.

It is highlighted in Pink and I am not able to edit it.  Can you please tell me how to make it work ?

Thank you. Appreciate it.

Regards,

STMUSER

 

img1.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

Hello,

Check if USART2 is already selected in the Bsp menu:  

SofLit_0-1720430008334.png

If it's the case you no more need to configure it in Connectivity menu.
Unless you need to customise the configuration. in that case disable it from the Bsp menu and USART2 will be available in the Connectivity menu.

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.
PS:
1 - This is NOT an online support (https://ols.st.com) but a collaborative space.
2 - Please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help.

View solution in original post

3 REPLIES 3
SofLit
ST Employee

Hello,

Check if USART2 is already selected in the Bsp menu:  

SofLit_0-1720430008334.png

If it's the case you no more need to configure it in Connectivity menu.
Unless you need to customise the configuration. in that case disable it from the Bsp menu and USART2 will be available in the Connectivity menu.

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.
PS:
1 - This is NOT an online support (https://ols.st.com) but a collaborative space.
2 - Please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help.
Karl Yamashita
Lead III

LPUART1 and UART2 uses the same RX/TX pins. You currently have LPUART1 enabled so that is why you can't use UART2. If you don't need the LPUART1 then disable it. Then you will be able to select UART2.

Don't worry, I won't byte.
TimerCallback tutorial! | UART and DMA Idle tutorial!

If you find my solution useful, please click the Accept as Solution so others see the solution.

Thank you. Appreciate your reply.