2026-05-16 1:07 AM - last edited on 2026-05-16 2:04 AM by Andrew Neil
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.
2026-05-16 1:11 PM - edited 2026-05-16 1:50 PM