general stm32f41x usb endpoint settings
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-03-20 4:39 AM
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?
Labels:
- Labels:
-
STM32F4 Series
-
USB
0 REPLIES 0
