Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/04/02 15:26
Read: times


 
#19395 - Which serial transmission method is good
Hi,
I have programmed 89C52 to communicate with PC through standard comm port. As i have work on it. I found that there are 2 methods by which transmission can be controlled.

1, In Main program sequence, Send character and wait until it is transmitted and then send next, without using interrupts.

2, Allocate some memory as buffer for Tx and Rx data. Enable interrupt and when interrupt happens save it to buffer. But work overhead is high.

I want to know if there is another way to control Fast and efficient transmission. Any Examples/Links of good programming of 89C52 comm control will be helpful.
Also I want to know that which of above method is best.
In method 2 how much memory should be allocated for Tx and Rx buffer.

List of 13 messages in thread
TopicAuthorDate
Which serial transmission method is good            01/01/70 00:00      
RE: Which serial transmission method is good            01/01/70 00:00      
RE: Which serial transmission method is good            01/01/70 00:00      
RE: Which serial transmission method is good            01/01/70 00:00      
RE: Which serial transmission method is good            01/01/70 00:00      
RE: interrupt driven            01/01/70 00:00      
RE: Which serial transmission method is good            01/01/70 00:00      
RE: Which serial transmission method is good            01/01/70 00:00      
RE: Which serial transmission method is good            01/01/70 00:00      
RE: Which serial transmission method is good            01/01/70 00:00      
RE: Which serial transmission method is good            01/01/70 00:00      
RE: Which serial transmission method is good            01/01/70 00:00      
RE: Which serial transmission method is good            01/01/70 00:00      

Back to Subject List