Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Yep, with a 'scope, measure the period of the shortest high or low time - that will generally be your bit time. Bit rate = 1/(bit time)
Do you have any control over what is been sent? If not, then you'll have to capture a character (generally after an idle period), and given enough attempts, you should be able to work out the parity. There are generally 1 or more stop bits and can be worked out if you can capture 2 contiguous characters.
The easiest way would be to send capital letter U's from the sending terminal, if you have the UART set to 8n1 you'll get the bit pattern 1010101010 on the UART TX pin, makes it very easy to see on a scope, keep in mind RS232 is active LOW.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.