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.

MSP430F5528: Can USB HID and CDC work at the same time ?

Part Number: MSP430F5528
Other Parts Discussed in Thread: MSP430WARE, MSP-EXP430F5529LP

Hi 

We are using MSP430F5528 for USB HID function and is wondering if USB HID and CDC work at the same time ? 

Can you help clarify?  thanks!

  • Hello PYTsai,

    Yes, you can do both at same time.  This would be called a "compound interface".

    There are examples of this in the MSP430Ware USB library examples.

    After downloading and installing the MSP430Ware you should be able to find the examples as shown (example on my PC).

    Specifically project CH1_term2hidDemo.

  • Hi Dennis

    I would like to change HH1_hidDemo2hidDemo example code to create 2 HID mode devices, but the new one HID mode is keyboard mode like as C:\ti\msp430ware_3_80_07_00\examples\boards\MSP-EXP430F5529LP\MSP-EXP430F5529LP_Software_Examples\Firmware\Source\OutOfBox_EmulStorageKeyboard.

    Can both HID mode work at same time? do you have example code? Thanks.

    Best regards,

    Phil Huang

  • Hi Phil,

    BTW, there is another keyboard example (in case you didn't know) located in:

    MSP430Ware_x_xx_xx_xx\usblib430\MSP430_USB_Software\MSP430_USB_API\examples\HID_humanInterface\Traditional\H8_Keyboard.

    Yes, both HID interfaces will work at same time, as in HH1_hidDemo2hidDemo example you mentioned.

    Unfortunately, the only example code that is available is in the MSP430Ware library that you are already digging through.

**Attention** This is a public forum