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:USB HID 和 CDC 能否同时工作?

Guru**** 2124380 points
Other Parts Discussed in Thread: MSP430F5528, MSP-EXP430F5529LP
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/824872/msp430f5528-can-usb-hid-and-cdc-work-at-the-same-time

器件型号:MSP430F5528
主题中讨论的其他器件: MSP430WAREMSP-EXP430F5529LP

你(们)好  

我们将 MSP430F5528用于 USB HID 功能、想知道 USB HID 和 CDC 是否同时工作?  

您能帮助澄清吗?  谢谢!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    PYTsai、您好!

    是的、您可以同时执行这两项操作。  这称为"复合接口"。

    MSP430Ware USB 库示例中提供了相关示例。

    下载并安装 MSP430Ware 后、您应该能够找到所示的示例(我的 PC 上的示例)。

    具体项目为 CH1_term2hidDemo。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你(们)好 Dennis

    我想更改 HH1_hidDemo2hidDemo 示例代码以创建2个 HID 模式器  件、但新的一种 HID 模式是键盘模式、如 C:\ti\msp430ware_3_80_07_00\examples\boards\MSP-EXP430F5529LP\MSP-EXP430F5529LP_Software_Software_Firmware\Source\OutEmulator。

    两种 HID 模式能否同时工作? 您有示例代码吗? 谢谢。

    此致、

    黄菲

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Phil、

    BTW、以下位置提供了另一个键盘示例(如果您不知道):

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

    是的、两个 HID 接口将同时工作、如您提到的 HH1_hidDemo2hidDemo 示例中所示。

    遗憾的是、您已经在深入探究 MSP430Ware 库中提供的唯一示例代码。