STM32F103 needs external Pull-up resister on USB PD line because it doesn't have an internal pull-up resistor unlike other series STM32F40x.