STM32F767 – USB Host FatFS works on FS but not on HS (internal FS PHY)
Hi,
I'm using an STM32F767 with both USB OTG FS and HS in Host mode.
-
FS is working fine with USB MSC + FatFS, and I can create files on a USB stick.
-
HS is set to use internal FS PHY (no external ULPI). It detects the pendrive (HOST_USER_CLASS_ACTIVE), but FatFS fails to create/open any file (f_mount or f_open returns FR_DISK_ERR).
This happens in both bare-metal and FreeRTOS.
If I disable FS, HS works fine. But when both are active, only FS works for file ops.
Is there any way to get FS and HS USB MSC + FatFS working together when HS uses internal FS PHY?
Any example or suggestion to fix this dual-port issue would be invaluable.
Thanks!
