基于STM32的USB转串口通信端口设计  被引量:14

Design of USB to serial communication port based on STM32

在线阅读下载全文

作  者:翟瑞 周静雷[1] Zhai Rui;Zhou Jinglei(School of Electronics and Information,Xi’an Polytechnic University,Xi’an 710048,China)

机构地区:[1]西安工程大学电子信息学院,西安710048

出  处:《国外电子测量技术》2021年第1期92-95,共4页Foreign Electronic Measurement Technology

摘  要:针对基于STM32的USB通信中存在通信不稳定与不可靠的不足,提出一种基于FT234XD的串口通信端口设计,可以实现USB通信协议转串口通信协议的转换。该方案首先是上位机通过串口通信向下位机发送指令实现对各硬件模块的参数配置。然后是下位机完成相应操作并将结果反馈给上位机,这样就可以实现上下位机数据交换。其次是避免传输中出现错误,将64bytes的数据打包通过串口通信进行发送,来验证通信的可靠性。最后是将USB转串口通信的端口设计运用到功率放大器中,来测试USB转串口通信具有速度快、稳定性好等优点。Aiming at the instability and unreliability of STM32-based USB communication,a serial communication port design based on FT234 XD is proposed,which can realize the conversion of USB communication protocol to serial communication protocol.In this scheme,the upper computer sends instructions to the lower computer through serial communication to realize the parameter configuration of each hardware module.Then the lower computer completes the corresponding operation and feeds the result back to the upper computer,so that data exchange between the upper and lower computers can be realized.The second is to avoid errors in transmission,packetizing 64-byte data and sending it through serial communication to verify the reliability of communication.Finally,the port design of USB-to-serial communication is applied to the power amplifier to verify that USB-to-serial communication has the advantages of fast speed and good stability.

关 键 词:FT234XD USB转串口通信 STM32F103 

分 类 号:TP336[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象