USB send status busy state after working for 2-3 hours in MIMXRT1041 controller.

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

USB send status busy state after working for 2-3 hours in MIMXRT1041 controller.

1,067 次查看
Pavankumar1
Contributor III

Hi,

I am using the RT1041 controller for a CAN analyzer project, where I have implemented a USB device using CDC VCOM(I am used dev_cdc_vcom_freertos example). In this setup, data is sent from the application to the controller via USB, which is then transmitted through CAN TX. Additionally, I am receiving CAN data from CAN RX and sending it back to the application through USB.

This setup works fine for approximately 3-4 hours. However, after this period, while the USB can still receive data, the USB send status indicates "busy." Eventually, both the sending and receiving functionalities stop working altogether.

Could you please help me identify the reason for this issue and suggest possible solutions?

Best regards,
Pavanakumar  A G

0 项奖励
回复
2 回复数

998 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Pavankumar1,

Have you analyzed the frames of the USB to see any anomalies within them?

Also make sure to look into the following community post, which describes a similar issue to yours: USB Freezes / kStatus_USB_Busy - NXP Community

BR,
Edwin.

0 项奖励
回复

866 次查看
Pavankumar1
Contributor III

Hi @EdwinHz 

I tried with the link that you shared https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-Freezes-kStatus-USB-Busy/m-p/1032419 but USB works for only some times after that some time USB transmit is enter into busy state or receive enter into busy state, is there an any other solution for this?

0 项奖励
回复