Using USB-PD and USB-CDC together
Hello,
I'm working on STM32G0B1KET6N uc with custom board.
When I'm using this tutorial: https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:Getting_started_with_USB-Power_Delivery_Sink everything is working great, my device is acting as USB PD Sink.
But... when I add USB-CDC support (through CubeMX in STM32CubeIDE) and connect board to my Macbook Air - the STM32 ComPort appear only for few seconds and then disappear.
Also, when I'm only using USB-CDC without USB-PD - everything acting as it should - USB-CDC works great.
So - is it possible to use USB-CDC and USB-PD together in parallel? I mean - when I'm using device with PD power supply - USB-PD should be working, and with my computer - USB-CDC should be working.
Thanks,
Kuba
