Skip to main content
Visitor II
March 20, 2020
Question

general stm32f41x usb endpoint settings

  • March 20, 2020
  • 0 replies
  • 481 views

i'm using the stm32f411CEU6. I build the USB composite device. running MSC+CDC, works, but when add the HID, mean MSC+CDC+HID, it doesn't work. seems the endpoint issue. and when only use the HID+MSC, also doesn't work. with the old HAL version when setting the endpoint buffer HAL_PCDEx_PMAConfig for stm32f0, it works.

but F4 the setting endpoint is HAL_PCDEx_SetTxFiFo and HAL_PCDEx_SetRxFiFo. I need at least 4 endpoint, 1 for MSC(81,01), 1 for HID(82,02), 2 for CDC( 83,03,84). how to correct setting the endpoint?

    This topic has been closed for replies.