打印
[牛人杂谈]

M483KG 如何使用HSUSBH_USBH_VCOM讀寫PL2303?

[复制链接]
1808|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

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

980

主题

4055

帖子

10

粉丝