检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:翟瑞 周静雷[1] Zhai Rui;Zhou Jinglei(School of Electronics and Information,Xi’an Polytechnic University,Xi’an 710048,China)
出 处:《国外电子测量技术》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[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7