STM32H747I-DISCO Virtual Com via USART to arduino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-01 8:38 AM
if I configure the USART and use HAL_UART_Transmit. The UART to USB bridge is taken care of by the ST-Link chip.
Could i use the VCP on the board is on PA9/PA10(pin D14 and pin D15 to rx and tx to arduino) and use digital.read on arduino to get the information of char[] like tipo "%s %.0f%%"?
Solved! Go to Solution.
- Labels:
-
STM32H7 Series
-
UART-USART
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-01 8:48 AM
No, D14/D15 are ball numbers on the BGA, not pins on the Arduino rail connection.
To use D0/D1 serial you'd need to use UART8 (PJ8 / PJ9), and then actively forward the traffic too/from the ST-LINK VCP connection
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-08-01 8:48 AM
No, D14/D15 are ball numbers on the BGA, not pins on the Arduino rail connection.
To use D0/D1 serial you'd need to use UART8 (PJ8 / PJ9), and then actively forward the traffic too/from the ST-LINK VCP connection
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-08-01 9:06 AM - edited ‎2023-08-01 9:07 AM
Hello @wjian.2,
VCP is linked to an instance of USART and physically mapped Pins. Otherwise, you may use another board as VCP.
You may need to check the user manual for the instance linked to the virtual com port. Also, you need to refer to the datasheet to configure the related mapped pins.
Is that somehow clear?
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
‎2024-01-17 2:47 PM
Excellent, that did solve my problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-17 2:51 PM
The ST-LINK/V3 VCP being linked to USART1 (PA9 / PA10)
Up vote any posts that you find helpful, it shows what's working..
