Skip to main content
KTuz.1
Associate II
December 8, 2020
Question

[STM32F439] Could not receive USB CDC Interrupt IN transfer data

  • December 8, 2020
  • 1 reply
  • 748 views

As title

I generate USB CDC with STM32CubeMX,

and try to send data by using interrupt transfer end point 0x81

I try to usb Bushound to receive data, but it could not revive any data from CDC interrupt IN.

Is there any things that i should be modify?

Experiment In main while send 1 byte,

(1) OK

(2) FAIL

1 [Bulk]

USBD_LL_Transmit(&hUsbDeviceFS,CDC_IN_EP ,&data, 1)

2 [Interrupt]

USBD_LL_Transmit(&hUsbDeviceFS,CDC_CMD_EP,&data, 1)

This topic has been closed for replies.

1 reply

Pavel A.
Super User
December 8, 2020

You cannot transmit anything thru any endpoint until the host gives you IN token.

Do you get IN requests from host?

-- pa

KTuz.1
KTuz.1Author
Associate II
December 9, 2020

Hi Pavel

I am new with USB, where could i know MCU receive IN request?

Thank you