nucleo-64 UART problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-21 11:56 PM
I tried sample uart example with my stm32f401RE and saw my serial monitor weird things
Solved! Go to Solution.
- Labels:
-
STM32F4 Series
-
UART-USART
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-23 12:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-21 11:57 PM
check that the baud rates (speed) on the board and PC/terminal prog. match
hth
KnarfB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-22 12:04 AM
...maybe also the parity.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-22 12:18 AM
baud rates and parity same board and terminal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-22 8:23 AM
Did you oscilloscope probe the RX and TX pin between the STLink and the STM32F401 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-22 8:32 AM
For strings use strlen(), perhaps wrap the string output as a function, so you have to copy-n-paste less code, and make less mistakes.
Check baud rate, and general configuration of UART, and PC side equivalent. The baud rate on the NUCLEO USB CDC changes those of the hard UART on the ST-LINK/V2-1, so it is more critical than other "virtual" serials used in other Arduino boards.
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-02-23 12:54 AM
fixed it without doing anything
I don't understand why
