当前位置:网站首页>USB转串口那些事儿—最大峰值串口波特率VS连续通信最高波特率
USB转串口那些事儿—最大峰值串口波特率VS连续通信最高波特率
2022-06-12 17:51:00 【WCH_SoftGroup】
串口波特率也称比特率,常用表示单位为bps(比特每秒,1秒钟可传输的bit总数)。以9600波特率为例:1秒钟串口信号线可以传输9600个bit位,1个位所需时间就是1/9600秒约104us。如下图所示:

USB转串口设备,通常支持各类标准以及非标准串口波特率,由USB转串口芯片内部或外部时钟源通过倍频或分频先得到内部串口时钟,然后由内部串口时钟分频得到目标串口波特率。根据USB速率不同,USB转串口又可以划分为全速USB转串口和高速USB转串口。全速USB物理层为12Mbps,高速USB物理层为480Mbps。对于常规低波特率通信,使用全速USB转串口可以满足应用需要,对于高波特率串口通信以及多串口通信,使用高速USB转串口效果更佳。
最大峰值串口波特率是指USB转串口芯片支持的物理最高串口波特率,串口双向通信的总带宽不会超过USB的总线速率,因此以全速USB转串口芯片为例,USB全速物理层为12Mbps半双工,考虑到USB协议及CRC等开销,收发双向使用6Mbps及以上速率串口通讯时,串口通讯必然为非连续传输。数据包之间会存在时间间隔。若要实现连续无间隔传输,可使用高速USB转串口芯片。
连续通信最高波特率是指USB转串口芯片串口实现连续无间隔传输时支持的最高串口波特率,有别于最大峰值串口波特率,该参数强调的是串口数据通信的连续性,对于串口发送来说,在串口数据的停止位和下一个串口数据的起始位之间没有字节间时间间隔。对于串口接收来说,可以连续采样接收无字节间时间间隔的串口数据,缓存在芯片接收FIFO中,然后等待上传至USB主机。通过示波器和逻辑分析仪可得到该间隔时间,在不借助硬件仪器的前提下,也可以对USB转串口设备进行大数据或大文件传输测试,得到串口收发速度。
简而言之,如果对于大数据量串口通信有速度和时间要求,就需要同步评估该芯片支持的最大峰值串口波特率与连续通信最高波特率。
边栏推荐
- Sqlserver common statements and functions
- Cesium抛物线方程
- Channel Original
- TensorFlow2训练数据集的两种方式
- Article name
- Advanced mountain -asp Net core router basic use demo 0.1
- [csp]202012-2 optimal threshold for period end forecast
- JDBC several pits
- 一种好用、易上手的小程序IDE
- Applet and app are owned at the same time? A technical scheme with both
猜你喜欢

JDBC quick start tutorial

JDBC快速入门教程

论文《Deep Interest Evolution Network for Click-Through Rate Prediction》

Tcp/ip family structure and protocol of tcp/ip series overview

Schedule update | 2022 Microsoft and Intel hacker song competition is in hot registration

利用小程序快速生成App,只需七步

JDBC快速入門教程

vant3+ts 封装uploader上传图片组件

Small program +app, a low-cost and active technology combination idea

Click the list page of vant3+ts+pinia tab to enter the details. The tab on the details page is highlighted in the original position, and the refresh highlight is in the first item by default
随机推荐
Make good use of IDE, speed up R & D efficiency by 100%
32-bit MCU mm32f0040 with smart micro high performance M0 kernel
JDBC快速入门教程
Continued 2 asp Net core router basic use demonstration 0.2 acquisition of default controller data
Vant3+ts dropdownmenu drop-down menu, multi data can be scrolled
一种好用、易上手的小程序IDE
grpc-swift入门
Goframe gredis configuration management | comparison of configuration files and configuration methods
小程序和App同时拥有?两者兼得的一种技术方案
Office application cannot start normally 0xc0000142
Vant3+ts H5 pages are nested into apps to communicate with native apps
vant3+ts h5页面嵌套进app 与原生app通信
認識函數原創
全局锁、表锁、行锁
Message queuing MySQL tables that store message data
Tensorflow prompts typeerror: unsupported operand type (s) for *: 'float' and 'nonetype‘
Small program +app, a low-cost and active technology combination idea
Lightweight and convenient small program to app technology solution to realize interconnection with wechat / traffic app
EASYCODE template
office应用程序无法正常启动0xc0000142