-
1. Re: Read endpoint data using external logic
prajithc_21 Sep 6, 2011 7:22 AM (in response to monika.ragers)Hi,
Can you upload your code?
Regards,
Prajith
-
2. Re: Read endpoint data using external logic
monika.ragers Sep 6, 2011 10:38 PM (in response to monika.ragers)the code is for bascom:
-
usbGet.txt.zip 1.2 K
-
-
3. Re: Read endpoint data using external logic
monika.ragers Sep 6, 2011 11:20 PM (in response to monika.ragers)hardware: 3684 dvk
the external logic contains a mega8535 (avr) porta of which is connected to 74ls245(data_buffer) and to fd0 to fd7
portd of avr is used for fifo control pins (sloe, slrd, fifoadr[0-1], ...) and connected to them through a 74ls245 (control_buffer), portc is connected to LCD 16*2 , portb.0 is connected to an led to blink to show the device is working.
-
4. Re: Read endpoint data using external logic
monika.ragers Sep 6, 2011 11:57 PM (in response to monika.ragers)sorry it may be a hardware problem!!!!!!!!
-
5. Re: Read endpoint data using external logic
monika.ragers Sep 7, 2011 11:50 PM (in response to monika.ragers)Hi
it was not hardware problem!!!
I checked it with logic analyzer all the signals are passed correctly to the 3682 board but it still gives the same data.
dscr.a51 priph.c and usbGet.bas(program for external logic) are attached.
thanks in advance.
-
files1.zip 5.2 K
-
-
6. Re: Read endpoint data using external logic
monika.ragers Sep 10, 2011 10:41 PM (in response to monika.ragers)Dear Prajith
files attached is there any thing wrong?
-
7. Re: Read endpoint data using external logic
prajithc_21 Sep 12, 2011 7:02 AM (in response to monika.ragers)Hi,
Are you using inverted IFCLK signal?
Have you configured FLAGC as Empty flag?
What is the configuration for EP6, 2x or 4x?
Please try with the attached code. I used FLAGD for checking status (Empty) of EP2.
Regards,
Prajith
-
newperiph.txt.zip 2.5 K
-
-
8. Re: Read endpoint data using external logic
monika.ragers Sep 13, 2011 5:21 AM (in response to monika.ragers)Dear Prajith
I used your code and guidance just added a OUTPKTEND=0x82 after FIFOs reset.
flagc is Working currectly as empty flag.
Now it works great. thank you very much.