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.

[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
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.
 
  • Like
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.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top