Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

LPC214x USB Problem

LPC214x USB Problem

2006-05-16 by philipp1024@web.de

Hi all,
I have a question about isochronous Endpoints with the LPC214X. Because if I implement two endpoints (0x6 for Out and 0x83 for In) I’ am able to sent Data to the PC but I have no idea how to receive data. 
There is no EP interrupt generated.
Does anyone has an idea what’s going on, or how isochronous out transfers?

Thanks in advance.

Best Regards
Philipp


_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192

Re: [lpc2000] LPC214x USB Problem

2006-05-16 by philipp1024@web.de

Oh, I forgot :
At the moment I’m using the IAR Development kit and the IAR USB Stack. On the PC side I’m currently using Jungo-Win-Driver but I will also try it with libusb-win32.

> -----Ursprüngliche Nachricht-----
> Von: lpc2000@yahoogroups.com
> Gesendet: 16.05.06 09:53:02
> An: lpc2000@yahoogroups.com
> Betreff: [lpc2000] LPC214x USB Problem


> Hi all,
> I have a question about isochronous Endpoints with the LPC214X. Because if I implement two endpoints (0x6 for Out and 0x83 for In) I’ am able to sent Data to the PC but I have no idea how to receive data. 
> There is no EP interrupt generated.
> Does anyone has an idea what’s going on, or how isochronous out transfers?
> 
> Thanks in advance.
> 
> Best Regards
> Philipp
> 
> 
> _______________________________________________________________
> SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 


_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192

Re: LPC214x USB Problem

2006-05-19 by frodri123123

In isochronous transfers data is sent in preassigned slots at each frame (and never more 
than once in a frame).  For this reason a dedicated interrupt is not rquired.

From the manual: " Isochronous endpoint will have one packet of data to be transferred in 
every frame. So the data transfer has to be synchronized to the USB frame rather than 
packet arrival. So, for every 1 ms there will be an interrupt to the system."

What you should do is use the start of frame interrupt, and poll to see how much data has 
arrived in your endpoint then:

So something like this should do it:

FRAME INTERRUPT HANDLER:
{
 
if (size=ReadEndPoint(3, &Buffer))
{
   Process your data
}




--- In lpc2000@yahoogroups.com, philipp1024@... wrote:
>
> Hi all,
> I have a question about isochronous Endpoints with the LPC214X. Because if I 
implement two endpoints (0x6 for Out and 0x83 for In) I' am able to sent Data to the PC 
but I have no idea how to receive data. 
Show quoted textHide quoted text
> There is no EP interrupt generated.
> Does anyone has an idea what's going on, or how isochronous out transfers?
> 
> Thanks in advance.
> 
> Best Regards
> Philipp
> 
> 
> _______________________________________________________________
> SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
>

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.