mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +02:00
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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user