USB cable detection in bootloader, VBUS or DP/DM?
App note AN2606 on bootloader operation, figure 57, shows the flow chart for the STM32H74/75 series. One block is labeled "USB cable Detected". Exactly what is the criteria for this? Is it based on DP/DM states? Is it based on VBUS measurement? Something else?
I have a design that is IO heavy and would like to use the VBUS pin for other purposes than sensing USB voltage. If I don't hook up VBUS to the USB connector, does the bootloader still detect the USB cable and enter the bootloader? Or does it depend on the VBUS for cable sensing?
If it does depend on VBUS for cable sensing, the cable might be just a power supply (phone charger, say) and the bootloader would get stuck listening to nothing instead of continuing to search among the various other options (UART, SPI, I2C, CAN, etc). So I'm hopeful VBUS sensing is not the criteria.
I don't need OTG functions, just simple USB FS device, so I am trying to use just DP/DM on the USB port.
Thanks.
