2603 views|2 replies

1455

Posts

1

Resources
The OP
 

【Perf-V Evaluation】+Test of serial communication function [Copy link]

This post was last edited by jinglixixi on 2021-5-24 10:22

Serial communication and lighting programs are basic examples of program testing, but in the routines of the Perf-V development board, this function is placed in the Hummingbird DEMO instead of being provided in the FPGA DEMO. It can be seen that there is a certain contrast in the workload of the two in terms of function implementation!

Following the introduction of forum friends, I finally successfully verified this function on the Perf-V development board.

According to the pin assignment of the Perf-V development board, the pin constraints involved are shown in Figure 1.

Figure 1 Pin assignment

The serial communication function consists of three parts, namely: the top module uart_top, the receiving module uart_rx and the sending module uart_tx.

Since the procedures are long, they are not listed one by one.

After the program is compiled, the generated circuit schematic and Package diagram are shown in Figures 2 and 3.

Figure 2 Circuit diagram

Figure 3 Package diagram

After generating the bit file, connect the debugger to the development board and the computer to download the program. The specific line connection is shown in Figure 4.

Figure 4 Line connection

After downloading the program, set the communication parameters of the serial port assistant as shown in Figure 5 and open the serial port, then you can see the data sent by the FPGA development board.

At this time, if you click the "Send" button, you can see the received content fed back by the FPGA development board, as shown in Figure 6.

With the serial communication function, we can use it to observe the internal operation results or use the serial communication function to control some devices managed by serial instructions!

Figure 5 Data is automatically sent

Figure 6 Transceiver test

Project Files:

UART.zip

757.67 KB, downloads: 3

This post is from FPGA/CPLD

Latest reply

Thanks for sharing.   Details Published on 2021-5-24 09:48
 

2w

Posts

74

Resources
2
 

Thanks for sharing.

This post is from FPGA/CPLD
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle
Personal signature

加油!在电子行业默默贡献自己的力量!:)

 
 

1455

Posts

1

Resources
3
 

Thanks for your support!

This post is from FPGA/CPLD
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list