Skip to content

STM32F1 USB-CDC OUT #1

@VaZso

Description

@VaZso

Dear IntergatedCircuits,

(I have pressed enter by mistake, that was the cause of initial empty issue...)

I put your code on an STM32F103C8T6 board together with USBDevice in Eclipse + HAL project.

Host can enumerate USB device and my keyboard interface work well - I can send keystrokes to host and receive Num Lock / Caps Lock status change signals, so it works well.

If I mount a USB-CDC interface, it also accessible by host and I can send data from device to host without problems.
However, I can not send messages from host to device.

The vcp_if interface is the same what I used together with my STM32F407VET6 microcontroller where both transmit / receive side work well.

So, with STM32F1, USB enumeration and endpoint configuration looks okay at host side, but by the time I try to send data from host to device, I can not see any interrupt happen on device.

STM32F4 family use xpd_usb_otg of XPD library and STM32F103 use xpd_usb from there, so USB low level behaviour differs, but otherwise the higher level interfaces I try to use are the same.

Could you please suggest what may I test on STM32F1 side?

Thank you your help in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions