Closed FBergemann closed 2 years ago
BTW Note, that i also filed more issues in the same context:
I didn't find any reference project for "USB_HOST / Mass Storage Host Class" that is using the Device Configuration Tool (CubeMX). All examples/references i was given, didn't use *.ioc file. It would be good to have examples, that are based on the Device Configuration Tool (CubeMX). Then those problems would have shown up already, before.
Hi @FBergemann,
This duplicated issue will remain closed. A further detail of your reported point is answered in Issue #47.
With regards,
Duplicate of #47.
I am trying to set up USB_OTG_FS / USB_HOST for NUCLEO-F767ZI - with the "Device Configuration Tool" (CubeMX).
For creating a new STM32 Project for NUCLEO-F767ZI, in the beginning, i
Then next:
The resulting usb_conf.c, does not have any initialization for PA10 (resp. GPIO_PIN_10 resp. USB_OTS_FS_ID).
But all reference projects, i'd been given initialize like this:
/* Configure ID pin */
GPIO_InitStruct.Pin = GPIO_PIN_10;
GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
GPIO_InitStruct.Pull = GPIO_PULLUP;
GPIO_InitStruct.Alternate = GPIO_AF10_OTG_FS;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
But those reference projects don't use the Device Configuration Tool (CubeMX)
Those reference projects are:
Is the initialization of PA10 missing for setting up with Device Configuration Tool (CubeMX)?