2020-09-19 06:56 AM
Hi I have STM32F373VCT6 on the board that I am bringing up. I am trying to open up the USB_FS as VCP. I use 20 MHz oscillator, which gives 48 Mhz USB clock and 24 MHz for APB2. I use the code below:
while (1)
{
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
CDC_Transmit_FS(myBuf, 4);
HAL_Delay(1000);
}
This code when I target to an EVK based on STM32H750VIB-dK works fine and I could see the VCP. The hardware is missing the transient suppressor but the rest seems fine, including the differential pair. The USB_FS signals go to PA12 (usb_dp) and PA11 (usb_dm). Part of the schematic is below. Can anyoe help? Thanks