H753ZI USART2 debugging
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-25 12:17 PM
Hi,
I want to debug the H753ZI through USART2 and connect to the PC through USB. I've done this a lot with other NUCLEO boards. Apparently this feature is not present on the H753ZI board?
Is there another UART connected to the ST-link on this board? Or is there no opportunity to send UART through USB?
Thanks in advance,
Best regards
Tom
Solved! Go to Solution.
- Labels:
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-25 2:34 PM
USART3 PD8/PD9 to the ST-LINK/V3 VCP
Make sure HSE_VALUE correctly reflects the speed of the external clock, or use HSI (64 MHz)
Get a scope check the signal, show code if you want us to understand what you've done..
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-10-25 12:45 PM
Why don't you use the default VCP on UART3 to debug? Or do you specifically need to use UART2?
TimerCallback tutorial! | UART and DMA Idle tutorial!
If you find my solution useful, please click the Accept as Solution so others see the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-25 12:48 PM
This is the H753ZI2 board with the ST-LINK/V3 right? As I recall it uses a different UART than the ST-LINK/V2 model. Check User Manual and Schematic in CAD Resources tab.
Will check when I'm in front of a computer.
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-10-25 1:42 PM
Thanks for the replies, I've enabled all of the UART's and I'm continuously sending 1 character on all of them. But I get nothing through the COM port?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-25 2:34 PM
USART3 PD8/PD9 to the ST-LINK/V3 VCP
Make sure HSE_VALUE correctly reflects the speed of the external clock, or use HSI (64 MHz)
Get a scope check the signal, show code if you want us to understand what you've done..
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-10-25 5:35 PM
The other folks have it covered, but there's no reason to guess at which UART/pins to use. The user manual has all this information:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-25 9:46 PM
Thx, Ill check it out later
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-26 10:40 AM
Thx, this worked
