cancel
Showing results for 
Search instead for 
Did you mean: 

stm32c0 Spurious retransmission of USB IN packets

cuwittrock
Associate II

Hi,

I have the stm32c071 and I am running with TinyUSB 18.0 on it using CDC profile. Seems to work nicely but perhaps one in a 1000 IN transmissions the endpoint is re-activated out of the blue. Can't see that TinyUSB is doing something to make this happen (unless I have overlooked something) so my question is whether anyone has seen this behavior? I am trying to find out if this is a SW or a HW issue, and since I haven't been able to spot anything in TinyUSB I am now reaching out to hear if anyone has some information/knowledge that could help find the root cause. At the moment I can get by by setting the COUNT_TX value to 0 in the endpoint register after each transmission. The endpoint ought to have remained in NAK state as no call has been made to initiate a new transmission, and since I don't like to go about changing code without having properly identified the cause I am hoping the someone can help me getting the bottom of this.


Kind regards,
Christian

0 REPLIES 0