Using Hyper Terminal to send& capture data

S

Smith

Guest
Hi all
Thanks advance for the help given to me. Hopefully you all can help me
in the trouble I face which I had tried many times, but still fail.

I am using the Hyper Terminal to send and capture the data to the UART
module. The UART module has been downloaded to the Xilinx Spartan 3
FPGA, and the DB9 connector on the Spartan 3 prototyping board is
connected to the DB9 connector in the computer.

I tried to feed the module with the data of 01010101 by typing it on
the screen of the Hyper Terminal program. However, it doesnot show
anything on the screen. Is that the way I did to feed the data to the
UART module wrong? Can someone tell me the right way to feed the UART
with data by using the Hyper Terminal? How about the way to capture the
data comes from the UART module?Can it be the process of sending and
receiving the data going on simultaneously?

Besides, am i need to tune the freqeuncy on the Spartan 3 prototyping
board to match the frequecy of the clock signal used for the UART
module?

Thanks advance

Best regards,
Smith
 
Smith wrote:
Hi all
Thanks advance for the help given to me. Hopefully you all can help me
in the trouble I face which I had tried many times, but still fail.

I am using the Hyper Terminal to send and capture the data to the UART
module. The UART module has been downloaded to the Xilinx Spartan 3
FPGA, and the DB9 connector on the Spartan 3 prototyping board is
connected to the DB9 connector in the computer.

I tried to feed the module with the data of 01010101 by typing it on
the screen of the Hyper Terminal program. However, it doesnot show
anything on the screen. Is that the way I did to feed the data to the
UART module wrong? Can someone tell me the right way to feed the UART
with data by using the Hyper Terminal? How about the way to capture the
data comes from the UART module?Can it be the process of sending and
receiving the data going on simultaneously?
RX and TX happen simultaneously. Try making sure you have a loopback
echo in your FPGA (i.e. as soon as a character is received by your RX
portion of the UART, put it into the TX queue to be transmitted back).
If you have the loopback in, then you'll know when you are communicating.

Depending on what you used for your UART, you ought to know what baud
rate it supports, and internal to the UART you are probably creating a
baud clock from the main clock source with a divider. So you should
know what baud rate to set your terminal to.

Hope this helps.

Mark Norton

--
==============================
Mark Norton <markn@cdvinc.com>
Concept Development, Inc.
Irvine, CA, USA
 
Hi Smith,

If the Hyper terminal you are talking about is the one of the Windows
XP, actually what all u are typing is being sent on the serial port
definetely, what u type wont be seen on the hyper terminal screen, only
the data received from the serial port wud be visible, also do check
that you had made correct settings for the Baud rate and the frame
combination.

regards
bipin
Smith wrote:
Hi all
Thanks advance for the help given to me. Hopefully you all can help me
in the trouble I face which I had tried many times, but still fail.

I am using the Hyper Terminal to send and capture the data to the UART
module. The UART module has been downloaded to the Xilinx Spartan 3
FPGA, and the DB9 connector on the Spartan 3 prototyping board is
connected to the DB9 connector in the computer.

I tried to feed the module with the data of 01010101 by typing it on
the screen of the Hyper Terminal program. However, it doesnot show
anything on the screen. Is that the way I did to feed the data to the
UART module wrong? Can someone tell me the right way to feed the UART
with data by using the Hyper Terminal? How about the way to capture the
data comes from the UART module?Can it be the process of sending and
receiving the data going on simultaneously?

Besides, am i need to tune the freqeuncy on the Spartan 3 prototyping
board to match the frequecy of the clock signal used for the UART
module?

Thanks advance

Best regards,
Smith
 
"Smith" <smith1874@yahoo.com> writes:

Hi all
Thanks advance for the help given to me. Hopefully you all can help me
in the trouble I face which I had tried many times, but still fail.

I am using the Hyper Terminal
I wouldn't do that - I've had Hyperterminal lie to me too many times -
dropped characters and the like. Of course that may be because there
are bugfixes which no-one ever applies to the Windows install :)

Use a proper terminal program (like TeraTerm for example)

I tried to feed the module with the data of 01010101 by typing it on
the screen of the Hyper Terminal program. However, it doesnot show
anything on the screen. Is that the way I did to feed the data to the
UART module wrong? Can someone tell me the right way to feed the UART
with data by using the Hyper Terminal? How about the way to capture the
data comes from the UART module?Can it be the process of sending and
receiving the data going on simultaneously?
Are you typing 10101010 as characters into the hyperterm window?
That'll send 8 bytes of data.

0x55 is a '-' in ASCII, so that's the char you need.

Apologies if I've misinterpreted what yo're doing!

Anyway, Hyperterminal won't show you what it sends unless you
configure it to. What is the FPGA doing with this data at the other
end? Should it be sending it back again?

Besides, am i need to tune the freqeuncy on the Spartan 3 prototyping
board to match the frequecy of the clock signal used for the UART
module?
You need to make sure the baud rate divider is setup correctly.
Cheers,
Martin

--
martin.j.thompson@trw.com
TRW Conekt - Consultancy in Engineering, Knowledge and Technology
http://www.trw.com/conekt
 

Welcome to EDABoard.com

Sponsor

Back
Top