Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

VHDL UART code written by Bert Cuzea of alse-fr.com

Status
Not open for further replies.

Krishna_k

Newbie level 4
Joined
Sep 13, 2017
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
87
hello,

I want to take the data from the FPGA Spartan 3E board to PC. I take code from https://www.edaboard.com/threads/183801/.
They give code to transmit the data from PC to FPGA.
and redy to use ISE file for Spartnan 3E.

I have spartan 3E board, regarding UCF file I have a question.
#FTDI 245 BM control pins
NET "RDUSB_B" LOC = "P43";
NET "RDUSB_B" PULLUP;

NET "WRUSB" LOC = "P44";
NET "WRUSB" PULLDOWN;

I am not getting for what they use this switches?I also
 

Attachments

  • ALSE_Uart_simple.rar
    228.8 KB · Views: 80
  • uart_transmit.7z
    1.7 KB · Views: 77

Hi,

I don't know about the use code....

But what confuses me is "UART" and "FT245BM" because the FTDI chip is a parallel interface chip, no UART interface.
If you want UART then look for FT232.
If you want to use FT245, then avoid to talk about UART.

Btw: FT245BM is obsolete.

Klaus
 

thank you for reply

I am new with VHDL and FPGA.
I just want to take data out from spartan 3E to PC
the data is in digital form and it is continuous.

I thought I can do using UART.
 

The FTDI interface definition isn't related to the UART code you posted. If you want to understand what it's used for, review the documentation of your development kit.
 

hello,

I want to take the data from the FPGA Spartan 3E board to PC. I take code from https://www.edaboard.com/threads/183801/.
They give code to transmit the data from PC to FPGA.
and redy to use ISE file for Spartnan 3E.

Hello,

check this code (Verilog) I am using it on "Numato ElbertV2" (Spartan3A) in my projects and it is working fine:

https://github.com/FPGAwars/FPGA-peripherals/wiki/Asynchronous-serial-receiver-unit

https://github.com/FPGAwars/FPGA-peripherals/wiki/Asynchronous-serial-transmitter-unit

The code is good documented on WWW site I point. I made two sample projects based on that code:

1) Comunication (one way UART Tx) from FPGA board to µC Arduino UNO using RS-485 protocol (UART-RS485 converter is used)

2) Comunication (one wayUART Tx) from FPGA board to µC Arduino UNO using just UART (and LCD display shield attached to Arduino - just one line used)

These project with full code (FPGA ISE project + Arduino program) are described by me on polish robotic forum www.forbot.pl.

Because post on www.forbot.pl are in polish languege, I do not disclose links to them.

Regards
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top