STMicroelectronics / STM32CubeF4

STM32Cube MCU Full Package for the STM32F4 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
869 stars 418 forks source link

USB Host implementation broken when sending transfers that are larger than max packet size #41

Closed eranrund closed 1 year ago

eranrund commented 4 years ago

I ran into the following issues when trying to send a transaction that is split into multiple transfers.

1) The code here does not take into account the FIFO size.

2) For large transfers, the code here enables the ptxfempty interrupt, but the interrupt handles ignores it as seen in https://github.com/STMicroelectronics/STM32CubeF4/blob/9f5ea7421d22c724516d00218b350d1e09a54a2c/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_hcd.c#L521-L524

Am I missing something or this functionality just super broken?

ALABSTM commented 4 years ago

Hi @eranrund,

Your question will be forwarded to our development teams. I will get back to you as soon as they provide me with their answer.

With regards,

eranrund commented 4 years ago

Thank you @ALABSTM

ALABSTM commented 2 years ago

ST Internal Reference: 126900

ALABSTM commented 2 years ago

Hi @eranrund,

I hope you are doing well. Back to you about this point you raised. According to our development team:

A request has been submitted to have this updated. The development teams will deeper analyze it before deciding whether to go for such change or not. I will keep you informed.

With regards,

ALABSTM commented 1 year ago

Hi @eranrund,

Back to you about this point you raised. Unfortunately, our development teams do not plan to implement such enhancement. Please allow me to close this issue. Thank you for your comprehension.

With regards,