cancel
Showing results for 
Search instead for 
Did you mean: 

general stm32f41x usb endpoint settings

cchao
Associate II

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?

0 REPLIES 0