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.

Setting DSR with the USB CDC API with a MSP430 microcontroller

Hi

I've been developing a device that's using the USB CDC API so we can have backwards compatibility with our devices.

To enable this we need to have DTR and DSR signalled. I was able to signal DTR by following instructions in (http://e2e.ti.com/support/microcontrollers/msp43016-bit_ultra-low_power_mcus/f/166/p/97363/341021.aspx#341021), but that still leaves me wondering about DSR.

So any suggestions how I could signal the device driver that DSR is up and everything is ready?

I'm also wondering why TI hasn't implemented these to the actual API and leaves us with workarounds, cause I'd assume that other people have the same type of backwards compatibility problems as I'm facing too.

Any ideas on the DSR would be highly appreciated,

  - Antti

  • DSR signaling is sent as 10 bytes SerialState Notification over the interrupt IN endpoint. The CDC implementation of the MSP430 USB stack doesn't take care of this endpoint at all. It just enables the endpoint, which requires to run PC CDC driver properly. In this reason, DSR support is not so easy as DTR on this stack.

    Please wait for a couple of days.
    I've written the DSR code instantly, but our MSP430 boards aren't available now. They are assigned to an other project. After testing the code, I'll post it here.

    Tsuneo

  • Hi!

    Any update on this one? Still would love to get DSR signalling working for backwards compatibility for our devices.

**Attention** This is a public forum