RT1064 EVK USB DEVICE no interrupt

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

RT1064 EVK USB DEVICE no interrupt

ソリューションへジャンプ
533件の閲覧回数
vdinh
Contributor I

I use the demo code evkmimxrt1064_dev_cdc_vcom_lite_bm on the RT1064 EVK.  The code works fine as the data echo back from the input char.  Now I want to change it to send the input to another place instead of sending it back to the USB port.  After code modification, I don't get the USB interrupt anymore. except the first input char (I have a breakpoint at USB_OTG1_IRQHandler()).  If I send the data to other place and back to the USB port then I can get the interrupt for every char.

Is there a register that need to be reset to reenable the interrupt in 

USB_DeviceSendRequest(s_cdcVcom.deviceHandle, USB_CDC_VCOM_BULK_IN_ENDPOINT, s_currSendBuf, size);

Thanks.

0 件の賞賛
1 解決策
512件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi @vdinh ,

Please refer to this case.

https://community.nxp.com/t5/i-MX-RT/Apparent-bug-in-virtual-com-port-example/td-p/1161889

You can avoid this problem by calling

USB_DeviceSendRequest(s_cdcVcom.deviceHandle,USB_CDC_VCOM_BULK_IN_ENDPOINT,0,0);

 

Regards,

Jing

元の投稿で解決策を見る

1 返信
513件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi @vdinh ,

Please refer to this case.

https://community.nxp.com/t5/i-MX-RT/Apparent-bug-in-virtual-com-port-example/td-p/1161889

You can avoid this problem by calling

USB_DeviceSendRequest(s_cdcVcom.deviceHandle,USB_CDC_VCOM_BULK_IN_ENDPOINT,0,0);

 

Regards,

Jing