[牛人杂谈] M483KG 如何使用HSUSBH_USBH_VCOM讀寫PL2303?

[复制链接]
2160|0
 楼主| laocuo1142 发表于 2021-7-26 10:02 | 显示全部楼层 |阅读模式
環境:
    開發版: M483KG
    usb轉uart:   PL 2303/ FT 232

目的:       如何使用HSUSBH_USBH_VCOM 讀寫PL 2303/ FT 232?


問題:
    插拔PL2303/FR232裝置,會顯示Connect device, disconnect device
    但是不知道如何傳收資料。

    訊息如下:
+---------------------------------------------------------+
|           M480 USB Host VCOM sample program             |
+---------------------------------------------------------+
|  (NOTE: This sample supports only one CDC device, but   |
|         driver supports multiple CDC devices. If you    |
|         want to support multiple CDC devices, you       |
|         have to modify this sample.                     |
+---------------------------------------------------------+
USB static memory: 6/256, heap used: 0
Connect device =>
New full-speed device address 2 assigned.
USB static memory: 7/256, heap used: 568
disconnect device...
USB static memory: 6/256, heap used: 0
USB static memory: 6/256, heap used: 0
Connect device =>
New full-speed device address 3 assigned.
USB static memory: 7/256, heap used: 568
disconnect device...
USB static memory: 6/256, heap used: 0
USB static memory: 6/256, heap used: 0
Connect device =>
New full-speed device address 4 assigned.
USB static memory: 7/256, heap used: 568

您需要登录后才可以回帖 登录 | 注册

本版积分规则

1296

主题

6239

帖子

15

粉丝
快速回复 在线客服 返回列表 返回顶部