How to configure USB host MSC with CubeMX?
Hello,
I use the STM32F767ZI card and I want to use USB OTG host communication.
For that I tested the program provided by STM32CubeMX, "FatFs_USBDisk". The program worked well.
But when I tried to redo the program using CubeMX. The program compiled. I started the program in debugger mode but couldn't create the file on the USB drive.
Is there a reason that the program generate with CubeMX doesn’t work?
I’m using STM32CubeMX v5 with package STM32Cube_FW_F7_V1.14.0.
Parameter of CubeMX:
RCC -> HSE : BYPASS Clock Souce
LES : Crystal /Ceramic Resonator
SYS -> Serial Wire
Timebase Source : SysTick
Sysclk : 168MHz
USB : 48MHz
USART3 -> Asynchronous
USB_OTG_FS -> Host_Only
Activate_SOF
Activate_VBUS
USB_HOST -> Class for FS IP : Mass Storage Host Class
FATFS -> USB Disk