2024-02-01 11:39 PM - last edited on 2024-02-02 02:32 AM by SofLit
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 .
2024-02-01 11:54 PM
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
2024-02-02 02:22 AM - edited 2024-02-02 02:22 AM
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.