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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,013 Views
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 Kudos
Reply
2 Replies

944 Views
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 Kudos
Reply

812 Views
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 Kudos
Reply