2018-08-07 03:02 AM
I have generate a STM32H743ZI with CubeMX as HID-Host on PB14,PB15.
I get no Interrupt to set is_Connect flag.
When is an Interrupt generate in OTG_GINTSTS->HPRTINT?
2018-08-08 08:33 AM
I try it again with CubeMX to create a simple HID Host with OTG2 (PA11,PA12) and connect a mouse over an OTG cable. No Interrupt, no connection. With the debugger under True Studio I see that the IRQ is enable. PowerSwitch (STMPS2151STR) works and is ON.
2018-08-10 08:27 AM
Hi @Grisby ,
Please make sure to enable the USB voltage level detector after starting the device process.
MX_USB_DEVICE_Init();
/* USER CODE BEGIN 2 */
/* Enable the USB voltage level detector */
HAL_PWREx_EnableUSBVoltageDetector();
/* USER CODE END 2 */
Khouloud.
2019-01-10 04:08 PM
Khouloud.
The voltage level detector is not optional?
I'm having similar problem with the NUCLEO-H743ZI.