AnsweredAssumed Answered

STM32F4 USB Endpoint question

Question asked by lee.chansong on Aug 14, 2015
Latest reply on Aug 24, 2015 by STM32Cube-T
Hi! 
I used CubeMx to generated USB HID Device example code and  update to F4_Discovery Kit.
The default endpoint address is 0x01 and 0x81. I could send data from PC to STM32F4 via USB. and STM32F4 also could send data to PC.

But. when I modified the endpoint address to 0x02 and 0x82, the PC could not received data form STM32F4.


Is anyone has the same experience can help me solve this issue?

I just modified below defines 
#define CUSTOM_HID_EPIN_ADDR                 0x82
#define CUSTOM_HID_EPOUT_ADDR                0x02
the file is "usbd_customhih.h"


Stm32CubeMX version: V4.8.0
STM32CubeF4 Firmware Package V1.6.0 

Thanks.
Chansong

Outcomes