cancel
Showing results for 
Search instead for 
Did you mean: 

STM3220G-EVAL USB_OTG_FS port

sangamesh
Associate II
Posted on February 18, 2015 at 12:47

Hi

Is D+ line in USB_OTG_FS port using any pull up in STM3220G-EVAL?

Because in STM32CubeF2 code for USB device, I see that D+ line and D- lines are not pulled up

/* Configure DM DP Pins */

    GPIO_InitStruct.Pin = (GPIO_PIN_11 | GPIO_PIN_12);

    GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;

    GPIO_InitStruct.Pull = GPIO_NOPULL;

    GPIO_InitStruct.Speed = GPIO_SPEED_HIGH;

    GPIO_InitStruct.Alternate = GPIO_AF10_OTG_FS;

    HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); 

However eval board USB was detected by PC(Host)

Please clarify on this

Thanks

Sangamesh

0 REPLIES 0