lpcware

Re: lpcopen usblib rtos integration

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by Tsuneo on Tue Jul 16 03:35:30 MST 2013
This post is a comment to "lpcopen usblib rtos integration"
http://www.lpcware.com/content/forum/lpcopen-usblib-rtos-integration
Because of unknown reason, above thread doesn't accept any new comment.


There are problems on "shared resource", which should make trouble on RTOS, when your code accesses to endpoints from two or more threads.

Some old USB engines on LPC families have restriction on concurrent endpoints access.
Also, LPCUSBLib (modified LUFA) in LPCOpen assigns unnecessary "shared variable" on the endpoint coding.

See this post on LPCXpresso forum for the details,
http://knowledgebase.nxp.com/showpost.php?p=29724&postcount=2

Tsuneo

Outcomes