cancel
Showing results for 
Search instead for 
Did you mean: 

Trace, Power Profile in on-fusb3-stm32 Evaluation Board and X-CUBE_USB_PD

Mwong.1
Associate

Hi, Everyone, I am a new user for this board, and I have some questions about how to add the trace in the code and how to modify the power profile in the code

I)

In the schematic, we can find out that there are some pinout for testing, I know it is for the trace, so I want to know how to add the trace into the code provided in https://github.com/STMicroelectronics/x-cube-usb-pd

The following figure is the pinout I mentioned

ii) In the code, the usbpd_pdo_defs.h provide us a capability to modify the power profile, can I set some trace there to monitor the software behaviour?

2 REPLIES 2
Mwong.1
Associate

sorry, the pinout is at there

https://www.onsemi.com/pub/collateral/fusb307bgevb_schematic.pdf, pin from PA0~PA4

Yohann M.
ST Employee

Dear @Mwong.1​ 

i) in the application 'STM32F072RB-Nucleo/Applications/USB_PD/EVAL_FUSB307_DRP', trace evacuation is done through PA0 (Tx) and PA1 (Rx). Idea is to connect these 2 pins on VCP UART available on a STLink (available on NUCLEO board for instance).

ii) Thanks to this connection, you could connect the STM32CubeMonitor-UCPD (further details here). And right, usbpd_pdo_defs.h is the good place to modify your power profile.

Regards,

Yohann