Nucleo-144 F439ZI : OTG in FS Mode with DMA does not enumerate
Hi everyone,
I'm trying to use OTG in FS Mode with DMA enabled (I know it's not a consistent use case, as FS datarate is pretty low)
But still, I changed the code in Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pcd.c :
...
#if defined (USB_OTG_FS)
/* Disable DMA mode for FS instance */
if (USBx == USB_OTG_FS)
{
hpcd->Init.dma_enable = ENABLE; //FGE: try to use OTG FS with DMA enabled
}
#endif /* defined (USB_OTG_FS) */
...
But it does not enumerate.
This is the only change I brought to the CubeMX generated code
Any hints ?
Thanks
Fabrice
