- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Re: UART Problem
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-17-2009 09:17 AM
Ok, this is what I would do….
Configure the Starter Kit with one of the designs provided on the web site. Each comes with a BIT file and even a batch file to load it quickly.
Set up HyperTerminal exactly as described in the documentation for the reference design and see that everything works as expected. If it doesn’t then start checking or cables and PC for something strange.
If that works then set up the terminal you are using and check that the same reference design results in the correct values. All designs output an introduction message when configuration completes so you should see that each time you configure the device. If that doesn’t work then your terminal settings must be wrong.
If all that works then it must be the way you have set up your own design.
Try setting your design to keep transmitting 'A' (41 Hex) and see if that shows in Hypter Terminal.
Principal Engineer, Xilinx UK
Re: UART Problem
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-18-2009 05:32 AM
I have used the reference design and succussfully communicated via hyper terminal.
I have also tested my own design connections by using Hyper Terminal. It works fine if I convert the Hexadecimal number ot ASCII characters and display it via Hyper Terminal. But, if I send Hex number directly to Hyper Terminal, It doesn't show the correct value. It means Hyper Terminal only accepts ASCII characters, and my design connections are correct. Am I right?
But, I want to send Hexadecimal value directly without ASCII conversion. But, when I send Hexadecimal number directly my software (Docklight) shows FF for every value I send. How can I send Hex number directly out of UART?
Re: UART Problem
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-18-2009 10:07 AM
caratamity wrote:I have used the reference design and succussfully communicated via hyper terminal.
I have also tested my own design connections by using Hyper Terminal. It works fine if I convert the Hexadecimal number ot ASCII characters and display it via Hyper Terminal. But, if I send Hex number directly to Hyper Terminal, It doesn't show the correct value. It means Hyper Terminal only accepts ASCII characters, and my design connections are correct. Am I right?
But, I want to send Hexadecimal value directly without ASCII conversion. But, when I send Hexadecimal number directly my software (Docklight) shows FF for every value I send. How can I send Hex number directly out of UART?
Simply load the serial port outgoing register with a byte, and it will send that byte. The byte, of course, is represented by a hex value between 0x00 and 0xFF. If your software can display the raw hex value of data coming over the wire, then it should work without any issues. Hyperterminal of course only knows how to display ASCII which is why it's not useful here.
----------------------------------------------------------------
Yes, I do this for a living.
Re: UART Problem
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-24-2009 01:43 PM
Thank you both of you. I have solved my problem. Chapman proposed excellent solution. Actually, my terminal was operating at 9600 and I was using different baud rate. Because with Hyperterminal you can select the matching baud rate. So, I was able to communicate correctly with Hyperterminal and then I figured out the actual baud rate of my software which was 9600 and when I changed my baud rate in VHDL to 9600 it is working fine.
Thank you all.
Re: UART Problem
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-22-2012 03:27 AM
hi,
ı have read the conversation about uart problem. ı need to get the reference guide about hyperterminal (or what ever). ı could not exaactly understood the with and where the manual you mainteioned. ı have a similar problem with spartan 3 an starter kit. my uart works using simulation but on board practice the data ı send through the serial prot is not the sme as ı read from leds (also form the chipscope ı read a different data serial ). also another problem ı get is; the chip scope warn me as: slow or stopped clock (at the upper part of the waveform window)
Re: UART Problem
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-22-2012 03:58 AM
Reference designs for the Spartan-3AN Starter Kit are located here...
http://www.xilinx.com/products/boards/s3astarter/r
For each design there is a link to a PDF document and a ZIP file. The design called ‘XC3S700AN Plash Programmer’ would be a suitable one for you to test your RS232 communication and terminal set up.
Note also that the original PicoBlaze packages that you download from the PicoBlaze Lounge contain UART documentation and a simple reference design (but not for the exact hardware you are using).
Principal Engineer, Xilinx UK











