×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Double Buffering

Double Buffering

Double Buffering

(OP)
Hi,

Could someone please tell why do you need to "Double Buffer"? Can't 1 D-type shift register be good enough?

Thanks in advance
Replies continue below

Recommended for you

RE: Double Buffering

For what application?

RE: Double Buffering

(OP)
Hi,

Asynchronous Bit-Serial Intefacing(Data transmission).

RE: Double Buffering

Double buffering allows you to read or write data to the parallel access side while data is being shifted in or out of the shift register. Without it, you would have to read or write syncronous with the shift clock.

RE: Double Buffering

(OP)
Thanks to you both:

But I'm still unclear on the whole picture.
I mean, is this used in all asynchronous data transmission systems?

Sorry about my lack of understanding.

RE: Double Buffering

No, but it makes things a lot easier when it is.

You can design a serial interface chip without it, but it means that the program has to monitor the transmit buffer empty flag almost continuously, not leaving much time for any other processing.

Double buffering enables the transmit buffer to be reloaded automatically reducing the load on the micro by transferring data from the transmit input buffer to the transmit buffer when the transmit buffer empties (last bit shifted out).

This gives the micro a whole character transmission period to reload the input buffer, which is a lot less critical.

The technique is used in other applications (like A2D and D2A) but the serial case is easiest to understand.

RE: Double Buffering

(OP)
Thanks Zeitghost, this makes me a lot clearer.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close