Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Visitor
mehta.vishal.360
Posts: 14
Registered: ‎08-03-2011
0

How to use two uarts in virtex 2 pro

Hello  all,

I have to make one application which uses two UARTS so i added uart_lite given in IP catalog and then make the TX and RX of the IP external. I have made max3232 circuit which works at 3.3 volts and i am connecting the TX and RX with max3232 11th and 12th pin which is TX and RX. I wrote the C code in which i am constantly sending "a" but am recieving some junk data on the terminal. I did check if the baud rate kept was diff but it was the same i reduced the baud rate than also the same thing...

Am i going wrong somewhere.???

Any help would be appreciated ..

 

Visitor
mehta.vishal.360
Posts: 14
Registered: ‎08-03-2011
0

Re: How to use two uarts in virtex 2 pro

I got the output  correct now......

But i had to keep the baud rate at the pc end lower than the baud rate at the FPGA side....this thing i did not understand....

Expert Contributor
rcingham
Posts: 2,010
Registered: ‎09-09-2010
0

Re: How to use two uarts in virtex 2 pro

Perhaps the clock to the UART in the FPGA is less than it is expecting.

------------------------------------------
"If it don't work in simulation, it won't work on the board."
Visitor
mehta.vishal.360
Posts: 14
Registered: ‎08-03-2011
0

Re: How to use two uarts in virtex 2 pro

May be yes..but i did try it again and this time the baud rate kept was same and it worked properly so may be i might have mistaken the first time....