fix(usb/host): Fixed Full Speed periodic transfers on ESP32-P4

For FS periodic endpoints 'tokens_per_frame' must be set to 8
LL usb_dwc_ll_hctsiz_set_sched_info() function.
This commit is contained in:
Tomas Rezucha
2025-01-20 18:38:09 +01:00
parent f2fe95f31b
commit 47577b83c5

View File

@ -395,6 +395,8 @@ void usb_dwc_hal_chan_set_ep_char(usb_dwc_hal_context_t *hal, usb_dwc_hal_chan_t
} else {
tokens_per_frame = 8; // 1 token every microframe
}
} else {
tokens_per_frame = 8;
}
usb_dwc_ll_hctsiz_set_sched_info(chan_obj->regs, tokens_per_frame, ep_char->periodic.offset);
}