检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《电子设计工程》2011年第12期153-155,159,共4页Electronic Design Engineering
摘 要:为了实现PC机与CPLD的通信,进行了相应的研究。分析了RS-232C通信协议,自定义了数据包传输格式。根据UART模块工作状态多的特点,应用了有限状态机理论进行编程实现。为降低误码率,应用16倍频技术,实现了波特率为9 600 bit/s的串口通信。在Quartus II平台上用VerilogHDL进行编程,并通过了VC编写程序的数据传输的验证。研究成果为工程上PC机与嵌入式系统数据传输的问题提供了一种解决方法。In order to make an communication between CPLD and PC,a user-defined format of data package was given,which based on RS-232C communication protocol.According to the property that UART has many work sates,it used the theory of finite state mechine(FSM) to solve this problem.In order to reduce the bit error rate,the technology of 16-times diveded frequency was used,which helped to realize an UART with a 9600bit/s baud rate.This study gave a method to make a communication between embedded system and PC.
关 键 词:RS-232C UART CPLD VERILOGHDL 数据包格式 有限状态机 嵌入式系统
分 类 号:TP274.2[自动化与计算机技术—检测技术与自动化装置]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.207