USB_EVT_IN_NAK missing in action

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

USB_EVT_IN_NAK missing in action

1,067 次查看
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)
0 项奖励
回复
0 回复数