Other Parts Discussed in Thread: C2000WARE
I ported the official usb_dev_serial example to the DSP project, and also uses the official driver.
In the USB virtual serial port using DSP 28377S, the following problems are encountered:
1. Long-time running of the USB virtual serial port to transmit data (the device is a power electronic device with signal interference), and occasionally the DSP's USB virtual serial port may freeze.
Occurrence: Appears once every 10 hours
When a failure occurs: other DSP module are operating normally; preplugging the USB connector cannot solve the problem, and the virtual serial port communication cannot be activated again; replacing other computers cannot solve the problem and cannot restore communication; USBUARTPrimeTransmit() function does not enter; f28x_USB0DeviceIntHandler() interrupt enters;
Because the USB0DeviceIntHandler() function called in the f28x_USB0DeviceIntHandler() interrupt is packaged as a library, there is no clear solution. Please also give advice from the predecessors!
2. Another problem occurred during operation:
The USB virtual serial port is communicating. If the DSP restarts, the communication software on the PC side needs to manually close the serial port--reopen the serial port, and the serial communication can be restored, but not automatically. Would you like to ask if there is a solution that can realize the automatic recovery of communication in this case?