STM32H7B0 USB stop sending after 1408 bytes
Dear,
We using the STM32H7B0 (100pins)
When we sending to the USB port with the function CDC_Transmit_HS() he returns always USBD_BUSY after 1408 bytes.
We had found a article that says that the the value 0x174 isn't correct (see code below)
See: https://community.st.com/t5/stm32-mcus-embedded-software/problem-with-stm32h747-hs-usb-dma/td-p/165459
When we change it to 0x100 for the HAL_PCDEx_SetTxFiFo(&hpcd_USB_OTG_HS, 1, xxx) than it works.
Why is this value incorrect?
Where we can change this value in STM32cubeMX?
Or doing we something else incorrect?
/* USER CODE BEGIN TxRx_HS_Configuration */
HAL_PCDEx_SetRxFiFo(&hpcd_USB_OTG_HS, 0x200);
HAL_PCDEx_SetTxFiFo(&hpcd_USB_OTG_HS, 0, 0x80);
HAL_PCDEx_SetTxFiFo(&hpcd_USB_OTG_HS, 1, 0x174);
/* USER CODE END TxRx_HS_Configuration */
