Ux_Device_CDC_ACM Application - UART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-21 10:32 AM
I am trying to get the Ux_Device_CDC_ACM application working on the NUCLEO-U5A5ZJ-Q development board. I see the VCOM port activated on the PC but how do I get the UART port? It appears that the application writes from the UART port to the VCOM port and vice-versa, but it is not clear how to connect the UART. Do I use an FTDI cable somehow? Or is it on the USB-C connector?
Solved! Go to Solution.
- Labels:
-
AzureRTOS
-
STM32U5 series
-
UART-USART
-
USB
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-25 11:11 AM
I got it working. The problem was that I did not see the instruction to connect the USB connector CN15 as well as the STLINK connector CN1. Both connectors must be plugged into the PC for both COM ports to show up.
Thank you for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-22 1:10 AM
Hi @Babaluis & welcome to ST Community :)
Thank you for your question! Typically, this example emulates the USB - UART bridge.
UART port is available on the NUCLEO-U5A5ZJ-Q board and can be accessed via the appropriate UART pins (TX and RX). UART GPIO configuration for this example is here
You don't need an FTDI cable. In this example you can ping pong UART data between STLink VCP and User VCP. You can open two hyperterminals (USB com port and UART com port(USB STLink VCP)) to send/receive data to/from host from/to device.
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-11-22 8:44 AM
When I open Device Manager I only see one com port: "STLink Virtual COM Port (COM4)". How do I get the other com port?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-25 8:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-25 9:36 AM
I have board revision C04. The clock to OTG HS is HSE 16 MHz.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-25 9:44 AM
The statement in stm32u5xx_hal_msp.c line 278 is "__HAL_RCC_SYSCFG_CLK_ENABLE();"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-25 11:11 AM
I got it working. The problem was that I did not see the instruction to connect the USB connector CN15 as well as the STLINK connector CN1. Both connectors must be plugged into the PC for both COM ports to show up.
Thank you for your help.
