This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430F5529: USB CDC Device Serial Port State Class Notifications

Part Number: MSP430F5529

I am implementing a USB CDC device and using CDC example projects . I see no code for reporting serial port status asynchronously such as Carrier Detect or DSR or framing or parity error.  It is not clear to me from the example code which EP to use and how to send it.

I saw an older question from someone asking about reporting DSR status and without any answer.

Can someone who has done it shed some light on how to do it?

Thanks

  • Hi Pran,

    May I ask about the application that you are working with that would require serial port status?  The USB CDC is a virtual COM port with no actual UART on which to configure baudrate, start/stop bits and flow control settings on the host.  You can configure these on the host but it won't have any effect on the CDC USB examples.  Because USB CDC is a virtual com port and because host settings don't matter, we don't have code to check port status.

    Regards,

    Arthi

  • Hi Arthi,

    We are implementing a modem connected to a USB port. The application needs to know when the modem has detected a carrier and valid data is coming in.

    This will be done by asserting the DCD (data carrier detect) signal.

    I look forward to you reply.

    Thanks

    Pran

  • You should analyze messages that are going from PC (CDC) to MSP430. There are was CDC - UART bridge example in older TI USB Stack version, but it is removed and not exist anymore. If you need this, you must code it by yourself.

  • hello Pran,

    Here is a link to an older version of USB stack that has a USB to UART bridge example.  The USB stack even in this version does not have code that implements  port status sent by device to host like carrier detect, framing, etc....  

    software-dl.ti.com/.../index_FDS.html

    Regards,

    Arthi

**Attention** This is a public forum