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
Could someone please tell why do you need to "Double Buffer"? Can't 1 D-type shift register be good enough?
Thanks in advance
RE: Double Buffering
RE: Double Buffering
Asynchronous Bit-Serial Intefacing(Data transmission).
RE: Double Buffering
RE: Double Buffering
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
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