[SOLVED] Pin state on Tx/Rx pin while USART communication

Status
Not open for further replies.

sgreen

Junior Member level 3
Joined
Nov 15, 2012
Messages
31
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Visit site
Activity points
1,481
In case of serial communication(using ATmega32A) first I have to initialize USART and do code for serial Tx/Rx. In hardware,is Tx/Rx pin always in 5V or logic1?
 

In case of serial communication(using ATmega32A) first I have to initialize USART and do code for serial Tx/Rx. In hardware,is Tx/Rx pin always in 5V or logic1?
When we talking about a TTL level USART, then yes, the idle state of both (Rx and Tx) pins is high as usual; a MAX232 (if any) will be inverted them.
 

When we talking about a TTL level USART, then yes, the idle state of both (Rx and Tx) pins is high as usual; a MAX232 (if any) will be inverted them.

My system sends data through USART every 10ms. And my Tx pin is always 5.07V. Is it possible? It will be better for me if you provide me article/link which shows transmission characteristics of usart Tx/ RX pin.
 

If you send 10011000 then you get data comes out of the Tx pin like first the 0th bit comes out and 7th bit is the last to come out. Whenever logic zero is transmitted the Tx pin is internally grounded.
 
Reactions: sgreen

    sgreen

    Points: 2
    Helpful Answer Positive Rating
If you send 10011000 then you get data comes out of the Tx pin like first the 0th bit comes out and 7th bit is the last to come out. Whenever logic zero is transmitted the Tx pin is internally grounded.

Sending speed is so first that I can't understand. Am I right? And for this reason always Multimetre result is 5V always.
 

Maybe 10ms is fast. You need a Oscilloscope to see the data transmitting. Instead use a led indicator a blink it if transmission is successful or on the receiver side light an led if data is received.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…