Description: 用FPGA实现了RS232异步串行通信,所用语言是VHDL,另外本人还有Verilog的欢迎交流学习,根据RS232 异步串行通信来的帧格式,在FPGA发送模块中采用的每一帧格式为:1位开始位+8位数据位+1位奇校验位+1位停止位,波特率为2400。由设置的波特率可以算出分频系数,具体算法为分频系数X=CLK/(BOUND*2)。-Using FPGA to achieve the RS232 asynchronous serial communication, the language used is VHDL, In addition, I also welcome the exchange of learning Verilog, according to RS232 asynchronous serial communication to the frame format, in the FPGA module used to send each frame format : the beginning of a bit+ 8-bit data bit+ 1 bit odd parity bit+ 1 bit stop bit, baud rate for 2400. By setting the baud rate can be calculated at the frequency coefficient, the specific algorithm for the sub-frequency coefficient X = CLK/(BOUND* 2). Platform: |
Size: 1024 |
Author:saibei007 |
Hits:
Description: RS232 verilog coding 全参数化设计 可以自己设定波特率 时钟频率等 完全FPGA实现调通-RS232 verilog coding the entire parametric design can set the baud rate clock frequency of FPGA to achieve complete transfer pass Platform: |
Size: 2048 |
Author:dinsh |
Hits:
Description: 完整的RS232 Verilog源代码,支持波特率可调,支持调试命令,配合串口调试工具,可作为FPGA开发中的调试平台。-Full RS232 Verilog source code, support for baud rate is adjustable to support debugging command, with the serial debugging tools can be used as the debugging FPGA development platform. Platform: |
Size: 13312 |
Author:弘历 |
Hits:
Description: 在ISE环境下,用VHDL语言实现RS232串口设计,实现串口通信。通过串口调试工具向
0000000UART发送16进制数,FPGA将UART接收到的串行数据转换为并行数据,并在8个
LED灯上输出显示;同时,并行数据又被重新转换为串行数据,重新送给RS-232接口,并在
串口调试工具上再次显示,SW0为复位键。
比如:串口调试工具发送两位16进制数,然后能在LED上显示,并且重新在串口调试工
具上显示。串口调试工具设置:波特率设为9600,默认奇校验。-In the ISE environment, using VHDL language RS232 serial port design, serial communication. Through the serial debugging tool to
0000000UART Send a hexadecimal number, FPGA serial data received by the UART converted to parallel data, and 8
LED lights on the output display the same time, parallel data has been re-converted to serial data, re-sent to the RS-232 interface, and in
Serial debugging tools on the show again, SW0 for the reset button.
For example: serial debugging tool to send two 16 hexadecimal number, and then can be displayed on the LED, and re-debugging in the serial port
With a display. Serial debugging tool settings: baud rate is set to 9600, the default odd parity. Platform: |
Size: 403456 |
Author:panda |
Hits:
Description: 编制一全双工UART电路,通过试验箱MAX202E转换成RS232电平,与计算机进行通讯实验,设置8个按键,按键值为ASIC码“1”~“8”,通过串口发送给计算机,在计算机上显示键值,同时在数码管最高位显示;计算机可发送“0”~“F”的ASIC码,FPGA接收后在数码管低位显示0~F。通过按键可设置波特率。
要求:波特率为三种 1200、2400、9600,由1个按键选择,3个LED分别指示;
数据格式为1位起始位、8位数据位和一位停止位;
上位计算机发送接收软件可使用“串口调试器“软件;
发送和接收数据时,由两个LED分别指示。
发挥:自动回发功能、接收到特殊字符(自定义)自动更改波特率。(A full duplex UART circuit, converted into RS232 level by MAX202E test box, communication experiment with computer, set of 8 buttons, keys for ASIC code "1" to "8", to the computer through the serial port to send and display keys on the computer, at the same time in the digital tube display high computer can send "; 0" to "F" in the ASIC code, FPGA after receiving the digital tube display low 0~F. You can set the baud rate by the button.
Requirements: baud rate for three, 1200, 2400, 9600, selected by 1 buttons, 3 LED, respectively;
The data format consists of 1 bit start bits, 8 bit data bits, and one stop bit;
The upper computer sends and receives the software, and the serial debugger can be used;
When sending and receiving data, instructions are given by two LED respectively.
Play: Auto postback function, receive special characters (custom), change baud rate automatically.) Platform: |
Size: 2948096 |
Author:淡淡的意识
|
Hits: