USBH_UserProcess (USBH_HandleTypeDef *phost, uint8_t id) function never called
I'm using Cube MX 4.22.1. STM32CubeF4 Firmware Package V1.16.0.
USB_OTG_FS -> Host_Only
RCC -> HSE -> Crystal/Ceramic Resonator
FATFS -> USB Disk
USB_HOST -> Mass Storage Host Class
Clk Config to HSE and HCLK to 168MHz
All settings default.
I build project and flash the board. All generated code without changing.
USBH_UserProcess() function never called. I connect and disconnect the flash drive to user USB. Nothing happens.
Trying to generate code for Keil UVision v4 and v 5. Same results.
When I'm doing same things with older Cube MX version all works.
Example from Firmware Repository FatFs_USBDisk works without problem.
Looks like problem in generated code by MX Cube.
But I can't find where.
(I'm trying to increase stack and heap size - without results)