[Solved]USBD: Multiple instances ?

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

[Solved]USBD: Multiple instances ?

1,025 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by chris_bayley_trimble on Tue Apr 14 16:52:38 MST 2015
When using a 4370 is there any known reason I can't use multiple instances of USBD ?

I have a setup that should be able use both USB0 and USB1 as devices, and either one works fine on it own but if I call
USBD_API->hw->Init() twice (with different instance variables of course) the stack appears to jam up.(Interrupts become intermittent/dropped and the device does not enummerate)

Is there some known thing I should be aware of ??

Cheers all,
C
Labels (1)
0 Kudos
Reply
1 Reply

1,014 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by chris_bayley_trimble on Wed Apr 15 16:44:09 MST 2015
Got it: 

USBD_API_INIT_PARAM_T::mem_base must be 2048 byte aligned.

: )
C
0 Kudos
Reply