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.

baudrate Vs. sample frequence

Status
Not open for further replies.

ubuntu_amateur

Member level 4
Joined
Sep 24, 2006
Messages
71
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,665
If the serial port is used to detect and sample a 2KHz signal,
how many baudrate should be set?
why the serial port catch no data?
 

Please explain with more detail what you are attempting to do.

The standard RS-232 serial port on a PC computer cannot sample the receive-data input at a steady rate. Remember that the UART waits for a start bit and then samples several data bits, then it waits for another start bit, ...
 

the signal is square wave, it is not at steady frequence.
you can regard it as a demoludated signal from FSK.

Are you sure that it can't receive any data?
 

You will get data, but it won't be very useful. The UART stops sampling after each received data byte, and then waits for the next start bit. The UART doesn't tell you how long it waited. You will get 8 uniform samples, unknown delay, 8 uniform samples, unknown delay, etc. Those unknown delays will cause trouble when you try to estimate the signal frequency.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top