Skip to main content
Associate II
November 12, 2024
Solved

Problems with data reception via USART2 on STM32F429ZI microcontroller

  • November 12, 2024
  • 2 replies
  • 1355 views

I tried to follow exactly what was indicated in the following tutorial https://www.youtube.com/embed/JWOV4j5fCS4?cc_load_policy=1&autoplay=1&list=PL8n_tqwYdzVAd_OxaKnfxBrvcGwR8kSJo, but despite the serial port being connected, I am not receiving the data on the console that I send through the micro.

What could be the cause? In the attached screenshots, you can find the settings and the code from main.c.

 

This topic has been closed for replies.
Best answer by mƎALLEm

Hello @Emanuele78 ,

This is because on NUCLEO-F429ZI USART2 is not connected to VCP (Virtual Comport).

SofLit_0-1731405492268.png

You need to use USART3 then.

 

2 replies

mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
November 12, 2024

Hello @Emanuele78 ,

This is because on NUCLEO-F429ZI USART2 is not connected to VCP (Virtual Comport).

SofLit_0-1731405492268.png

You need to use USART3 then.

 

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Andrew Neil
Super User
November 12, 2024
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.