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.

serial communication with spartan 3

Status
Not open for further replies.

priteshkukadia

Newbie level 2
Joined
Jan 15, 2014
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
10
hello,

I want to make RS232 serial interface of fpga with pc. i need a vhdl code for this. also i want to know how to assign the pins in the fpga for this? I am using xillinx spartan 3 kit.

thank you.
 

hello,

I want to make RS232 serial interface of fpga with pc. i need a vhdl code for this. also i want to know how to assign the pins in the fpga for this? I am using xillinx spartan 3 kit.

thank you.

Hi priteshkukadia,
here is the sample reference code for serial communication with fpga.

**broken link removed**

- - - Updated - - -

What is your clock frequency? You can transfer data at different baud rate. I assume you supplied with 50 Mhz clock. Then you need to divide the clock to 9600 baud rate .
formula to calculate counter value.input frequency(50 MHz) / Baud Rate(9600) = counter value(5208)

In serial Communication, first you need to transfer start bit then transfer data bits and finally stop bit. For every bit transfer at the delay of counter value(5208).]

Fpga Interface, You need to use TX/RX pin from UART and also Clock pin.

Hope It help you.

Regards,
Shahul
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top