Skip to main content
Visitor II
August 30, 2018
Question

STM32F303 USB CDC tutorial

  • August 30, 2018
  • 11 replies
  • 4834 views

Hello,

I am trying the USB Communication stm32f303 with android phone usins CDC USB TERMINAL app . I am able transmit all the string. But while reception I am receiving only the first character.

    This topic has been closed for replies.

    11 replies

    Visitor II
    March 9, 2019

    I have no Android device with USB host, but I use Linux computers daily. I tried the CDC code from Cube HAL a few days ago and it worked out of the box. So you may retry with the current Cube HAL release.

    I also developed an independent driver that you may try: https://translate.google.com/translate?hl=en&sl=de&tl=en&u=http%3A%2F%2Fstefanfrings.de%2Fstm32%2Fstm32f3.html%23vcpnohal&sandbox=1

    The code is very compact and straight forward, only two files (usb.c and usb.h).

    The driver contains the company name "Nuvoton" because it was originally published by a member of that company. If you like to contact him, leave a message in https://www.embdev.net