Question
Wrong code in stm32f4xx_ll_usb.c line 2004
Hello,
In this file, the line:
USBx_HC((uint32_t)ch_num)->HCSPLT |= USB_OTG_HCSPLT_XACTPOS_Pos;wrongly alters bits 1 to 3 of register HCSPLT
That can be fixed simply by removing this line, since middle payload is encoded by bits 00 in the XACTPOS field.