2023-04-18 02:10 AM - edited 2023-11-20 07:50 AM
i can not get full text msg ,some alphabats are missing each time .how i can solve this ?
Solved! Go to Solution.
2023-04-19 09:59 PM - edited 2023-11-20 07:51 AM
2023-04-19 04:35 AM
Hello @Ranjeet Singh ,
Could you please precise the STM32 product you are using ?
Please check the UART Parameter Settings and the serial port parameter such as Baud rate, Word length, Parity and Stop Bits.
I advise you to take a look at this wiki page: Introduction to the UART I/F on NUCLEO-L476RG.
I hope this help you to solve the issue!
Kaouthar
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.
2023-04-19 05:21 AM
Probably not an issue with the code you're showing, but elsewhere.
What chip and board are you using?
Which clock source? Is that properly calibrated? Which UART and pins, connected to what?
Would suggest sending 0x55 'U' data patterns constantly and inspecting signal timing on a scope.
2023-04-19 08:35 AM
Related https://community.st.com/s/question/0D53W00002DyX2XSAV/serial-port-not-work
Make sure to provide more detail and context.
Identify the board, chip and mode of connectivity.
Focus on the cause, not the symptoms. You're not looking in the right place.
Here perhaps the timing, whether MSI or HSI clock sources use the right calibration values, and how accurately they are clocking.
2023-04-19 09:11 PM
this is the same question asked by me
2023-04-19 09:26 PM - edited 2023-11-20 07:51 AM
these are the clock setttinfg .but am doing wrong in clock side?
these are the output in which alphabats are missing
these are tera term settings
2023-04-19 09:58 PM
If this board is using an ST-LINK/V3 watch that HSE BYPASS is likely 8.333 MHz not 8.0 MHz
2023-04-19 09:59 PM - edited 2023-11-20 07:51 AM
this is the solution ,my code is working with this parameters
2023-04-19 10:00 PM
thank you ,my code is working ,setting are mention below