stm32f4 and USART2 communication with PC
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-03-21 4:32 AM
Posted on March 21, 2016 at 12:32
Hi,
I'm a newby in firmware programming, therefore sorry for my simple question. I need to send some data to the PC via serial communication from a board equipped with an STM32F4. I chose to set up the communication through the USART2 interface on PINS 5 and 6. What I'm experiencing is as follows: - after programming the board with the ST-LINK V2 going to debug mode the communication on the RS232 is ok: I can see just what I'm expecting. - if while debugging I disconnect the ST-LINK V2, the program stop sending characters to the PC - if I power on the board with no ST-LINK V2 connected, I receive strange characters on the PC, as if the RS232 communication format were not set correctly. Any suggestion? Thanks in advance, regards #stm32 #stm32f4 #usart
Labels:
- Labels:
-
STM32F4 Series
-
UART-USART
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-03-21 5:28 AM
Posted on March 21, 2016 at 13:28
Check your grounds.
JW