2020-11-05 11:51 PM
When I try to using STM32CubeMonitor-UCPD software with X-CUBE-USB-PD and ON-FUSB3-STM32, VCP does not appear on the laptop. I cannot see any connected board on the software.
I already installed STM32CubeMonitor-UCPD and USB driver for ST-LINK.
And, downloaded X-CUBE-USB-PD project on ON-FUSB3-STM32.
Is there any required modification on X-CUBE-USB-PD project? for using STM32CubeMonitor-UCPD with ON-FUSB3-STM32.
Solved! Go to Solution.
2020-11-06 12:12 AM
Dear @TKwon.2
X-CUBE-USBPD V3.1.0 contains an application using STM32CubeMonitor-UCPD.
You should take as reference the following application (Link on github) done on ON-FUSB3-STM32.
Idea is to connect PA0 and PA1 from EVAL board to your VCP pins available on your ST link.
Configuration is defined in 'tracer_emb_conf.h':
#define TRACER_EMB_USART_INSTANCE USART4
#define TRACER_EMB_TX_GPIO GPIOA
#define TRACER_EMB_TX_PIN LL_GPIO_PIN_0
#define TRACER_EMB_RX_GPIO GPIOA
#define TRACER_EMB_RX_PIN LL_GPIO_PIN_1
Regards,
Yohann
2020-11-06 12:12 AM
Dear @TKwon.2
X-CUBE-USBPD V3.1.0 contains an application using STM32CubeMonitor-UCPD.
You should take as reference the following application (Link on github) done on ON-FUSB3-STM32.
Idea is to connect PA0 and PA1 from EVAL board to your VCP pins available on your ST link.
Configuration is defined in 'tracer_emb_conf.h':
#define TRACER_EMB_USART_INSTANCE USART4
#define TRACER_EMB_TX_GPIO GPIOA
#define TRACER_EMB_TX_PIN LL_GPIO_PIN_0
#define TRACER_EMB_RX_GPIO GPIOA
#define TRACER_EMB_RX_PIN LL_GPIO_PIN_1
Regards,
Yohann
2020-11-08 07:09 PM
Thank you for your reply. Now, it works.
Based on your reply, I realized VPC is the function of ST link.
I thought VCP is the function of MCU Which connect to the laptop directly without RS-232 Transceiver IC.
At first, I have some difficulties because I used ST link V2 which does not support VCP.
I changed to ST link V3, now it works.
Anyway, thanks again.