4 years, 10 months ago.

Android and USB Serial

I am struggling to communicate with a Nucleo32 device via USB serial interface from Android. It seems that I am not the only one struggling with this, and so far there are no answers. Serial port access works perfectly fine from Linux, MacOS, and Windows. But using a USB OTG port from Android to the device does not work. There does not appear to be any data being sent or received.

There have been hints that it will work at 9600 baud only. I tried setting my firmware to expect 9600 baud and set the Android software to use 9600 baud. It did not work for me.

I have plenty of devices, including a custom design using an STM32L433 that works perfectly fine with Android. There seems to be some sort of issue with the ST/Link serial port implementation. I have updated to the latest ST/Link firmware on the device (V2J34M25). This did not help either.

Has anyone gotten this to work?

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32L432KCU6 microcontroller.
Be the first to answer this question.