Host computer serial control FPGA Development Board LED

Source: Internet
Author: User

Experimental Purpose:

PC software through the serial port control FPGA Development Board on the 4 LED lights off, while the digital tube shows the number of LED lights, experimental results such as.

Experimental background:

Always want to learn FPGA, this is an introduction, I am reading to learn, so the code of the FPGA is reference to the revision of the book, in fact, very happy, because this experiment is my own diverging out of the book on the Development Board and I use the Development Board is not the same, and small software is written in C #, in short, very happy, In the spirit of open source, all the host computer code and FPGA program upload, if necessary, please download ( Click here to download ). I don't have time to write tutorials or anything, so let's introduce them briefly.

Hardware platform: Cyclone IV Series EP4CE6E22C8N system clock 50MHz

software Platform: Quartus 11.0 (32-bit)

System Environment: WIN7 flagship 64-bit

Hardware connection:

Figure 1 is the content of the Pinplanner in Quartus

Figure 1 Pinplanner Content

Table 1 for the resources used

Table 1 Hardware connections

Operation Flow:

1. Modify the code under the Rxdemo folder to fit your own, download to the Development Board


2, to ensure that the computer and Development Board has been connected through the serial port, open the Download Resources folder under the Serial assistant UartAssist.exe (here temporarily with the Serial assistant demo), serial assistant baud rate 9600, check bit none, data bit 8, stop bit.


3, serial Assistant in hexadecimal send byte 0x06, where two LED lights, the number of digital tube display light, the specific bytes need their own development board with.


If I write the software, the direct start can be controlled, the source code if interested can see, very stupid code


Conclusion:

Should go to bed, tomorrow also to work, originally wrote is technical paste, result literary and artistic stylish, will the following picture words and see the article you share. In this 20 chained age, the previous period, I also met the confusion of life, has not been trying to reach their goals, in the end to become what kind of people, by chance to see the dynamic of friends, Ah, in the days of waiting, I will can practice skills bar, I would like to use the next year to raise deep roots, for my foliage lush.



Host computer serial control FPGA Development Board LED

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.