Why is the count of Endpoints limited to 5 in the Endpoint_lpc11Uxx.h???

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why is the count of Endpoints limited to 5 in the Endpoint_lpc11Uxx.h???

744 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by danhauck on Thu Feb 07 07:03:19 MST 2013
I`ve compiled the nxpusblib for the lpc1347. Here the header-files of the lpc11uxx is used. I think its the same usb periphery.

Then I tried to create a composite device with mass storage and virtual com port class

- control transfer is on endpoint 0
- mass storage uses 2 endpoints
- virtual com port uses 3 endpoints

So I therefore need 6 endpoints. But the lib is limited to 5 endpoints. In case of an lpc17xx its limited to 6 endpoints

Does anybody knows the cause of that limitation?

best regards

Daniel
Labels (1)
0 Kudos
4 Replies

730 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tuong on Mon Mar 11 02:45:57 MST 2013
Hi,

In nxpUSBlib, 1 logical endpoint can only map to 1 physical endpoint. From your design, the requirement is 5 logical endpoints plus 1 control endpoint, but the UM10524 says LPC1347 only has 4 logical endpoints plus 1 control endpoint, so this chip can not fit your design.

With best regards,
0 Kudos

730 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by danhauck on Wed Feb 13 06:34:59 MST 2013
Hi, thanks for your reply. But its only have the truth.

I only need one logigal endpoint for in and out.

So I can use in my case for the mass storage class section 1 logical endpoint for in and out (2 physical endpoints). And for the virtual com port (CDC) 2 logigal endpoints for in and out (2 physical endpoints) and 1 logical endpoint for the control endpoint (1 physical endpoint).

So in summary I`m using 3 logical endpoints and 5 physical endpoints.

regards

Daniel
0 Kudos

730 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by serge on Fri Feb 08 01:35:00 MST 2013
As stated in the UM10524 2013 January 21 (your Bible)

10.3 Features
• USB2.0 full-speed device controller.
• <B><U>Supports 10 physical (5 logical) endpoints including one control endpoint.</U></B>
• Single and double-buffering supported.
• Each non-control endpoint supports bulk, interrupt, or isochronous endpoint types.
• Supports wake-up from Deep-sleep mode on USB activity and remote wake-up.
• Supports SoftConnect.

So it looks like there are only 5 endpoints integrated in the hardware
0 Kudos

730 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by danhauck on Thu Feb 07 07:05:37 MST 2013
In addition I have to say:

I set the define ENDPOINT_DETAILS_MAXEP from 5 to 6 but it didn`t work.

Also setting "extern USB_CMD_STAT EndPointCmdStsList" from 10 to USED_PHYSICAL_ENDPOINTS

0 Kudos