AnsweredAssumed Answered

HAL_PCD_EP_GetRxCount returning wrong value ?

Question asked by brown.geoffrey.001 on May 18, 2017
Latest reply on May 19, 2017 by Imen D

I'm using  STM32Cube_FW_L4_V1.6.0 for long bulk transfers (up to 4096 bytes).   When the stm32 receives a packet longer that 64 bytes,  HAL_PCD_EP_GetRxCount returns a number 1-64 (e.g. a packet of 1024 returns a length of 64).  The received data seem to be correct, so I'm confused about the incorrect packet length (plus it's impossible to detect errors !).   Has anybody seen a similar problem ?