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.

Making a second serial port on the microcontroller

Status
Not open for further replies.

h0x00i

Newbie level 3
Newbie level 3
Joined
May 26, 2012
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Abhar, Iran
Visit site
Activity points
1,296
How to create a serial port using timer?

I do this with the help of micro controller ATmega32

Somebody who can help me?
 

If you want another Timer other than the hardware one, that usually comes built-in in microcontrollers then you can use software timers- a technique also called bit-banging. In this technique you can just shift your data( stored in any variable) left or right so that it can be escaped out from a desired pin-out of the microcontroller in LSB first or MSB first orders.
This a pretty neat technique especially when done in an interrupt driven manner and will have lesser glitches.
 
  • Like
Reactions: h0x00i

    h0x00i

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top