[Solved]USBD: Multiple instances ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

[Solved]USBD: Multiple instances ?

1,030 次查看
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
标签 (1)
0 项奖励
回复
1 回复

1,019 次查看
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 项奖励
回复