You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// - URB_NOTREADY = a NAK, NYET, or not more than a couple of repeats of some of the errors that will
92
92
// become URB_ERROR if they repeat several times in a row
93
93
//
94
-
#if ARC_USB_FULL_SIZE
94
+
#if ARC_FS_OVER_HS
95
+
//
96
+
// In the underlying HAL code there are the following issues when running FS using the HS interface:
97
+
// This effects the GIGA as it has no external PHY which is required in order to run at HS.
98
+
//
99
+
// 1. Transmitting length larger then packetsize can cause future issues reading, the NAK nightmare.
100
+
// 2. Receiving multiple seperate packets can lead to lost data and the need to retry.
101
+
//
102
+
// So for transmitting we split the data into sizes of <= packet size and individually transfer them, only calling pPriv->transferCompleted() when all data is sent.
103
+
// For receiving we receive all the data and call pPriv->transferCompleted().
104
+
//
105
+
// If we get NAKS on the control OUT EPs we make sure that USB_OTG_HCCHAR_CHDIS ans USB_OTG_HCCHAR_CHENA are reset to the correct values.
0 commit comments