Skip to main content
Visitor II
February 2, 2024
Question

Reagarding UART Communication Protocols with STM32F746G-Disco

  • February 2, 2024
  • 2 replies
  • 929 views

I have been trying to read the ultrasonic sensor data from STM32F072-Nucleo and transmit the received data to STM32F746G using URAT configuration but the problem is unable to receive the data .

As per the data sheet pins(0,1)are dedicated to UART but no data we are getting on the side  of STM32F746G but observed no code errors and warnings .

2 replies

Peter BENSCH
Technical Moderator
February 2, 2024

Welcome @Manju_9920005197, to the community!

Presumably your question is related to this thread, right?

NUCLEO boards do not have any sensors, so you must have an ultrasonic sensor connected there. However, the statement that you can't receive anything on the remote station is a bit poor. What do you think about describing in more detail what you have connected and how (schematics) and what you have programmed and how (code)?

Regards
/Peter

In order 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.
mƎALLEm
Technical Moderator
February 2, 2024

Hello,

If I understand well your issue, is that you have two MCUs:

1- STM32F072 reading the ultrasonic sensor and send it to the second MCU:

2- STM32F746G receiving sensor data from STM32F072 via UART

But from STM32F746 side there is no data received.

So check your UART config from both sides, it should be the same.

You can probe the UART_TX pin from STM32F072 side and see if there is really data transmitted.

Otherwise share your code for analysis.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.