USART 2 Transmit not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-21 3:02 AM
Board : STM32F746G
I configure USART1 with same configuration. USART1 is working fine. I did same configuration for USART2 also, but USART2 not working. I don't know what's happening.
Thanks
Manikandan D
Solved! Go to Solution.
- Labels:
-
STM32F7 Series
-
UART-USART
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-22 11:55 PM
And what do you mean with "serial port"? Are you scoping it? Or is it connected to FTDI -> USB? Hence my question "What is UART2 connected to?"...
I suppose that UART1 and UART2 are not connected to the same physical HW block
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-21 3:58 AM
Show RCC, GPIO and USART2 related initialization code.​
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
‎2021-08-21 4:59 AM
@Community member​ here i have attached my main.c file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-21 5:07 AM
here i attached my mx configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-22 2:30 AM
What exactly is not working? It's not clear what you're trying to achieve. What is UART2 connected to? Did you scope the TX pin? is it pulled high by another component?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-22 9:18 PM
I am going to send "Hello!" via USART2 transmit. Same method i used for UASRT1 transmit, but there the hello printed in serial port. When i am using USART2 transmit, the "Hello!" is not print in serial port.
Thanks
Manikandan D
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-22 11:55 PM
And what do you mean with "serial port"? Are you scoping it? Or is it connected to FTDI -> USB? Hence my question "What is UART2 connected to?"...
I suppose that UART1 and UART2 are not connected to the same physical HW block
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-23 12:03 AM
> Board : STM32F746G
This is a chip, not a board. Do you mean the 32F746GDISCOVERY?
USART2 is not hooked up to the VCP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-23 12:36 AM
Do you mean the 32F746GDISCOVERY?
YES
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-23 1:41 AM
I suppose that UART1 and UART2 are not connected to the same physical HW block
Yes this is true. I test the both USART1 and USART2 in same USB port. That is the mistake
