serial data droping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-18 2:10 AM - edited ‎2023-11-20 7:50 AM
i can not get full text msg ,some alphabats are missing each time .how i can solve this ?
Solved! Go to Solution.
- Labels:
-
GPIO-EXTI
-
UART-USART
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-19 9:59 PM - edited ‎2023-11-20 7:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-19 4: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-19 5:21 AM
Probably not an issue with the code you're showing, but elsewhere.
​
W​hat chip and board are you using?
Which clock source? Is that properly calibrated? Which UART and pins, connected to what?
​
W​ould suggest sending 0x55 'U' data patterns constantly and inspecting signal timing on a scope.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-19 8: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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-19 9:11 PM
this is the same question asked by me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-19 9:26 PM - edited ‎2023-11-20 7: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-19 9:58 PM
If this board is using an ST-LINK/V3 watch that HSE BYPASS is likely 8.333 MHz not 8.0 MHz​
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-19 9:59 PM - edited ‎2023-11-20 7:51 AM
this is the solution ,my code is working with this parameters
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-19 10:00 PM
thank you ,my code is working ,setting are mention below
