Re: Flushing EP2IN on MAX3421E and WinUSB
- From: Andrew Jackson <alj@xxxxxxxxxx>
- Date: Thu, 31 Jul 2008 09:57:23 +0100
Bill,
In my project I sometimes read a stream of data from a device attached to a MAX3421E. That part has a couple of 64 bytes FIFO's, and when they are empty, I fill them again, and lovely data rates.
So you are using the MAX3421E in peripheral mode.
All is well UNTIL I want to stop the stream, and read something else. The 2*64 bytes gets prefixed to the next thing I read.
Reading the data does not work as the CPU driving the MAX3421E obligingly fills the FIFO's up again.
You could try setting STALL on EP2 from PC then clearing it. This should force the MAX3421E to reset that endpoint.
Andrew
.
- References:
- Flushing EP2IN on MAX3421E and WinUSB
- From: Bill Davy
- Flushing EP2IN on MAX3421E and WinUSB
- Prev by Date: Re: PIC 18F4550 dooes not respond to interrupts at all :-(
- Next by Date: arm9 memory throughput
- Previous by thread: Flushing EP2IN on MAX3421E and WinUSB
- Next by thread: Variable reluctance motor drive?
- Index(es):