Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

USBN9603: how to receive a zero length packet from the host?

Status
Not open for further replies.

alexz

Full Member level 5
Joined
Nov 19, 2004
Messages
283
Helped
6
Reputation
12
Reaction score
3
Trophy points
1,298
Location
UK
Activity points
2,246
USBN9603

I am developing a USB Mass Storage Device using the USBN9603 and PIC.

I have a question regarding the USBN9603.

What should I do exactly when I receive a zero length packet from the host?
Should I read again the status register or not?

I have a problem of the no available transmit buffer space.
TCOUNT in the TXS0 = 0 .
and the data is not probably transmitted
How can I solve it?
 

Re: USBN9603

alexz said:
I am developing a USB Mass Storage Device using the USBN9603 and PIC.

I have a question regarding the USBN9603.

What should I do exactly when I receive a zero length packet from the host?
Should I read again the status register or not?
Yes, you should. The very fact that you asked this question is probably because you've seen something regarding it in the datasheet but are not sure about it. If you don't do so, the RX_LAST bit would not be cleared and the interrupt would be retriggered.
 

Re: USBN9603

checkmate said:
alexz said:
I am developing a USB Mass Storage Device using the USBN9603 and PIC.

I have a question regarding the USBN9603.

What should I do exactly when I receive a zero length packet from the host?
Should I read again the status register or not?
Yes, you should. The very fact that you asked this question is probably because you've seen something regarding it in the datasheet but are not sure about it. If you don't do so, the RX_LAST bit would not be cleared and the interrupt would be retriggered.


so, if I receive a zero length packet and read the status again, I will probably get some setup data, do I have to process it as usual? Like I did not receive the zero length packet?
 

USBN9603

How can i interface with the PC?

Added after 35 seconds:

What language should i use?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top