/**
******************************************************************************
* @file Virtual_COM_Port/readme.txt
* @author MCU SD
* @version V1.0
* @date 6-Sep-2014
* @brief Description of the USB Virtual Com Port demo.
******************************************************************************
*/
@brief
This demo is based on the GD32150R-EVAL board,it provides a description of
how to use the USB-FS-Device peripheral.
It illustrates an implementation of the CDC class following the PSTN subprotocol.
The VCP example allows the GD32 device to behave as a USB-to-RS232 bridge:
- On one side, the GD32 communicates with host (PC) through USB interface in
Device mode.
- On the other side, the GD32 communicates with other devices(same host,other
host,other devices) through the USART interface (RS232).
The support of the VCP interface is managed through the GD Virtual Com Port driver
available for download from www.gd32mcu.21ic.com.
When the VCP application starts,the USB device is enumerated as serial communication
port and can be configured in the same way(baudrate,data format,parity,stop bit length).
To test the demo, you can use one of the following configurations:
- Configuration 1: Connect USB cable to host and USART (RS232) to a different host
(PC or other device) or to the same host. In this case, you can open two hyperterminal-like
terminals to send/receive data from/to host to/from device.
- Configuration 2: Connect USB cable to Host and connect USART TX pin to USART
RX pin on the evaluation board (Loopback mode). In this case, you can open one
terminal (relative to USB com port or USART com port) and all data sent from this
terminal will be received by the same terminal in loopback mode. This mode is useful
for test and performance measurements.
@note
When transferring a big file (USB OUT transfer) user has to adapt the size
of IN buffer, for more details refer to usbd_conf.h file (APP_RX_DATA_SIZE constant).
/****************** (C) COPYRIGHT 2014 GIGADEVICE *********END OF FILE*********/
没有合适的资源?快使用搜索试试~ 我知道了~
GD32F150系列.rar
共724个文件
h:164个
c:156个
d:84个
需积分: 50 40 下载量 43 浏览量
2020-03-09
11:07:28
上传
评论 1
收藏 30.76MB RAR 举报
温馨提示
GD32F150系列 几十种例子包括USB例子 中文Datasheet GD32150R-EVAL开发板原理图与说明 移植说明
资源推荐
资源详情
资源评论
收起资源包目录
GD32F150系列.rar (724个子文件)
Project.axf 282KB
Project.axf 206KB
Project.axf 199KB
Project.uvgui_Handyhuang.bak 70KB
Project.uvgui_Handyhuang.bak 70KB
Project_uvopt.bak 22KB
Project_uvproj.bak 22KB
Project_uvopt.bak 22KB
Project_uvproj.bak 22KB
Project_uvproj.bak 21KB
Project_uvproj.bak 21KB
Project_uvproj.bak 21KB
Project_uvopt.bak 21KB
Project_uvopt.bak 21KB
Project_uvopt.bak 21KB
cc936.c 707KB
cc949.c 554KB
cc950.c 440KB
cc932.c 244KB
ff.c 138KB
gd32f1x0_timer.c 84KB
gd32f1x0_rcc.c 40KB
gd32f1x0_usart.c 38KB
gd32f1x0_rtc.c 34KB
gd32f1x0_adc.c 32KB
gd32f1x0_i2c.c 30KB
ccsbcs.c 29KB
spi_sd.c 26KB
spi_sd.c 26KB
i2s_codec.c 25KB
gd32f1x0_tsi.c 24KB
rc5_decode.c 24KB
main.c 23KB
usbd_enum.c 23KB
gd32f1x0_fmc.c 22KB
system_gd32f1x0.c 21KB
gd32f1x0_dma.c 18KB
gd32f1x0_spi.c 18KB
core_cm3.c 17KB
usb_core.c 15KB
usb_core.c 15KB
usb_core.c 15KB
main.c 14KB
GUI.c 12KB
GUI.c 12KB
GUI.c 12KB
GUI.c 12KB
main.c 12KB
gd32f1x0_pwr.c 11KB
GUI.c 11KB
GUI.c 11KB
GUI.c 11KB
usbd_it.c 11KB
main.c 11KB
main.c 11KB
rc5_encode.c 11KB
main.c 11KB
main.c 10KB
main.c 10KB
usbd_cdc_vcp.c 10KB
main.c 9KB
gd32f1x0_cec.c 9KB
Lcd_Driver.c 9KB
Lcd_Driver.c 9KB
gd32f1x0_gpio.c 9KB
Lcd_Driver.c 9KB
main.c 8KB
Lcd_Driver.c 8KB
Lcd_Driver.c 8KB
Lcd_Driver.c 8KB
Lcd_Driver.c 8KB
gd32150r_eval.c 8KB
gd32150r_eval.c 8KB
main.c 8KB
usbd_core.c 8KB
gd32f1x0_dac.c 7KB
main.c 7KB
main.c 6KB
gd32f1x0_exti.c 6KB
usbd_desc.c 6KB
usbd_desc.c 6KB
usbd_desc.c 6KB
gd32f1x0_it.c 6KB
main.c 6KB
gd32f1x0_syscfg.c 6KB
main.c 5KB
mycc936.c 5KB
usbd_storage_msd.c 5KB
gd32f1x0_cmp.c 5KB
syscall.c 5KB
TFT_test.c 5KB
usbd_pwr.c 5KB
gd32f1x0_misc.c 4KB
gd32f1x0_it.c 4KB
main.c 4KB
usb_int.c 4KB
usb_int.c 4KB
usb_int.c 4KB
gd32f1x0_it.c 4KB
main.c 4KB
共 724 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
资源评论
wuchenghongww
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功