USB_EVT_IN_NAK missing in action

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

USB_EVT_IN_NAK missing in action

1,066件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by chris_bayley_trimble on Sun Aug 23 21:30:21 MST 2015
In using USBD ROM if I initialise the stack, register endpoint handlers, and EnableEvent(USB_EVT_IN_NAK & USB_EVT_OUT_NAK) on the endpoints BUT do NOT prime the endpoints I expect that the first events I will have to handle in the endpoint handler is an IN_NAK or OUT_NAK depending on the direction. I observe this to be true for the OUT_NAK but I get no event for an IN request when the EP is not primed. Is this the expected behaviour ?
How can I get a IN_NAK before the endpoint is primed ?
(I have some sleeping peripherals that I wish to wake upon arrival of the first NAK which will produce my USB data)

ラベル(1)
  • USB

0 件の賞賛
返信
0 返答(返信)