SBSFU integration with stm32f407g-disc1 (stm32f407vgt6u)
Hello,
The mentioned board utilizes usb otg communication through the USB connector. DM and DP pins are PA11 and PA12 which are directly connected from the mcu to the USB connector (no available GPIO pins). There is no usart or uart connected to the DP and DM pins. Every SBSFU example including the most similar one - stm32F413H - uses usart/uart interface. For example the stm32F413H uses usart6 which is connected to the DP and DM pins.
Possible solutions (?) :
1) Swaping the uart interface with usb otg interface in sbsfu project;
2) Directly connecting USB DM and DP pins to one of the available usart/uart interfaces;
The first solution requires extra changes in the project files, by extra I mean, that the files that need to be updated are more than the mentioned default files in the documentation e.g. low level services files. And I dont know if this will not break anything else...
The second solution requires soldering the uart/usart GPIO (or the mcu) pins to the usb connector pins.
Are the solutions logical and potentially accomplishable? If not is there any other possible solutions that I could try out?
Respectfully,
Audris
