2020-11-23 03:10 AM
we want to use USB mass storage devices like PEN drives in one of our project based on STM32F407VET6, in which we use only USB_OTG_FS_DP and USB_OTG_FS_DM pins for communication and generated VBUS by means of other IC's. we observing that some mass storage devices of particular make were detecting (Insert/Remove) very well, but some are only detected when attached to USB port before project device (MCU PCB) get powered On and then after removing its removal not get sensed. in software debugging point of view we generate the sample code from CUBEMX with HAL library.
Please reply is anyone facing same issue.
another point is, in this project we use Internal crystal for main frequency (168MHz) generation. does this may be the cause (Not Using External OSC) of the issue?