1/1
How to send 0 packet using USB 2.0 Function Core
by zhangchun on Apr 2, 2004 |
zhangchun
Posts: 4 Joined: Aug 14, 2014 Last seen: Jan 3, 2025 |
||
Hi, all,
It seems that function controller must assign zero to Maxpayload of endpoint register to send zero bytes packet. Is there any other method? regards, chun |
How to send 0 packet using USB 2.0 Function Core
by Unknown on Apr 2, 2004 |
Not available! | ||
Set the TXZERO bit ( bit 5) of ep_stat register of corresponding endpoint.
Rgds
Vivek
-----Original Message-----
From: usb-bounces@opencores.org [mailto:usb-bounces@opencores.org]On Behalf Of zhangchun
Sent: Friday, April 02, 2004 6:25 AM
To: Discussion list about free,open source USB IP core
Subject: [usb] How to send 0 packet using USB 2.0 Function Core
Hi, all,
It seems that function controller must assign zero to Maxpayload of endpoint
register to send zero bytes packet. Is there any other method?
regards,
chun
_______________________________________________
http://www.opencores.org/mailman/listinfo/usb
|
How to send 0 packet using USB 2.0 Function Core
by zhangchun on Apr 2, 2004 |
zhangchun
Posts: 4 Joined: Aug 14, 2014 Last seen: Jan 3, 2025 |
||
Do you mean set EP_CSR register of corresponding endpoint?
From the spec (Rev 1.4) of USB 2.0 Function Core, there is no TXZERO bit.
In EP_CSR register, bit 10:0 is maxpayload size.
regards,
chun
----- Original Message -----
From: "Jain, Vivek (Vivek)" vivekjain@agere.com>
To: "Discussion list about free,open source USB IP core" usb@opencores.org>
Sent: Friday, April 02, 2004 1:25 PM
Subject: RE: [usb] How to send 0 packet using USB 2.0 Function Core
Set the TXZERO bit ( bit 5) of ep_stat register of corresponding endpoint.
Rgds
Vivek
-----Original Message-----
From: usb-bounces@opencores.org [mailto:usb-bounces@opencores.org]On Behalf Of zhangchun
Sent: Friday, April 02, 2004 6:25 AM
To: Discussion list about free,open source USB IP core
Subject: [usb] How to send 0 packet using USB 2.0 Function Core
Hi, all,
It seems that function controller must assign zero to Maxpayload of endpoint
register to send zero bytes packet. Is there any other method?
regards,
chun
_______________________________________________
http://www.opencores.org/mailman/listinfo/usb
_______________________________________________
http://www.opencores.org/mailman/listinfo/usb
|
How to send 0 packet using USB 2.0 Function Core
by Unknown on Apr 7, 2004 |
Not available! | ||
Hi Sir,
I think you want to response In-data packet with Zero for set_address.
In my case, I have set register before the IN-PID as following:
WIF_WB_RF(18'h00040,32'h0301_0000); // Endpoint 0: CSR // Set
MaxPackSize = 0
FYI,
Jeff
----- Original Message -----
From: zhangchunzhangchun@t...>
To:
Date: Fri Apr 2 08:51:39 CEST 2004
Subject: [usb] How to send 0 packet using USB 2.0 Function Core
Do you mean set EP_CSR register of corresponding endpoint?
>From the spec (Rev 1.4) of USB 2.0 Function Core, there is no
TXZERO bit.
In EP_CSR register, bit 10:0 is maxpayload size.
regards,
chun
----- Original Message -----
From: "Jain, Vivek (Vivek)" vivekjain@a...>
To: "Discussion list about free,open source USB IP core"
usb@o...>
Sent: Friday, April 02, 2004 1:25 PM
Subject: RE: [usb] How to send 0 packet using USB 2.0 Function Core
> Set the TXZERO bit ( bit 5) of ep_stat register of
corresponding endpoint.
>
> Rgds
> Vivek
> -----Original Message-----
> From: usb-bounces@o...
[mailto:usb-bounces@o...]On Behalf Of zhangchun
> Sent: Friday, April 02, 2004 6:25 AM
> To: Discussion list about free,open source USB IP core > Subject: [usb] How to send 0 packet using USB 2.0 Function Core
>
> > Hi, all, > > It seems that function controller must assign zero to Maxpayload of endpoint
> register to send zero bytes packet. Is there any other method?
>
> regards,
> chun
>
> _______________________________________________
> http://www.opencores.org/mailman/listinfo/usb
>
> _______________________________________________
> http://www.opencores.org/mailman/listinfo/usb
>
|
1/1