cancel
Showing results for 
Search instead for 
Did you mean: 

H755 UART issue Data corrupted with same baud rate

Vimal_M_A
Associate II

Hi all,

 I'm using Nucleo H755 I have configured UART with 115200 baud rate and the Rx in Interrupt mode 

issue: While the STM is configured with 115200 baud rates, when I transmit some data with the same baud rate either the data is corrupted or data is not read/ transmitted, if I reduce the baud rate of the other device by 3 times the baud rate set in ST the Data is read properly. if anyone have any solution regarding this issue, please let me know in this thread I have checked with different STM ide versions, different H755 boards I'm facing this same issue

 

also, I have checked with H723 which is working fine for the same setup. there are different issues with the H755 boards. also, if anyone from STM team finds this message I'm also facing a issue while reconfiguring the ioc file from cube ide some pins get reset every time 

If any other details required, please feel free to ping me

4 REPLIES 4
Ozone
Principal II

>  While the STM is configured with 115200 baud rates, when I transmit some data with the same baud rate either the data is corrupted or data is not read/ transmitted, ...

Not sure why you added the label "bug-report" to this thread.
The bug is in your code, most probably the interrupt processing code.
You would need to present relevant sections here, probably starting with the interrupt callbacks.

>... if anyone from STM team finds this message ...

While some ST staff is present on this user forum, most are users like you, and not affiliated with ST.
Just saying.

TDK
Super User

Look in the clock setup tab and ensure the HSE is set up with the clock rate the board actually has, typically 8 MHz in bypass mode.

TDK_0-1758544519538.png

 

If that's not it, attach the relevant IOC file(s).

If you feel a post has answered your question, please click "Accept as Solution".
mƎALLEm
ST Employee

@Vimal_M_A wrote:

if anyone from STM team finds this message I'm also facing a issue while reconfiguring the ioc file from cube ide some pins get reset every time 


This is another subject that you need to create a separate for it. Describe the details/the scenario on how to reproduce and attach the ioc file to ease the analysis.

And as said by @Ozone this community is a collaborative place where users help others with the help of ST staff. So this is not a peer to peer support and ST employees are not here to answer all the threads.

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.
Andrew Neil
Super User

@Vimal_M_A wrote:

if I reduce the baud rate of the other device by 3 times the baud rate set in ST the Data is read properly.


Same problem here:

Configuring STM32F401 USART6 for 115200 baud results in 38400 baud.

As @TDK said here and there - check your clock configuration ...

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.