STM32C071 with USBX and Flutter QuickUsb
Hi all,
I’m working on porting a firmware from a Microchip PIC18F66J50 to an STM32C071.
The original device communicates successfully with Windows and Android devices over USB, through an app developed in Flutter (Android Studio) using the QuickUsb library.
On the STM32 side, I’m now using the USBX stack. After quite a bit of work, I managed to get the USB communication fully working with Windows — enumeration and protocol exchange both succeed.
However, while the device correctly enumerates on Android, the protocol communication fails.
Since the Android app already works perfectly with the original Microchip-based device, I assume that no changes are needed on the app side. This suggests that the issue lies in how the STM32 presents itself to Android (possibly in the USB descriptors or class/interface setup).
Has anyone experienced similar issues with USBX on Android, or are there known differences in how Android handles vendor-specific protocols compared to Windows?
Thanks for your help!
Bruno R.
