NXPUSBlib CDC miss DMA EndTransfer interrupt for messages of 64 bytes

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

NXPUSBlib CDC miss DMA EndTransfer interrupt for messages of 64 bytes

470件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Andrea Colombo on Fri May 03 05:48:12 MST 2013

I'm performing some test with NXPUSBlib (CDC class) on LPC1758 and I have this strange behavior: After the connection with the PC, that loads correctly the new COM port, I send packages of different size to the device. It seems to work everything well because for each message I have an interrupt for DMA NewTransferRequest at the beginning of the transmission and an interrupt for DMA EndTransfer at the end of the transmission. Unfortunately if my package is of 64 bytes size I see only the interrupt for DMA NewTransferRequest, but the interrupt for DMA EndTransfer doesn't happen. The packet isn't lost because, if I send a new message of a different dimension I can see all the interrupts and I can find in the buffer both the sent messages.
Do you have some suggestion to debug or fix this problem?

thanks
Andrea

ラベル(1)
0 件の賞賛
返信
0 返答(返信)